JV2000 (GT06) time differences

Leomar7 years ago

Hello,

I've been searching the related issues here in the forum and made some testing but not able to make it correct.
I'm now using traccar version 3.14.

2017-09-13 10:40:54 DEBUG: [C57337C7: 5023 < 78.95.212.6] HEX: 7878222211090d072831c702a7b24c050061d000141701a4010132002d390003000034d3120d0a
2017-09-13 10:40:54 DEBUG: [C57337C7: 5023 > 78.95.212.6] HEX: 78780522000a8b500d0a
2017-09-13 10:40:54  INFO: [C57337C7] id: 862304021722254, time: 2017-09-13 07:40:49, lat: 24.74699, lon: 46.61729, speed: 0.0, course: 23.0

My time is GMT +3 and always getting GMT 0 from the device.
I tried to set my device to auto which I get the correct time from SMS command but still not correct from the log file.
Also, I tried to set the device to GMT0 but still the same output.

upon reading the previous post here and I tried it by adding the <entry key='gt06.timezone'>10800</entry> in default.xml under conf directory but still the same output i'm getting.

I also tried to change the tracker-server.jar from the post #881 but not working as well.
Also tried to change the timezone in server settings to Etc/GMT+3 and still same output.

Appreciated your help.
Thanks.

Anton Tananaev7 years ago

If your device reports GMT+0, then it should work fine. If your device doesn't report GMT+0, then gt06.timezone parameter should help. If nothing affects the output you are doing something wrong.

Leomar7 years ago

Hi Anton, yes I setup the device to GMT+0 thru SMS command and returned OK and confirmed with param# and the return is "TimeZone:E,0,0".
I also moved the gt06.timezone in traccar.xml and restarted the service of traccar (I also did restarted the computer) but still the device time is behind 3 hours from my location.

Leomar7 years ago

This version 3.14 was upgraded from 3.4
I have 2 JV200 installed in traccar and the same issue.

Anton Tananaev7 years ago

You have to either set GMT+0 on device, or timezone in the config. Never set both.

Leomar7 years ago

yes, one device is GMT+0 and the other one is GMT+3 and both return the same time.

2017-09-13 13:19:55 DEBUG: [18319FEF: 5023 < 95.184.32.223] HEX: 7878222211090d0a1336c302a6052c0504b8000804e601a401019000412100030002c71e090d0a
2017-09-13 13:19:55 DEBUG: [18319FEF: 5023 > 95.184.32.223] HEX: 78780522004712b10d0a
2017-09-13 13:19:55  INFO: [18319FEF] id: 351777090004076, time: 2017-09-13 10:19:54, lat: 24.68596, lon: 46.77518, speed: 4.3, course: 230.0
2017-09-13 13:20:16 DEBUG: [18319FEF: 5023 < 95.184.32.223] HEX: 78783b2811090d0a140f01a40101900041212301900068e61c01900068e71401900041201001900044540f0190003c9909019000ceff07ff000202c9e5800d0a
2017-09-13 13:20:16 DEBUG: [18319FEF: 5023 > 95.184.32.223] HEX: 787805280048993c0d0a
2017-09-13 13:21:20 DEBUG: [B0C2578A: 5023 < 151.254.81.51] HEX: 78780a1346060400020015dcca0d0a
2017-09-13 13:21:20 DEBUG: [B0C2578A: 5023 > 151.254.81.51] HEX: 78780513000e11060d0a
2017-09-13 13:21:20  INFO: [B0C2578A] id: 862304021722254, time: 2017-09-13 10:12:05, lat: 24.74720, lon: 46.61633, speed: 0.0, course: 207.0
Anton Tananaev7 years ago

Your second device doesn't send any time, so Traccar uses last known.

Leomar7 years ago

yes, because it was static.
here is the latest for both 2 devices.

2017-09-13 14:01:25 DEBUG: [B0C2578A: 5023 > 151.254.81.51] HEX: 78780522001cfee70d0a
2017-09-13 14:01:25  INFO: [B0C2578A] id: 862304021722254, time: 2017-09-13 11:01:25, lat: 24.74711, lon: 46.61636, speed: 0.0, course: 328.0
2017-09-13 14:01:28 DEBUG: [18319FEF: 5023 < 95.184.32.223] HEX: 7878222211090d0b011acc02a6427c050372682b150201a40101ca003f940100000335290a0d0a
2017-09-13 14:01:28 DEBUG: [18319FEF: 5023 > 95.184.32.223] HEX: 7878052200b2b2930d0a
2017-09-13 14:01:29  INFO: [18319FEF] id: 351777090004076, time: 2017-09-13 11:01:26, lat: 24.69468, lon: 46.72888, speed: 23.2, course: 258.0
Anton Tananaev7 years ago

Device seems to send correct GMT+0 time, but then it means that your server time is wrong. Did you fiddle with server time? Probably you misconfigured something.

Leomar7 years ago

yes, changed it to etc/GMT+3 in server settings only

Leomar7 years ago

by the way, I also install traccar client in my phone and the time is correct.
only those 2 JV200 device.

Anton Tananaev7 years ago

I would recommend you to reset everything. If your device sends GMT+0, then everything should work without any configuration whatsoever. It looks like instead of solving the problem you broke something with your configuration.

Leomar7 years ago

I un-installed and deleted everything.
And re-install from scratch.
They are all perfectly working now.
First I manually changed the timezone to GMT+3 (not auto) and added the device to traccar.
Done..
Thank you very much Anton.
God Bless.

In a log file, I got this message. Why?

2018-08-07 16:29:48  WARN: Config parameter gt06.timezone is deprecated