ha-emporia-vue icon indicating copy to clipboard operation
ha-emporia-vue copied to clipboard

EVSE Status Message

Open motoridersd opened this issue 1 year ago • 5 comments

Is there a way to pull more data from the EVSE status. Right now we get:

image

But the Emporia app shows an additional message as well as an icon to represent more information about the charger status. For example, despite the data above, the charger is reporting "Charger will start charging when connecdted to a vehicle" and it shows an icon of a car with a plug that isn't plugged in.

Trying to figure out a way to find a way to determine if the car is plugged in. With the current information, this isn't possible, and my car (Polestar 2) has no way to report this data to HA.

motoridersd avatar Aug 11 '23 18:08 motoridersd

So when I've got an EV plugged in and not charging the message changes to "EV is not accepting charge" but with no car plugged in it is "Ready". There might be one or two more elements on the response I can include.

magico13 avatar Aug 12 '23 00:08 magico13

The message says "Connected to EV" when the car is plugged in but the charger is off and Status is Standby. So I could use that to try to detect if the car is plugged in. "Ready" means no car plugged in like you said.

motoridersd avatar Aug 12 '23 01:08 motoridersd

The master branch has a change that includes a few additional attributes that might help here. I haven't tried to map them all to different states but if you end up doing so please let me know what you find. It looks like the icon_name of CarConnected is used when a car is plugged in even if the charger is turned off, I can't test charging right now and haven't gone down and unplugged yet to see how it changes.

magico13 avatar Aug 12 '23 20:08 magico13

icon_name might be very helpful as it should reflect what the app shows.

I created a helper switch that will be "Plugged in" if the message is "Connected to EV" or "Charging", but there are a lot of intermediate messages that also qualify, like "EV is not accepting charge". A lot of this won't matter much to HA because the update interval is too long to catch the quick changes that happen when the charger is turned on or off.

I'll see if I can understand some of what the master branch contains

motoridersd avatar Oct 22 '23 14:10 motoridersd

Just an FYI, I'm also interested in the additional attributes. I'd like to know when my vehicle is plugged in (even if not yet charging).

Thanks for this integration!!

WhoaLookAtThat avatar Nov 07 '23 22:11 WhoaLookAtThat