Traccar reporting speeding where speed is below limit

I get strange issue. My device (Mikrotik router with a script using osmand protocol) to upload my car position.
With speed 119.5 I'm getting events that the speed is 221,4. At the same time traccar client run on my phone is reporting proper speed.

In log I see this report

2020-03-24 13:03:39  INFO: [a3cda4bd] id: 20128888, time: 2020-03-24 13:03:31, lat: 51.17465, lon: 17.03987, speed: 119.5, course: 42.6

This is an entry from daily report: 2020-03-24 13:03:31 51.174652° 17.039874° 114.4 221.4 km/h

HEX for the request.

505554202f20485454502f312e310d0a486f73743a203139352e3134302e3233382e3235300d0a557365722d4167656e743a204d696b726f74696b2f362e782046657463680d0a436f6e6e656374696f6e3a20636c6f73650d0a436f6e74656e742d547970653a20206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a636f6e74656e742d6c656e6774683a203138370d0a636f6e74656e742d747970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a0d0a3f69643d3230313238383838266c61743d35312e313735373531266c6f6e3d31372e30343134383126616c7469747564653d3131302e3830303030332673706565643d3131392e34313639363626736174656c6c697465733d31302674696d657374616d703d313538353035313431362668646f703d37392662656172696e673d34322e3232303030312661636375726163793d30266c74653d4c54452667736d3d504c415926727372703d26727372713d2673696e723d2d3135
Anton Tananaev4 years ago

By default Traccar is expecting a speed value in knots.

I have configured traccar that km/h is default value. So traccar is expecting speed in knots even if in configuration there is set that default speed is in km/h ?

Anton Tananaev4 years ago

Where have you configured it?

In server configuration -> attributes -> speed
PS.
If traccar accept only knots as a speed in my opinion this should placed in documentation as here there is only few details.

This was already reported before

Anton Tananaev4 years ago

You have to configure protocol speed units, not server. What you configured only affect UI, not decoding.

So setting osmand.speed to kmh will cause that speed from "Traccar Client" will be wrong ?
Or traccar client will get from the server that new speed metric is km/h ?

Anton Tananaev4 years ago

Client won't get anything from the server.

So if I change speed to km/h I willl brake Traccar Client ?
Is there any way to change Traccar Client to report in speed in km/h ?

Anton Tananaev4 years ago

You can change the code.

O.K. or as a feature request - Traccar Client could have option to choose which unit of speed should be used (with knots as default option).