Initial odometer value

Antonio8 months 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 Tananaev8 months ago

Are you looking at the odometer or the total distance?

Antonio8 months ago

odometer

Anton Tananaev8 months ago

Odometer is reported directly by your device.

Antonio8 months ago

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

Anton Tananaev8 months ago

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