Closed eximo84 closed 2 days ago
Hi @eximo84
No worries on my end. I'm sorry for the issues you are facing.
So, looking into the log, seems like you are getting 2 different responses from the API:
fuelRangeElec=0
fuelRangeElec=1480
Currently the sensor gets the data from the Vehicle Status, thus you are getting that info.
I never saw a similar response from the API, only on the SOC. For the next version I will add a compare probe between both values and will discard any value equal to 0, and get only the one greater than 0. This shall be an easy fix and we will be able to have a fallback.
If you notice this behavior on more sensors, please let me know.
Thanks for pointing this out.
Cheers
Just checking now, the only sensor that show 0 would be this:
However I've noticed this sensor being off:
Currently reporting 126kwh however mileage since last charge is only 26 miles (40km). The battery is only 51kwh in size.
However I've noticed this sensor being off:\n\nsensor.mg_eh32_x8_power_usage_since_last_charge\nCurrently reporting 126kwh however mileage since last charge is only 26 miles (40km). The battery is only 51kwh in size.
@eximo84
I noticed a similar behavior on my car as well on that sensor. I just don't know yet what coefficient shall be used to get a proper value.
Still need to get some math to try to understand those values.
Thanks for pointing it out.
@eximo84 The issue is now solved on 0.6.0. I hope 😄
On the power usage, I am trying to figure that out and see how to get a meaningful value from the data provided by the API.
Home Assistant Version
2024.11.1
MG/SAIC Integration Version
0.5.2
Installation Method
HACS
Did you check for existing issues?
Did you enable debug logging before and are ready to post logs?
Describe the Issue
Mileage range is report 0 miles for my BEV.
Oddly the graph seems to track like this
Logs
Additional Context
Sorry to log another issue 🙂