Reportes

DaveGG9 months ago

Hola, no hablo bien Inglés y necesito explicarme para ser comprendido, de ahí que use mi idioma nativo, el Castellano.
En mi traccar web (alojado en un VPS) tengo una pestaña llamada Reportes donde puedo seleccionar que tipo de reporte quiero ver, (ejemplo una ruta, un viaje, una parada etc,) El que a mi me interesa es gráfica, selecciono esta y también dispositivo, fecha etc, entre estas observo una que dice "tipo de gráfica" que se despliega a su vez en numerosas opciones, velocidad, index HDOP, satelites etc. Para mi curiosidad y trabajo/desarrollo me interesa Velocidad. No hay ningún problema en consultar velocidad de mi dispositivo en una fecha selecionada etc, funciona. Mi pregunta es. Estos datos de velocidad, ¿donde entran? ¿entran a la base de datos en tiempo real? aún teniendo un leve retardo de uno o dos segundos-. Es decir, ¿podría obtenerse estos datos según estan entrando a la base de datos? ¿Cual es la ruta donde están entrando?
Uso traccar bajo Ubuntu y MySQL como gestor de DB.
Saludos y gracias.

Track-trace9 months ago

Hi, you could use google translate to post your question in English (bigger change there is a response).
https://www.google.com/search?q=google+translate

But actually the device sends the speed to traccar server, then it is stored in the database.

So you could install for instance phpmyadmin to look into the traccar database.

DaveGG9 months ago

@Track-trace Believe me, google translate is horrorific to use. And I need to be understood.
I don't ask nothing about manage databases like phpmyadmin or others, I ask for the path are use to allow Speed or Altitude, or someone datas are in Graphics.

SHOW FULL TABLES;
+------------------------+------------+
| Tables_in_traccar      | Table_type |
+------------------------+------------+
| DATABASECHANGELOG      | BASE TABLE |
| DATABASECHANGELOGLOCK  | BASE TABLE |
| tc_attributes          | BASE TABLE |
| tc_calendars           | BASE TABLE |
| tc_commands            | BASE TABLE |
| tc_commands_queue      | BASE TABLE |
| tc_device_attribute    | BASE TABLE |
| tc_device_command      | BASE TABLE |
| tc_device_driver       | BASE TABLE |
| tc_device_geofence     | BASE TABLE |
| tc_device_maintenance  | BASE TABLE |
| tc_device_notification | BASE TABLE |
| tc_device_order        | BASE TABLE |
| tc_devices             | BASE TABLE |
| tc_drivers             | BASE TABLE |
| tc_events              | BASE TABLE |
| tc_geofences           | BASE TABLE |
| tc_group_attribute     | BASE TABLE |
| tc_group_command       | BASE TABLE |
| tc_group_driver        | BASE TABLE |
| tc_group_geofence      | BASE TABLE |
| tc_group_maintenance   | BASE TABLE |
| tc_group_notification  | BASE TABLE |
| tc_group_order         | BASE TABLE |
| tc_groups              | BASE TABLE |
| tc_keystore            | BASE TABLE |
| tc_maintenances        | BASE TABLE |
| tc_notifications       | BASE TABLE |
| tc_orders              | BASE TABLE |
| tc_positions           | BASE TABLE |
| tc_servers             | BASE TABLE |
| tc_statistics          | BASE TABLE |
| tc_user_attribute      | BASE TABLE |
| tc_user_calendar       | BASE TABLE |
| tc_user_command        | BASE TABLE |
| tc_user_device         | BASE TABLE |
| tc_user_driver         | BASE TABLE |
| tc_user_geofence       | BASE TABLE |
| tc_user_group          | BASE TABLE |
| tc_user_maintenance    | BASE TABLE |
| tc_user_notification   | BASE TABLE |
| tc_user_order          | BASE TABLE |
| tc_user_user           | BASE TABLE |
| tc_users               | BASE TABLE |
+------------------------+------------+
44 rows in set (0.00 sec)
Track-trace9 months ago

I would say it is stored in tc_positions