Server Measurement Type and Device Time

skyking5 years ago

Is there a way to set Server output to imperial instead of metric?

Also, the Device status is showing incorrect Date and Time - is that a Tracker issue? Showing time from last time I tested a phone location using the Traccar Client, so I assume server isn't getting date/time from 'watch' protocol input string?

skyking5 years ago

Update: looking at log, tracker is only sending [3Gxxxxxxxxxx0009*LK,0,0,64] every minute (upload time) and no data

skyking5 years ago

Tracker sending out data:
[3Gxxxxxxxxxx009F*UD_WCDMA,151019,130843,V,43.373420,N,71.157780,W,22.0,119.844,280.116,17,9,62,0,0,00000000,1,1,310,410,23995,134708791,9,1,Home2,60:45:cb:cb:34:68,-80,6.780246]
But status not updating. No errors in log, just shows incoming tracker data.

skyking5 years ago

Every 60 seconds (upload time set on tracker to test) log shows:

2019-10-15 09:32:26 INFO: [3554c017: watch < 107.242.116.116] HEX: 5b33472a323130343133343731382a303039412a55445f5743444d412c3135313031392c3133333235332c412c34332e3337333139322c4e2c37312e3135383030302c572c32322e302c3330302e3037382c3230382e3037372c32302c392c35322c302c302c30303030303030302c312c312c3331302c3431302c32333939352c3133343730383739312c392c312c486f6d65322c36303a34353a63623a63623a33343a36382c2d36302c352e305d
2019-10-15 09:32:28 INFO: [3554c017] disconnected
2019-10-15 09:32:28 INFO: [fa281cee] connected
2019-10-15 09:32:28 INFO: [fa281cee: watch < 107.242.116.116] HEX: 5b33472a323130343133343731382a303030392a4c4b2c302c302c35325d
2019-10-15 09:32:28 INFO: [fa281cee: watch > 107.242.116.116] HEX: 5b33472a323130343133343731382a303030322a4c4b5d
2019-10-15 09:32:28 INFO: [fa281cee] id: 2104134718, time: 1969-12-31 19:00:00, lat: 0.00000, lon: 0.00000, course: 0.0

Device state always shows data from last line

skyking5 years ago

Also, Command Result Notifications now showing up on web page.

skyking5 years ago

If I do a CR (get location every 20 sec for 3 min) command I get location reports as follows: (ID is xxxxxxxxxx)

[3Gxxxxxxxxxx00B9*UD_WCDMA,161019,003144,V,47.373195,N,78.157739,W,22.0,134.449,261.651,16,25,100,0,0,00000000,1,1,310,410,23999,132013696,25,2,,c2:d2:f3:5a:9f:b3,-84,Home2,60:45:cb:cb:34:68,-49,9.818271]

But location never updates in the Device 'State' panel so the map doesn't update either, so I suspect the response string is incorrect.

Manufacturer sent manual for watch protocol 1.7_C, but the location reply string doesn't seem to be in the location response format...????

skyking5 years ago

Correction to 2 posts above: Command Result Notifications NOT showing up on web page

skyking5 years ago

I double checked and tracker is sending location data in correct watch protocol location data format, so not sure why server isn't storing info in database and reporting position especially when no error message in log.