It will affect motion attribute. It won't zero the speed value.
Thanks for your prompt reply.
I think to set the speed value to zero when the last reported position and current position are the same. For example:-
PreviousLatitude == currentLatitude && previousLongitude == currentLongitude ==> set speed to zero
if it's ok, I can open a PR to implement this.
Not sure about it. What problem are you trying to solve?
Some devices report the speed greater than zero even if they are still or some time devices hanged when they are still. By doing this speed will automatically become zero. No need of speedThresold check.
Sounds like a device issue to me. Just zeroing speed value for all devices is not a good solution.
Hi Anton,
I have set a value for event.motion.speedThreshold in properties file. Will it make speed zero below speedThresold value or set the motion attribute to false?