GT06 Hours problem

Hello, first, thank you for this great project, Traccar. I've been having a problem with the GT06 protocol for several months. The problem is calculating hours. Let me explain:

A device reports engine hours of 1 hour and 45 minutes. This was the case from 9:00 a.m. until 4:00 p.m. when I started the vehicle. Suddenly, it went from 1:45 a.m. to 8:53 a.m., in a single position, it increased by more than 7 hours.

Basically, I want to understand:

  1. Whether the "hours" attribute is sent by the device or calculated by Traccar, if Traccar calculates it, does it do so based on the time?
  2. How could it happen that from one position to the next, with a span of just 3 minutes, according to the server time, the server time increased by 7 hours?
  3. From one location to the next, the server time increased from 9:23 AM to 4:23 PM, which is exactly 7 hours, coincidentally the same number of hours the hour counter increased.

The device is configured with GMT, E, 0

These are the positions:

"7786827102"	"gt06"	"78659"	"8/04/2025 4:20:57 p. m."	"8/04/2025 4:20:57 p. m."	"8/04/2025 9:23:15 a. m."	"{""status"":134,""ignition"":true,""charge"":true,""blocked"":true,""batteryLevel"":66,""rssi"":1,""raw"":""78780a138604010002002859b50d0a"",""distance"":0.0,""totalDistance"":8216662.32,""ip"":""190.130.115.57"",""motion"":true,""hours"":13258226000}"	"0"	"null"	
"7786926351"	"gt06"	"78659"	"8/04/2025 4:23:22 p. m."	"8/04/2025 4:23:21 p. m."	"8/04/2025 4:23:21 p. m."	"{""sat"":10,""raw"":""787829a0190408151715ca005cf72d083659a0041d2e02dc65000069840000000009564d960100000029d3ac0d0a"",""distance"":132.67,""totalDistance"":8216794.99,""ip"":""190.130.115.57"",""motion"":true,""ignition"":true,""batteryLevel"":66,""status"":134,""rssi"":1,""hours"":13283432000}"	"0"	"{""radioType"":""gsm"",""considerIp"":false,""cellTowers"":[{""cellId"":6915072,""locationAreaCode"":0,""mobileCountryCode"":732,""mobileNetworkCode"":101}]}"	

I'm sure I must have configured something incorrectly, but I can't figure out what it is. I also want to be clear about exactly where the "hours" attribute is coming from, whether it's sent by the device or calculated by Traccar...

Thanks, any feedback would be greatly appreciated.

I don't speak English so the above was very poorly translated, I apologize for correcting the previous text:

Hi, first, thanks for this great project, Traccar. I've been having issues with the GT06 protocol for several months. The problem is in the hour calculation. Let me explain:

A device reports 104 minutes of engine hours today. This occurred from 12:00 a.m. to 4:00 p.m., when I started the vehicle. Suddenly, it went from 104 minutes to 553 minutes, and in a single position, the hour attribute increased by more than 7 hours.

Basically, I want to understand:

  1. Is the "hours" attribute sent by the device or calculated by Traccar? If Traccar calculates it, how does it calculate it?

  2. How could it happen that from one position to the next, with a span of only 3 minutes, according to the server time, the "hours" attribute increased by 7 hours?

  3. From one position to another, the fixtime increased from 9:23 AM to 4:23 PM, which is exactly 7 hours, coincidentally the same number of hours the hours attribute increased.

The device is set to GMT, E, 0

These are the positions:

"7786827102" "gt06" "78659" "04/08/2025 16:20:57" "04/08/2025 16:20:57" "04/08/2025 09:23:15" "{""estado"":134,""ignición"":verdadero,""carga"":verdadero,""bloqueado"":verdadero,""NivelBatería"":66,""rssi"":1,""sin procesar"":""78780a138604010002002859b50d0a"",""distancia"":0.0,""distanciaTotal"":8216662.32,""ip"":""190.130.115.57"",""movimiento"":verdadero,""horas"":13258226000}" "0" "nulo"
"7786926351" "gt06" "78659" "04/08/2025 16:23:22" "04/08/2025 16:23:21" "04/08/2025 16:23:21" "{""sat"":10,""raw"":""787829a0190408151715ca005cf72d083659a0041d2e02dc65000069840000000009564d960100000029d3ac0d0a"",""distancia"":132.67,""distanciaTotal"":8216794.99,""ip"":""190.130.115.57"",""movimiento"":verdadero,""ignición"":verdadero,""nivelBatería"":66,""estado"":134,""rssi"":1,""horas"":13283432000}" "0" "{""tipoDeRadio"":""gsm"",""considerarIP"":falso,""TorresCelulares"":[{""IDCelular"":6915072,""CódigoDeÁreaDeUbicación"":0,""CódigoDePaísMóvil"":732,""CódigoDeRedMóvil"":101}]}"

I'm sure I must have configured something incorrectly, but I can't figure out what it is.

I also want to clarify where exactly the "hours" attribute comes from—whether it's sent by the device or calculated by Traccar...

Thanks, any feedback would be greatly appreciated.

Added information:

From 9:23 a.m. to 4:00 p.m. the vehicle was off, so I guess I shouldn't have counted those hours... sorry if I'm being silly, I'm just trying to understand.

Anton Tananaev9 days ago

You have two positions with time difference of 7 hours. Both have ignition ON. So engine hours are counted as 7 hours. Seems pretty straightforward to me. Am I missing something?

Hours could be coming directly from device, but I suspect in this case it's calculated on the server based on ignition value.