MaxSpeed ​​locking gt06 devices

thalyson araujo4 years ago

hello, i have some devices with gt06 protocol that when they are offline and after a certain distance and time online, is filtered by Maxspeed and keeps sending the same position. When I remove Maxspeed from traccar.xml it updates the position of the vehicle.

does anyone have any suggestions how to fix this?

        <entry key='filter.enable'>true</entry> 
<entry key='filter.invalid'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='filter.maxSpeed'>100</entry>
<entry key='filter.accuracy'>40</entry>
<entry key='filter.duplicate'>true</entry>
<entry key='filter.future'>900</entry> 
<entry key='filter.distance'>20</entry>
   <entry key='filter.skipAlarm'>true</entry>
      <entry key='filter.skipAttributes.enable'>true</entry>
  <entry key='filter.skipAttributes'>alarm,ignition</entry>
      <entry key='coordinates.filter'>true</entry> 
  <entry key='coordinates.minError'>60</entry>
      <entry key='coordinates.maxError'>3000</entry>
  <entry key='event.motion.speedThreshold'>5</entry>

https://drive.google.com/file/d/1pt8VI-lOaelo6OndPpoHYoQV0e2r3AH3/view?usp=sharing

thalyson araujo4 years ago

Please, can someone help me?

as soon as I deleted or removed the maxspeed it updates

there was a new crash now in the morning, follow logs

2021-02-17 10:23:00  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 10:23:10  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 10:23:20  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 10:23:30  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 10:23:35  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 10:23:35, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
2021-02-17 10:23:40  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 10:23:50  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 10:24:00  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 10:24:10  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
...
2021-02-17 11:21:59  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 11:22:04  INFO: [5cf152cb] id: 352672101265403, time: 2021-02-17 11:22:04, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
2021-02-17 11:22:09  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 11:22:19  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 11:22:32  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 11:22:39  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 11:22:49  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 11:22:59  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
2021-02-17 11:23:09  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
Anton Tananaev4 years ago

Are you saying that filtering is not working correctly?

thalyson araujo4 years ago

filtering works well on all my vehicles but maxspeed is locking my equipment.
with it, some gt06 that is without GPRS signal and when reconnects, it is only sending the same position. as soon as I take out the maxspeed, it updates.

thalyson araujo4 years ago

just deleting the maxspeed filter and resetting the traccar it updates, but my h02 go to sea ...

Anton Tananaev4 years ago

You should look at the raw data and understand why it gets filtered.

thalyson araujo4 years ago

it is filtered because the vehicle loses signal and when it comes back, it calculates distance and time to get the speed. makes the correct filter, but after that, it locks the device and it just sends the old position

thalyson araujo4 years ago

when I remove the filter it sends the updated positions

Anton Tananaev4 years ago

So, is it working as expected or not? What do you need a help with?

thalyson araujo4 years ago
    Line 997800: 2021-02-17 09:56:24  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 09:56:24, lat: -19.83571, lon: -43.37124, speed: 14.0, course: 267.0
    Line 997801: 2021-02-17 09:56:24  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 09:56:24, lat: -19.83565, lon: -43.37043, speed: 14.6, course: 264.0
    Line 997807: 2021-02-17 09:56:24  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 09:56:24, lat: -19.83568, lon: -43.37209, speed: 16.7, course: 269.0
    Line 997808: 2021-02-17 09:56:24  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 09:56:24, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 997809: 2021-02-17 09:56:24  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 09:56:24, lat: -19.83529, lon: -43.37329, speed: 23.8, course: 279.0
    Line 997824: 2021-02-17 09:56:25  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 999679: 2021-02-17 09:57:22  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1000893: 2021-02-17 09:58:00  INFO: Position filtered by MaxSpeed filters from device: 352672101265403	
    Line 1001631: 2021-02-17 09:58:19  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 09:58:19, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1002819: 2021-02-17 09:58:51  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1004071: 2021-02-17 09:59:29  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1011761: 2021-02-17 10:03:29  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1011763: 2021-02-17 10:03:29  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 10:03:29, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1019635: 2021-02-17 10:07:40  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1021476: 2021-02-17 10:08:31  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 10:08:31, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1021798: 2021-02-17 10:08:40  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1023199: 2021-02-17 10:09:20  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1031657: 2021-02-17 10:13:30  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1031739: 2021-02-17 10:13:33  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 10:13:33, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1041458: 2021-02-17 10:18:34  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 10:18:34, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1041686: 2021-02-17 10:18:40  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1047390: 2021-02-17 10:21:41  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1051148: 2021-02-17 10:23:35  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 10:23:35, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1060607: 2021-02-17 10:28:29  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1060837: 2021-02-17 10:28:36  INFO: [07f9f238] id: 352672101265403, time: 2021-02-17 10:28:36, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1060946: 2021-02-17 10:28:39  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1091519: 2021-02-17 10:45:31  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1091598: 2021-02-17 10:45:34  INFO: [5cf152cb] id: 352672101265403, time: 2021-02-17 10:45:34, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1091685: 2021-02-17 10:45:37  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1093249: 2021-02-17 10:46:28  INFO: [5cf152cb] id: 352672101265403, time: 2021-02-17 10:46:28, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1093333: 2021-02-17 10:46:31  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1112325: 2021-02-17 10:56:44  INFO: [5cf152cb] id: 352672101265403, time: 2021-02-17 10:56:44, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1112491: 2021-02-17 10:56:49  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1121973: 2021-02-17 11:01:45  INFO: [5cf152cb] id: 352672101265403, time: 2021-02-17 11:01:45, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1122131: 2021-02-17 11:01:49  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1122666: 2021-02-17 11:02:03  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1158511: 2021-02-17 11:20:48  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1158869: 2021-02-17 11:20:58  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1160711: 2021-02-17 11:22:04  INFO: [5cf152cb] id: 352672101265403, time: 2021-02-17 11:22:04, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1160870: 2021-02-17 11:22:09  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1198103: 2021-02-17 11:42:27  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1201451: 2021-02-17 11:44:20  INFO: [7bc0d9af] id: 352672101265403, time: 2021-02-17 11:44:20, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1201648: 2021-02-17 11:44:25  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1208763: 2021-02-17 11:48:25  INFO: Position filtered by MaxSpeed filters from device: 352672101265403
    Line 1210605: 2021-02-17 11:49:08  INFO: [34bf5b4c] id: 352672101265403, time: 2021-02-17 11:49:07, lat: -19.83362, lon: -43.37371, speed: 23.8, course: 330.0
    Line 1210766: 2021-02-17 11:49:11  INFO: [34bf5b4c] id: 352672101265403, time: 2021-02-17 11:49:10, lat: -19.80686, lon: -43.76279, speed: 35.6, course: 29.0
    Line 1210828: 2021-02-17 11:49:11  INFO: [34bf5b4c] id: 352672101265403, time: 2021-02-17 11:49:11, lat: -19.80591, lon: -43.76208, speed: 36.2, course: 22.0
    Line 1210999: 2021-02-17 11:49:15  INFO: [34bf5b4c] id: 352672101265403, time: 2021-02-17 11:49:14, lat: -19.80954, lon: -43.76676, speed: 31.9, course: 100.0
    Line 1211114: 2021-02-17 11:49:18  INFO: [34bf5b4c] id: 352672101265403, time: 2021-02-17 11:49:17, lat: -19.80880, lon: -43.76545, speed: 26.5, course: 97.0
    Line 1211220: 2021-02-17 11:49:21  INFO: [34bf5b4c] id: 352672101265403, time: 2021-02-17 11:49:20, lat: -19.80545, lon: -43.76181, speed: 37.8, course: 24.0
thalyson araujo4 years ago

this is the log of one of the device that has a problem

he is sending the updates until 9:58 am he gives you a filtered position

Line 1001631: 2021-02-17 09:58:19 INFO: [07f9f238] id: 352672101265403, hour: 2021- 02-17 09:58:19, lat: -19.83362, lon: -43.37371, speed: 23.8 , course: 330.0

after that he just keeps sending that same position until I delete the maxspeed and he updates the position at 11:49

Line 1210766: 2021-02-17 11:49:11 INFO: [34bf5b4c] id: 352672101265403, time: 2021-02-17 11:49:10, lat: -19,80686, lon: -43,76279, speed : 35.6, course: 29.0

thalyson araujo4 years ago

I have this problem, my devices gt06 are locking the position in the traccar, in another platform they work correctly.
Only come back after I delete the equipment and register again then he sends the correct position.

Slawek4 years ago

did you try increase max speed ?
try

    <entry key='filter.maxSpeed'>500</entry>
thalyson araujo4 years ago

yes, it remains the same ...

it only unlocks when I remove the maxspeed or delete the device

yes, whenever i change something in traccar.xml restart the system

Slawek4 years ago

after changes did you restart service ?