Error in Time

christian8 years ago

I use traccar 3.11 in Linux (ubuntu 14.04), i have configured a tk103B in port 5023 (works), but looks the times, always late:
time

christian8 years ago

Timezone are correct in both sides (server and device)

christian8 years ago

in Postgres i notice:

id;prtocol;deviceid;servertime;devicetime;fixtime;valid
1;"gt06";1;"2017-05-12 12:26:22.469";"2017-05-12 12:26:22.458";"1969-12-31 19:00:00";f
2;"gt06";1;"2017-05-12 12:29:22.68";"2017-05-12 12:29:22.667";"1969-12-31 19:00:00";f
3;"gt06";1;"2017-05-12 12:32:22.904";"2017-05-12 12:32:22.896";"1969-12-31 19:00:00";f
4;"gt06";1;"2017-05-12 12:35:23.088";"2017-05-12 12:35:23.065";"1969-12-31 19:00:00";f
5;"gt06";1;"2017-05-12 12:38:23.304";"2017-05-12 12:38:23.296";"1969-12-31 19:00:00";f
  • "fixtime" is incorect,
  • "valid" always is FALSE
christian8 years ago

in log;

2017-05-12 12:35:23  INFO: [5958EA73] id: 1, time: 1969-12-31 19:00:00, lat: 0.00000, lon: 0.00000, speed: 0.0, course: 0.0
2017-05-12 12:38:23 DEBUG: [5958EA73: 5023 < 179.7.42.21] HEX: 78780a134006640001003c76130d0a
2017-05-12 12:38:23 DEBUG: [5958EA73: 5023 > 179.7.42.21] HEX: 78780513003c03970d0a
2017-05-12 12:38:23  INFO: [5958EA73] id: 1, time: 1969-12-31 19:00:00, lat: 0.00000, lon: 0.00000, speed: 0.0, course: 0.0
2017-05-12 12:41:23 DEBUG: [5958EA73: 5023 < 179.7.42.21] HEX: 78780a134006640001003d679a0d0a
2017-05-12 12:41:23 DEBUG: [5958EA73: 5023 > 179.7.42.21] HEX: 78780513003d121e0d0a
2017-05-12 12:41:23  INFO: [5958EA73] id: 1, time: 1969-12-31 19:00:00, lat: 0.00000, lon: 0.00000, speed: 0.0, course: 0.0
2017-05-12 12:44:23 DEBUG: [5958EA73: 5023 < 179.7.42.21] HEX: 78780a134006640001003e55010d0a
2017-05-12 12:44:23 DEBUG: [5958EA73: 5023 > 179.7.42.21] HEX: 78780513003e20850d0a
2017-05-12 12:44:23  INFO: [5958EA73] id: 1, time: 1969-12-31 19:00:00, lat: 0.00000, lon: 0.00000, speed: 0.0, course: 0.0
christian8 years ago

why my fixtime is always the same?

10;"gt06";1;"2017-05-12 12:53:03.379";"2017-05-12 12:57:22.000";"2017-05-12 12:57:22"
11;"gt06";1;"2017-05-12 12:53:24.509";"2017-05-12 12:53:24.466";"2017-05-12 12:57:22"
12;"gt06";1;"2017-05-12 12:56:24.756";"2017-05-12 12:56:24.675";"2017-05-12 12:57:22"
13;"gt06";1;"2017-05-12 12:59:24.960";"2017-05-12 12:59:24.887";"2017-05-12 12:57:22"
14;"gt06";1;"2017-05-12 13:06:47.518";"2017-05-12 13:06:47.456";"2017-05-12 12:57:22"
15;"gt06";1;"2017-05-12 13:09:47.728";"2017-05-12 13:09:47.645";"2017-05-12 12:57:22"
Anton Tananaev8 years ago

Why did you create two topics with the same question? Please don't spam everywhere with your question. One topic is enough:

https://www.traccar.org/forums/topic/fixtime-always-is-the-same/