Hodometer scale

Alvesxviia year ago

Hi guys,

A question just to be sure... Traccar gives us the hodometer based in miles?

Anton Tananaeva year ago

Gives you where?

Alvesxviia year ago

Right in:
(Device: Maxtrack 140 A)

{"position":{"id":0,"attributes":{"index":7786,"ignition":true,"input":0,"output":0,"charge":false,"sat":94,"hdop":213,"rssi":6,"power":10.2279999999999997584154698415659368038177490234375,"temp1":0,"odometer":49,"hours":857340000,"battery":13048,"driverUniqueId":"65534","distance":4310.7799999999997453414835035800933837890625,"totalDistance":1873666.03000000002793967723846435546875,"motion":true},"deviceId":4,"protocol":"mxt","serverTime":"2024-02-19T20:43:05.246+00:00","deviceTime":"2024-02-19T10:39:36.000+00:00","fixTime":"2024-02-19T10:39:36.000+00:00","outdated":false,"valid":true,"latitude":-20.02458299999999979945641825906932353973388671875,"longitude":-43.83053499999999758074409328401088714599609375,"altitude":0,"speed":17.27862400000000064892446971498429775238037109375,"course":90,"address":null,"accuracy":236,"network":null},"device":{"id":4,"attributes":{},"groupId":0,"name":"HNZ5225","uniqueId":"1408627","status":"online","lastUpdate":"2024-02-19T20:43:05.246+00:00","positionId":23035,"geofenceIds":[],"phone":null,"model":null,"contact":null,"category":null,"disabled":false}}

"speed":17.27 - I'm supposing it's giving in miles.

Another question, I noticed that I receive divergent data from odometer from this device. The following is the data from 5 sequencial packets I got:

"odometer":49,
"odometer":22,
"odometer":43,
"odometer":21,
"odometer":49.

It isn't incrementing. Why is that?

Anton Tananaeva year ago

Speed value cannot be in miles. It can be in miles per hour, but Traccar uses knots for speed units.

Odometer should be in meters. It is reported directly by your device, so if it doesn't increment, you have to check your device.

Alvesxviia year ago

Aah ok, I'll fix it then.

Thanks for the help!!