Server time and device time mismatch

Fareed Qureshia year ago

Hi,
I have many devices of ATS100 which I recently shifted to traccar, but after shifting I observed there is huge difference between server time and device time. Device is sending time in UTC and same is set on server. Please find below logs in which traccar showing that device has send time 2023-04-11 on 2023-04-15 when I shift it back my old system it is showing correct time of today. Any idea why I am facing this issue.

2023-04-15 01:31:27  INFO: [Tf7ea39a4] id: 868805066035869, time: 2023-04-11 06:57:25, lat: 31.47457, lon: 74.45766, course: 43.0
2023-04-15 01:32:02  INFO: [Td2b690f3: gt06 < x.x.x.x] 78781101086880506603586920031f42030807e90d0a
2023-04-15 01:32:03  INFO: [Td2b690f3: gt06 < x.x.x.x] 79790020940a086880506603586904100407995660868992042402221306283f0309f4c20d0a
2023-04-15 01:32:03  INFO: [Td2b690f3] id: 868805066035869, time: 2023-04-11 06:57:25, lat: 31.47457, lon: 74.45766, course: 43.0
Anton Tananaeva year ago

Have you checked your samples against the protocol documentation to verify what the device is sending? If not, that's probably a good first step.

Fareed Qureshia year ago

I have checked through SMS command, I keep getting same sample logs eventhough device is stopped and sending speed 0.

Data from SMS command

Speed:0 km/h;Mileage:25658 km
Time:2023-04-20 19:39:42
http://maps.google.com/maps?q=N24.99423,E067.06288 

Data from traccar logs

2023-04-21 00:42:45  INFO: [Te2251974: gt06 < x.x.x.x] 787811010862207128005563200300020124e94d0d0a
2023-04-21 00:42:46  INFO: [Te2251974: gt06 < x.x.x.x] 79790020940a086220712800556304100408798899288992042606225892243f0125882b0d0a
2023-04-21 00:42:46  INFO: [Te2251974] id: 862207128005563, time: 2023-04-12 16:54:31, lat: 24.94873, lon: 67.05267, speed: 24.3, course: 42.0

Even location is wrong.

Anton Tananaeva year ago

In your log sample I only see messages that don't have a location, so Traccar is using the last known location. That's expected behavior.

Fareed Qureshia year ago

Thank you, but can you confirm what could be the issue and is there any parameter which can be set for these devices.

Anton Tananaeva year ago

No, I can only confirm that it's not a server issue.

Fareed Qureshia year ago

Thanks for your support, it seems some issue in devices. I want to check firmmware of this device ATS100, but unable to find sms command for this, if anyone know please let me know so I can check.