ardevd / ha-dimo

DIMO integration for Home Assistant
MIT License
6 stars 1 forks source link

EV Battery Charging incorrect status #46

Open dawnofwar911 opened 2 days ago

dawnofwar911 commented 2 days ago

The EV battery Charging status for my I-Pace is incorrect. It may just be the best the API can get from JLR about the status, but it says charging when the vehicle is currently not charging and rather "waiting to charge".

Not clear where exactly the issue lies! Screenshot_20241123-230716.png

Screenshot_20241123-230706.png

Looking at the sensor, it's just a binary on or off, so is probably only looking at whether a charger is connected rather than the charging status in the DIMO backend?

ardevd commented 1 day ago

Thanks for reporting!

And I presume you're correct. How are you integrating with DIMO? I'll pass along the feedback to the DIMO team also!

Would make sense to have separate signals for whether it's plugged into a charger and charging.

Unfortunately, I don't think there's much we can do about this at the time being.

dawnofwar911 commented 1 day ago

I'm only signed into in-control currently through DIMO, so it's interfacing with the JLR API somewhere.

Figured that's going to be more of a dimo problem though, only thing the integration could do is rename it so it's clearer.

ardevd commented 1 day ago

Gotcha. DIMO is limited by what the InControl integration through smartcar offers. You could always try to get a DIMO hardware dongle (the R1) but I'm not sure it would be able to detect the "waiting to charge" state either I'm afraid.

dawnofwar911 commented 1 day ago

No, I doubt that would be sent over OBD CAN. It's not exactly "emissions" or "efficiency" relevant, can't see much point in the HV system reporting that when queried, but could be wrong!.

ardevd commented 1 day ago

It definitely goes over the CAN, but actually figuring out how to parse that specific message is not trivial.

dawnofwar911 commented 1 day ago

Over the OBD? Definitely goes over private CAN but if it goes down the OBD when you ping the OBD nodes then for sure might be worth grabbing a dongle! Will take a look when I have some cash to grab one!

ardevd commented 1 day ago

Over the OBD? Definitely goes over private CAN but if it goes down the OBD when you ping the OBD nodes then for sure might be worth grabbing a dongle! Will take a look when I have some cash to grab one!

I have some DBC data that covers the I-Pace and it has ALOT of data points. So by reading out whether the charger is connected + the charging power, you could deduce whether the car is actually charging or "awaiting charge", etc.

But as far as DIMO goes there a whole process in submitting, testing, validating and deploy new signal templates. There are also different capabilities depending on what DIMO device you have.