How change speed value if device not motion? GT06 protocol.

I have a problem with GT06 protocol.

When my device stopped, I keep getting packets with speed not zero. And so result I have motion = true;

2019-09-15 18:33:27  INFO: [bb57aec0] id: 358899050826661, time: 2019-09-15 16:34:15, lat: 22.47253, lon: 88.39848, speed: 1.6, course: 133.0
2019-09-15 18:33:30  INFO: [bb57aec0] id: 358899050826661, time: 2019-09-15 16:34:15, lat: 22.47253, lon: 88.39848, speed: 1.6, course: 133.0
2019-09-15 18:35:46  INFO: [08de013e: gt06 < xxx.xxx.xxx.xxx] HEX: 78780d010358899050826661061689d50d0a
2019-09-15 18:35:46  INFO: [08de013e] id: 358899050826661, time: 2019-09-15 16:34:15, lat: 22.47253, lon: 88.39848, speed: 1.6, course: 133.0
2019-09-15 18:35:49  INFO: [08de013e] id: 358899050826661, time: 2019-09-15 16:34:15, lat: 22.47253, lon: 88.39848, speed: 1.6, course: 133.0
2019-09-15 18:38:06  INFO: [dc371f9a: gt06 < xxx.xxx.xxx.xxx] HEX: 78780d010358899050826661061971220d0a
2019-09-15 18:38:06  INFO: [dc371f9a] id: 358899050826661, time: 2019-09-15 16:34:15, lat: 22.47253, lon: 88.39848, speed: 1.6, course: 133.0
2019-09-15 18:38:09  INFO: [dc371f9a] id: 358899050826661, time: 2019-09-15 16:34:15, lat: 22.47253, lon: 88.39848, speed: 1.6, course: 133.0
2019-09-15 18:40:25  INFO: [24874b24: gt06 < xxx.xxx.xxx.xxx] HEX: 78780d010358899050826661061c268f0d0a
2019-09-15 18:40:25  INFO: [24874b24] id: 358899050826661, time: 2019-09-15 16:34:15, lat: 22.47253, lon: 88.39848, speed: 1.6, course: 133.0
2019-09-15 18:40:28  INFO: [24874b24] id: 358899050826661, time: 2019-09-15 16:34:15, lat: 22.47253, lon: 88.39848, speed: 1.6, course: 133.0

How I can set speed equal zero, If coordinate not change?

Yang6 years ago

we got the same error here, by using the coordinates.filter. same coordinates, but it has speed.

tracker-server.log.20191128:2019-11-28 23:54:25  INFO: [f7cca162] id: 9170848591, time: 2019-11-28 23:54:24, lat: 59.86629, lon: 10.22069, speed: 0.1, course: 0.0
tracker-server.log.20191128:2019-11-28 23:55:24  INFO: [f7cca162] id: 9170848591, time: 2019-11-28 23:55:23, lat: 59.86629, lon: 10.22069, speed: 0.1, course: 0.0