the time appears wrong in protrack brand device with gt06 protocol

leonairo chantre3 years ago

Hello, good day, I have a generic protrack device model VT08S AND VT03C, these devices use the GT06 protocol for some reason, despite setting the time correctly on the device, it shows hours of difference, I have tried several things to make it work correctly but not It has been possible.

this is the plot

2021-08-09 13:15:44  INFO: [c438ba23: gt06 < 179.18.50.83] HEX: 78781101035571009987445000001f4a00191d8b0d0a
2021-08-09 13:15:45  INFO: [c438ba23] id: 355710099875556, time: 2021-08-09 18:00:06, lat: 8.45882, lon: -69.54988, course: 260.0

My time zone is -5, example

This plot shows the time at 1:00 p.m. but in reality it must be 8:00 a.m.

as explained, the gps already has the time set correctly

Anton Tananaev3 years ago

What do you mean by GPS has correct time? Traccar expects UTC time zone by default. Is that what your device is reporting?

leonairo chantre3 years ago

Hi Anton, how are you? If the device was set the time of my country (GMT-5), we do that with the rest of the equipment of other protocols, but with the gt06 model the device takes a different time I was informed in a forum that you have to add an instruction to the protocol that is this so that those devices do not take the utc time if not the server, is it a good idea?

<entry key='gt06.enable'>true</entry>
    <entry key='gt06.timezone'>-18000</entry>
    <entry key='gt06.alternative'> true </entry>
   <entry key='time.override'>serverTime</entry>
  <entry key='time.protocols'>gt06</entry>
Anton Tananaev3 years ago

We always recommend to set UTC time on devices, but what you did should also work, assuming everything is set correctly.

Anton Tananaev3 years ago

By the way, why are you overriding time?

leonairo chantre3 years ago

As Anton told you, these teams have a protocol document. we have evaluated with everything that is in the forums but they all say the same thing.
when you mean void time?

this is the protocol document
https://we.tl/t-0SZpdU6yLh

this is device vt08c
https://fccid.io/2AM5T-VT08S/Users-Manual/User-manual-3537149

this is device vt03c

https://fccid.io/2AM5T-VT03C/Users-Manual/User-Manual-4931703