incorrect average speed using gt06 protocol

I use several models of trackers, but one in particular (gt06 port 5023) is showing very high values of average speed in the reports as below:

Device.........Start Date.......Distance......Odometer Start......Odometer End...........Max. Speed.........Avg. Speed
PUU3889...2021-06-21.....452.0 km.................505.4 km.................957.4 km............131.0 km/h.......5283.1 km/h
PUU3889...2021-06-22....405.2 km..................957.4 km...............1362.6 km............114.0 km/h.......6342.5 km/h

I recently updated version 4.12 to 4.13, but I can't say if it worked correctly before. It is a SEEWORLD S116 Mini (https://www.seeworldgps.com/product/2g-gps-tracker/mini-gps-tracker/). For the other tracker models everything is ok.

some log data from this device:

2021-06-23 17:42:07  INFO: [c442e02c: gt06 < 187.114.91.78] HEX: 78781f12150617142a04cb021cfeca0561efb27438fc02d417580600b1310007dfb20d0a
2021-06-23 17:42:07  INFO: [c442e02c: gt06 > 187.114.91.78] HEX: 787805120007d61b0d0a
2021-06-23 17:42:07  INFO: [c442e02c] id: 359510082767331, time: 2021-06-23 17:42:04, lat: -19.69704, lon: -50.16913, speed: 62.6, course: 252.0
2021-06-23 17:42:08  INFO: [c442e02c: gt06 < 187.114.91.78] HEX: 78781f12150617142308cb021af9e4055f92e35d38f902d417580600b0b1002f3f4a0d0a
2021-06-23 17:42:08  INFO: [c442e02c: gt06 > 187.114.91.78] HEX: 78780512002f7b510d0a
2021-06-23 17:42:08  INFO: [c442e02c] id: 359510082767331, time: 2021-06-23 17:35:08, lat: -19.62352, lon: -50.08311, speed: 50.2, course: 249.0
2021-06-23 17:42:10  INFO: [c442e02c: gt06 < 187.114.91.78] HEX: 78782516150617142922cb021cec140561b1717438fb0902d417580600b13142066408020002d9260d0a
2021-06-23 17:42:10  INFO: [c442e02c: gt06 > 187.114.91.78] HEX: 787805160002e2d70d0a
Anton Tananaev3 years ago

Have you looked at the raw data? Is the speed value wrong?

strange, in the last log of the example, the speed is 50.2. In the interface the status and the speed report is ok 93Km/h. I believe the device sends the information in km/h and the system converts it from another format, but only the calculation of average is wrong. Time, distance and speed is ok.

I received the protocol documentation and I'm providing the link, I found it interesting that the documentation includes the implementation details of the x22 protocol (SETLOCX22). I'm using the old X12(SETLOCX12). But from what I understand, both the speed information sent to the system is Km/h and not knots.

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

I will install an older version of traccar to test if the same problem also occurs and I will communicate the result.

Anton Tananaev3 years ago

Traccar is expecting km/h for this protocol, so that's not a problem.

I did a clean install of v4.13 for testing and everything is ok. On my server I use PostgreSQL and I have been updating the versions that are available for some time. Could it be some problem with the database?

sorry, i thought i solved the problem but no. Partial data looks ok but the summary after a full day reports an absurd average speed. Only for this tracker model. Any tips? I also noticed that the engine hours is also not adding correctly

Anton Tananaev3 years ago

Have you checked route report to see if it's device issue or Traccar issue?

Yes, all data seems to be ok.
I also tested it on another tracking system where it didn't show any problems, so I don't believe it's a problem with the equipment. Remembering once again that the average speed error only happens with this model, every other one I use is ok.

Anton Tananaev3 years ago

OK, do you want to provide both reports?

Of course, I have generated one-day reports of a real vehicle, both on the traccar and on the other system that correctly displays both average speed and engine hours.

https://drive.google.com/drive/folders/1erL8ZYkc3HSZ2vNTqSTcAAqIXUSOuU5a?usp=sharing

Anton Tananaev3 years ago

From your report I see that the vehicle moved 281.0 km with 5 minutes engine hours. It adds up to more than 3000 km/h. Am I missing something? It seems to me that not all the data is ok.