Can I set the input units of a device tracker? I suspect mine is sending as knots

David Cole 7 years ago

I seem to be getting low speeds along motorway driving, where I'm driving at 100km/h it seems to be reporting about 51-54km/h.

So if I convert knots to km, I see that 53 is 100km/h.

Does that mean my unit IS reporting in knots rather than km/h? Can I set this for the tracker? As I 've seen that traccar converts to knots in the db and then back out to the display unit.

Anton Tananaev 7 years ago

What protocol are you using?

David Cole 7 years ago

Its the kingneed one, If I'm reading my config right, I'm using

<entry key='tk103.port'>5002</entry>

As all the others are commented out.

David Cole 7 years ago
(864768011370522,DW30,131218,A,4112.59535S,17454.49872E,9.580,225828,196.91,1.90,13,0)

Here's an entry....I'm trying to figure out where teh speed if (if it's not calculated from the gps co-ords). This is possibly ~50km/h driving

Is this the speed? 9.580

David Cole 7 years ago

And some more.

(864768011370522,DW30,141218,A,4109.51065S,17458.44250E,55.144,222212,242.27,32.90,12,5)
(864768011370522,DW30,141218,A,4109.59241S,17458.27035E,55.271,222222,232.20,35.00,12,5)
(864768011370522,DW30,141218,A,4109.70013S,17458.12530E,55.768,222232,219.05,33.50,12,6)
(864768011370522,DW30,141218,A,4109.82339S,17458.00345E,55.073,222242,219.69,30.40,12,6)

These, I figured out are motorway (not surface streets), so should be ~100km/h - so by that reckoning this does look like knots ?

Anton Tananaev 7 years ago

If your device doesn't report speed in knots, you need to configure tk103.speed.

David Cole 7 years ago

I thought i saw a forum post like that....can you give me a pointer to that config option. In that in the traccar.xml and have you got an example for it?
so:

<entry key='tk103.speed'>knots</entry>

at a guess?

David Cole 7 years ago

I found it in another thread.
<entry key='tk103.speed'>mph</entry>