Can you please provide HEX message from device, time you expect to see and the actual result.
2015-05-11 09:00:22 DEBUG: [5023 -> 1.47.8.25] - HEX: 7878052202b6c7070d0a
2015-05-11 09:00:22 INFO: device: 1, time: Mon May 11 01:59:04 ICT 2015, lat: 13.905214444444445, lon: 100.525777777777782015-05-11 09:00:42 DEBUG: [5023 <- 1.47.8.25] - HEX: 787822220f050b013b18ca017deeb40ac8f0f0295512020812373900087200000002b742680d0a
2015-05-11 09:00:42 DEBUG: [5023 -> 1.47.8.25] - HEX: 7878052202b7d68e0d0a
2015-05-11 09:00:42 INFO: device: 1, time: Mon May 11 01:59:24 ICT 2015, lat: 13.905735555555555, lon: 100.52282015-05-11 09:01:02 DEBUG: [5023 <- 1.47.8.25] - HEX: 787822220f050b013b2cc9017df0100ac8e220285513020812373900087300000002b8fd0f0d0a
2015-05-11 09:01:02 DEBUG: [5023 -> 1.47.8.25] - HEX: 7878052202b82e790d0a
2015-05-11 09:01:02 INFO: device: 1, time: Mon May 11 01:59:44 ICT 2015, lat: 13.905928888888889, lon: 100.520693333333332015-05-11 09:01:22 DEBUG: [5023 <- 1.47.8.25] - HEX: 787822220f050b020004ca017df1ca0ac8d7a0075425020812373900087300000002b9ef8a0d0a
2015-05-11 09:01:22 DEBUG: [5023 -> 1.47.8.25] - HEX: 7878052202b93ff00d0a
2015-05-11 09:01:22 INFO: device: 1, time: Mon May 11 02:00:04 ICT 2015, lat: 13.906174444444444, lon: 100.51922015-05-11 09:01:29 DEBUG: [5023 <- 1.47.8.25] - HEX: 787822220f050b02000bca017df1a60ac8dad0235443020812373900087300020002ba81970d0a
2015-05-11 09:01:29 DEBUG: [5023 -> 1.47.8.25] - HEX: 7878052202ba0d6b0d0a
2015-05-11 09:01:29 INFO: device: 1, time: Mon May 11 02:00:11 ICT 2015, lat: 13.906154444444445, lon: 100.519653333333342015-05-11 09:01:49 DEBUG: [5023 <- 1.47.8.25] - HEX: 787822220f050b02001fc9017deff20ac8ee703a545f020812373900087300000002bb7e4a0d0a
2015-05-11 09:01:49 DEBUG: [5023 -> 1.47.8.25] - HEX: 7878052202bb1ce20d0a
2015-05-11 09:01:49 INFO: device: 1, time: Mon May 11 02:00:31 ICT 2015, lat: 13.905912222222222, lon: 100.522444444444452015-05-11 09:02:09 DEBUG: [5023 <- 1.47.8.25] - HEX: 787822220f050b020033c9017ded900ac902002c5466020812373900087300000002bc3d9a0d0a
2015-05-11 09:02:09 DEBUG: [5023 -> 1.47.8.25] - HEX: 7878052202bc685d0d0a
2015-05-11 09:02:09 INFO: device: 1, time: Mon May 11 02:00:51 ICT 2015, lat: 13.905573333333333, lon: 100.525226666666672015-05-11 09:02:29 DEBUG: [5023 <- 1.47.8.25] - HEX: 787822220f050b02010bc9017de88a0ac9112029546e020812373900087200000002bdf6e60d0a
2015-05-11 09:02:29 DEBUG: [5023 -> 1.47.8.25] - HEX: 7878052202bd79d40d0a
2015-05-11 09:02:29 INFO: device: 1, time: Mon May 11 02:01:11 ICT 2015, lat: 13.904858888888889, lon: 100.527377777777772015-05-11 09:02:49 DEBUG: [5023 <- 1.47.8.25] - HEX: 787822220f050b02011fc9017de4860ac91d40175467020812373900087200000002bec4d90d0a
2015-05-11 09:02:49 DEBUG: [5023 -> 1.47.8.25] - HEX: 7878052202be4b4f0d0a
2015-05-11 09:02:49 INFO: device: 1, time: Mon May 11 02:01:31 ICT 2015, lat: 13.904287777777778, lon: 100.529102222222222015-05-11 09:03:27 DEBUG: [5023 <- 1.47.8.25] - HEX: 787822220f050b020133c9017de2be0ac92590085408020812373900122900000002bfa5960d0a
2015-05-11 09:03:27 DEBUG: [5023 -> 1.47.8.25] - HEX: 7878052202bf5ac60d0a
2015-05-11 09:03:27 INFO: device: 1, time: Mon May 11 02:01:51 ICT 2015, lat: 13.904034444444445, lon: 100.530284444444452015-05-11 09:04:37 DEBUG: [5023 <- 1.47.8.25] - HEX: 787822220f050b020312c9017de37a0ac925e000540c0208123739000b4b00040102c046c90d0a
Here is log betwen 09.00 - 09.03. But on web UI show time between 02.00 - 02.03. Actual time is 09.00-09.03.
Looks like you are not using latest release. Please update Traccar first and see if it fixes the problem.
I've donwload version 2.12 but still work incorrect.
Here is the log.
2015-05-11 11:29:57 INFO: Starting server...
2015-05-11 11:29:57 INFO: Operating System name: Linux version: 3.16.0-25-generic architecture: amd64
2015-05-11 11:29:57 INFO: Java Runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.65-b04
2015-05-11 11:29:57 INFO: Memory Limit heap: 324mb non-heap: 214mb
2015-05-11 11:29:57 INFO: Version: 2.12-SNAPSHOT
2015-05-11 11:30:20 DEBUG: [BA2B9E08: 5023 <- 1.46.205.183] - HEX: 78781101035889905247430420112bc1002e24420d0a
2015-05-11 11:30:21 DEBUG: [BA2B9E08: 5023 -> 1.46.205.183] - HEX: 78780501002e00290d0a
2015-05-11 11:30:22 DEBUG: [BA2B9E08: 5023 <- 1.46.205.183] - HEX: 78780a130406030002002f82720d0a
2015-05-11 11:30:22 DEBUG: [BA2B9E08: 5023 -> 1.46.205.183] - HEX: 78780513002f218d0d0a
2015-05-11 11:33:53 INFO: Shutting down server...
2015-05-11 11:33:53 INFO: Closing connection by disconnect
2015-05-11 11:33:58 INFO: Starting server...
2015-05-11 11:33:58 INFO: Operating System name: Linux version: 3.16.0-25-generic architecture: amd64
2015-05-11 11:33:58 INFO: Java Runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.65-b04
2015-05-11 11:33:58 INFO: Memory Limit heap: 324mb non-heap: 214mb
2015-05-11 11:33:58 INFO: Version: 2.12-SNAPSHOT
2015-05-11 11:35:00 DEBUG: [47E48EEF: 5023 <- 1.46.235.232] - HEX: 78781101035889905247430420112bc10030ddbd0d0a
2015-05-11 11:35:00 DEBUG: [47E48EEF: 5023 -> 1.46.235.232] - HEX: 787805010030f9d60d0a
2015-05-11 11:35:01 DEBUG: [47E48EEF: 5023 <- 1.46.235.232] - HEX: 78780a13040603000200317b8d0d0a
2015-05-11 11:35:01 DEBUG: [47E48EEF: 5023 -> 1.46.235.232] - HEX: 787805130031d8720d0a
2015-05-11 11:41:38 DEBUG: [2C1C8797: 5023 <- 1.47.234.80] - HEX: 78781101035889905247430420112bc10033ef260d0a
2015-05-11 11:41:38 DEBUG: [2C1C8797: 5023 -> 1.47.234.80] - HEX: 787805010033cb4d0d0a
2015-05-11 11:41:38 DEBUG: [2C1C8797: 5023 <- 1.47.234.80] - HEX: 78780a13040603000200342c200d0a
2015-05-11 11:41:38 DEBUG: [2C1C8797: 5023 -> 1.47.234.80] - HEX: 7878051300348fdf0d0a
2015-05-11 11:44:55 DEBUG: [2C1C8797: 5023 <- 1.47.234.80] - HEX: 787822220f050b020312c9017de37a0ac925e000540c0208123739000d460000010035caa50d0a
2015-05-11 11:44:55 DEBUG: [2C1C8797: 5023 -> 1.47.234.80] - HEX: 78780522003542240d0a
2015-05-11 11:44:55 INFO: device: 1, time: Mon May 11 02:03:18 ICT 2015, lat: 13.90413888888889, lon: 100.53032888888889
2015-05-11 11:45:47 DEBUG: [2C1C8797: 5023 <- 1.47.234.80] - HEX: 787822220f050b042c1dc5017de2a80ac926a00054d60208123739000d4600040100365eb80d0a
2015-05-11 11:45:47 DEBUG: [2C1C8797: 5023 -> 1.47.234.80] - HEX: 78780522003670bf0d0a
2015-05-11 11:45:47 INFO: device: 1, time: Mon May 11 04:44:29 ICT 2015, lat: 13.904022222222222, lon: 100.53043555555556
2015-05-11 11:46:38 DEBUG: [2C1C8797: 5023 <- 1.47.234.80] - HEX: 78780a1344060300020037d9bd0d0a
2015-05-11 11:46:38 DEBUG: [2C1C8797: 5023 -> 1.47.234.80] - HEX: 787805130037bd440d0a
Here is configuration file.
<!-- GT06 server configuration -->
<entry key='gt06.enable'>true</entry>
<entry key='gt06.port'>5023</entry>
<entry key='gt06.timezone'>25200</entry>
Looks like your device sends correct UTC time. Try to set gt06.timezone to 0 in the config.
I've changed timezone to 0, It work. Thank you very much.
Hi,
this is my configuration with tracer version 3.1
<entry key='gt06.enable'>true</entry>
<entry key='gt06.port'>5023</entry>
<entry key='gt06.timezone'>-28800</entry>
But my GPS is sending this:
2015-09-11 15:25:01 DEBUG: [A37A7C5E: 5023 < 172.16.199.2] HEX: 78781f120f090b151312c804067dde019ed2240034ac00de0a9c4a006b10000375f40d0a
2015-09-11 15:25:01 DEBUG: [A37A7C5E: 5023 > 172.16.199.2] HEX: 787805120003903f0d0a
2015-09-11 15:25:01 INFO: [A37A7C5E] id: 1, time: Fri Sep 11 23:19:18 CEST 2015, lat: 37.519056666666664, lon: 15.103166666666667, speed: 0.0, course: 172.0
Why? What could I do?
Have you restarted Traccar service after changing the config?
Hi, of course yes. I tried positive and negative values.
I have fixed the problem. You can get a new build from here:
https://www.dropbox.com/s/myt68q5u7fiz49r/tracker-server-jar-with-dependencies.jar?dl=0
How does this timezone feature benefit?
Hi Anton, the provided jar works with a positive offset.
Jamejo, the timezone patch permits to use gt06 and other protocols toghether without messing up time on server.
Tnx
Francesco
@jamejo, some GT06 devices always send local time instead of UTC and do not allow to set up time zone.
Hello everybody,
I still have the problem with my gt06
I downloaded the last September 12, 2015 at 9:39 am
tracker-server-jar-with-dependencies.jar and put it in /lib directory
I modify my configuration as
<entry key=’gt06.timezone’>-28800</entry>
I stopped and start traccar
This is the log since restart :
2015-09-22 23:00:18 INFO: Operating System name: Linux version: 3.2.0-70-generic-pae architecture: i386
2015-09-22 23:00:18 INFO: Java Runtime name: Java HotSpot(TM) Server VM vendor: Oracle Corporation version: 25.51-b03
2015-09-22 23:00:18 INFO: Memory Limit heap: 448mb non-heap: 0mb
2015-09-22 23:00:18 INFO: Version: 3.1-SNAPSHOT
2015-09-22 23:00:19 INFO: Starting server...
2015-09-22 23:01:19 INFO: [3446C793] connected
2015-09-22 23:01:19 DEBUG: [3446C793: 5023 < 114.69.192.120] HEX: 78780d01035889905073331302ecaca30d0a
2015-09-22 23:01:19 DEBUG: [3446C793: 5023 > 114.69.192.120] HEX: 7878050102ecd6870d0a
2015-09-22 23:01:19 DEBUG: [3446C793: 5023 < 114.69.192.120] HEX: 78780a13460601000202edb2e90d0a
2015-09-22 23:01:19 DEBUG: [3446C793: 5023 > 114.69.192.120] HEX: 7878051302edf7230d0a
2015-09-22 23:01:22 DEBUG: [3446C793: 5023 < 114.69.192.120] HEX: 7979005bfd0358899050733313004c00b60bdd2e6e915b5e4f55e9fb16f21fe83a5b56455253494f4e5d47543036445f32305f3630444d325f423235455f5631355f574d5b4255494c445d323031332f31322f32382031353a323402ee6bed0d0a
2015-09-22 23:01:28 DEBUG: [3446C793: 5023 < 114.69.192.120] HEX: 78781f120f0916123931ca0262201c11dd3fc000113c022201001500533f02ef04020d0a
2015-09-22 23:01:28 DEBUG: [3446C793: 5023 > 114.69.192.120] HEX: 7878051202ef8eed0d0a
2015-09-22 23:01:28 INFO: [3446C793] id: 8, time: Wed Sep 23 05:57:49 NCT 2015, lat: -22.21398888888889, lon: 166.50691555555557, speed: 0.0, course: 316.0
2015-09-22 23:04:20 DEBUG: [3446C793: 5023 < 114.69.192.120] HEX: 78780a13460601000202f0798d0d0a
2015-09-22 23:04:20 DEBUG: [3446C793: 5023 > 114.69.192.120] HEX: 7878051302f03c470d0a
2015-09-22 23:07:20 DEBUG: [3446C793: 5023 < 114.69.192.120] HEX: 78780a13460601000202f168040d0a
2015-09-22 23:07:20 DEBUG: [3446C793: 5023 > 114.69.192.120] HEX: 7878051302f12dce0d0a
2015-09-22 23:10:20 DEBUG: [3446C793: 5023 < 114.69.192.120] HEX: 78780a13460601000202f25a9f0d0a
2015-09-22 23:10:20 DEBUG: [3446C793: 5023 > 114.69.192.120] HEX: 7878051302f21f550d0a
2015-09-22 23:13:20 DEBUG: [3446C793: 5023 < 114.69.192.120] HEX: 78780a13460601000202f34b160d0a
2015-09-22 23:13:20 DEBUG: [3446C793: 5023 > 114.69.192.120] HEX: 7878051302f30edc0d0a
Can you help please?
Thanks.
Waca
I want to configure for gt06.timezone to +7hrs(25200 seconds) and here is my configuration file(/opt/traccar/conf/traccar.cfg).
But it not working. What wrong ?
Thanks.