tried to delete motion attribute this way:
https://github.com/traccar/traccar/issues/3591
but i think it is only available for number and string values, not boolean (motion)
Sorry.. just debugged from hex decoder, and looks like motion is not reported by device..
But how to solve that last recorded position have motion=true, even after device is offline and no more data is received
I don't see any way to solve it. If device doesn't report any data, there is nothing you can do on the server side.
Thanks.
Just wanted to know, can I force device to stopped, after minimalNoDataDuration passed, even if last reported position is with motion=true, like described in last example of https://www.traccar.org/documentation/trips-stops/ ?
It work OK if device have enough time to report last position with motion=false, but if device is powered off before that, it never goes to stopped status.
I know this is not very good idea, because device may be offline(no reception) but still moving (if last reported position is with speed > event.motion.speedThreshold and motion=true), just asked is there way to describe every offline(last known position) as stop with config parameter.
Thanks again, I will try to change device with battery powered one ;)
You've done great job with traccar, thank you
At the moment it's not possible.
Hello, i have device(tk103 protocol) that is reporting motion attribute.
I readed https://www.traccar.org/documentation/trips-stops/
Have this in config:
<entry key='status.updateDeviceState'>true</entry> <entry key='report.trip.minimalNoDataDuration'>600</entry>
Problem is device is not battery powered, and minimum report time is 10sec, sometimes device goes offline before it switch motion to false.
So last reported position have motion=true attribute and server does not report "Device stopped" event.
Even after report.trip.minimalNoDataDuration has passed.
Is there any way I ignore motion attribute reported from device so the virtual motion logic from manual can be used?
I tried to commute motion attribute to in2 attribute which is always 0, but that way there is no event "Device moving" even if speed is > than event.motion.speedThreshold.
Thanks in advance.