Does your device stop sending data when you stop? That's probably the issue.
Device wakes up on vibration/shock and stops sending data if there are no vibrations for 5 minutes. In Traccar I can see that device is offline after 5 minutes.
If there are not enough messages after device stopped, you won't get a trip. More info:
I failed to see the problem. After device stops it reports location for couple of minutes with speed close to zero and then goes offline. How can this not be detected as stop? I thought if I enable status.updateDeviceState it will interpret device offline event as stop. Can you tell me which other parameter I have to change to make it work?
You need to look at the data and analyse it according to the documentation.
I have recently started using Traccar and bought TK104 device. When I try to see trips from today last one is always missing. It will not show until I go on the next one. This is what I added to traccar.xml
<entry key='report.trip.minimalNoDataDuration'>300</entry> <entry key='report.ignoreOdometer'>false</entry> <entry key='status.updateDeviceState'>true</entry>
Can someone help me understand what else I need to do for Traccar to figure out that trip has ended?
Thanks