Incorrect datetime value-4g Watch Issue

Kalaria3 years ago

Hi i Have Smart Watch Which Working On traccar Watch Protocol When We Connect we get the data from watch But Time stamp And Lat Long Can Not Get

2022-02-10 07:16:48  INFO: [4d2f6db2: watch < 106.206.53.172] HEX: 5b33472a333030343534313235302a303030392a4c4b2c302c302c38375d
2022-02-10 07:16:48  INFO: [4d2f6db2: watch > 106.206.53.172] HEX: 5b33472a333030343534313235302a303030322a4c4b5d
2022-02-10 07:16:48  WARN: Failed to store position - Data truncation: Incorrect datetime value: '1970-01-01 00:00:00.0' for column 'fixtime' at row 1 - MysqlDataTruncation (... < QueryBuilder:480 < DataManager:458 < DefaultDataHandler:40 < ...)
2022-02-10 07:16:48  INFO: [4d2f6db2] id: 3004541250, time: 1970-01-01 00:00:00, lat: 0.00000, lon: 0.00000, course: 0.0
Anton Tananaev3 years ago

That means your device is not reporting any location.

Kalaria3 years ago

when we point the vendor server and when we send position request from sms then it send me correctly but in traccar not working

Track-trace3 years ago

You should send CR command to the device as custom command from traccar to get the GPS coordinates.

From traccar DEVICES window click on the device and the click on COMMAND from Devices window. Then Choose NEW, Custom command and in the Data field fill in: CR

Then sent it to the device.
Also set the device date and time correctly.

Kalaria3 years ago

@track-trace can you write the command what i have to send to the device

and why it not send the data without the sending command can we have any option to work the device like same 2g varient work

Track-trace3 years ago

I wrote the command: CR

did you understand about the command ? or are you asking about the time ?

I depends on the model, which 4G watch is it ?