Initial odometer value

Antonio 2 years ago

Hi

I have a device that has incorrect odometer value set and is reporting and i cant change it, so server shows incorrect odometer value

real odometer value - 51524km
reported odometer from tracker - 47309km

Is there a way to force it be adjusted when the report is received from the tracker something like initial odometer or perhaps using computed attributes ?

Similar to this scenario - https://www.traccar.org/forums/topic/set-initial-mileage-for-device/

I see was suggested to use accumulators but i can´t see in the device configuration , is that still avaiable for version 5.12

Anton Tananaev 2 years ago

Are you looking at the odometer or the total distance?

Antonio 2 years ago

odometer

Anton Tananaev 2 years ago

Odometer is reported directly by your device.

Antonio 2 years ago

would computed attribute do any help to correct the value in this case ?

Anton Tananaev 2 years ago

It's possible. You can apply an offset using computed attributes.