4.1 Device moving -> Device stopped - notification is 60 minutes delayed

Lukas Z.6 years ago

"Device moving" (email) notification is sent immediately when trip starts but "Device stopped" is sent 60 minutes later after the trip ends (after the second position on the same place is sent by device). I have no idea why
Runnig 4.1 on Linux.

Anton Tananaev6 years ago

Check documentation.

Lukas Z.6 years ago

Sorry, I searched problem in notifications.

 <entry key='report.trip.minimalTripDuration'>60</entry>
 <entry key='report.trip.minimalTripDistance'>250</entry>
 <entry key='report.trip.minimalParkingDuration'>180</entry>
 <entry key='report.trip.minimalNoDataDuration'>300</entry>
 <entry key='report.trip.useIgnition'>true</entry>

Motion detection became more complex, now it is virtual device state. Traccar analyzes positions flow and switch motion state according to configuration. Traccar switches state from "stopped" to "moving" if device is reporting "motion = true" more than minimalTripDuration seconds or tripped distance more than minimalTripDistance meters. Traccar switches state from "moving" to "stopped" if device is reporting "motion = false" more than minimalParkingDuration seconds or useIgnition enabled and ignition is OFF. Only continuous periods can switch the state, any fluctuations reset detection.

br04 months ago

What was the problem i also get the message stop after an hour? The tracker actually sends the end of the trip and disconnected