TA2k / ioBroker.volvo

Volvo On Call Adapter for ioBroker
MIT License
7 stars 3 forks source link

ODOMeter is wrong on XC40 Pure Electric 2023 #15

Open martinh12345 opened 1 year ago

martinh12345 commented 1 year ago

The ODO Meter is displayed incorrectly. The decimal place seems wrong. My ODOMeter is 973km and it only shows 97km.

Very THX for u work!!!

TA2k commented 1 year ago

What is the value shown in the app 970 or 973? This is the value from the API

martinh12345 commented 1 year ago

for the Android System there are no values in the App.

martinh12345 commented 1 year ago

and it shows only 97km in ioBroker not 970km

TA2k commented 1 year ago

I thinks it is an issue on the api side. please check if its switching to 98km

mdvanes commented 1 year ago

I can confirm that this is an issue with the API itself. I've seen this when consuming the API directly, also for other values. E.g. the precision of tripMeter1 is off by 2 orders of magnitude.

martinh12345 commented 1 year ago

Hello, something wrong with the ODOMeter. The value is now 2147483. The rest is still working fine. Does it come from the API? THX

TA2k commented 1 year ago

wrong odometer is known. maybe you can convert it to the correct value