Device stopped event duration

sulfy 4 years ago

Device not moving for how long is considered as DEVICE STOPPED event ? Where can I modify the duration for this event to trigger ?

Thank you for your kind support

Anton Tananaev 4 years ago

Check trips documentation. It uses the same configuration.

Aakansha 4 years ago

Hii Anton
report.trip.minimalNoDataDuration - Gaps in reported positions longer than the value are considered as stops. Default 3600 seconds.
if I set it to 7200 then the device stopping for more than this time will be considered stopped ...!!
I need to know if the device stops for more than 2 hours then notify ...

Anton Tananaev 4 years ago

That's not what this parameter is for. It's only used for reports.

Aakansha 4 years ago

Oh .. Yeah I missed that report part in the sentence..
So What if the device stops for more than 2 hr /1 hr how do I notify the device.
I tried Device Inactive but it's only possible when the device doesn't send any data for the mentioned period.
What would be a feasible solution to get notified if the device stops for more than 1 hour !!!!
Any Hints ...
Thanks

Anton Tananaev 4 years ago

There's no such option out of the box, so you would have to implement it in the code.

Aakansha 4 years ago

okay, Thanks
So Device Inactive works if the device hasn't sent any data for the mentioned period even though it was online! online is counted too.