jonasbkarlsson / ev_smart_charging

Electric vehicle smart charging for Home Assistant.
MIT License
169 stars 25 forks source link

The integration does not plan charging, when car is disconnected? #244

Closed kenni closed 8 months ago

kenni commented 8 months ago

This is likely more a support question than an issue with the integration. I've setup the integration (or at least I thought so), but I can't seem to get the integration to plan a charge. I must be missing something obvious.

I'm using the Energi Data Service integration, which get updated with new electricity prices ~13:00-13:45 every day. I've setup an automation to update the "EV connected" switch when the car gets connected to the charger. The integration is setup to control the charger.

Today at 08:00 (Charge completion time), the "EV Smart Charging Status" changed to "Waiting for new prices". All good.

At 10:14 I disconnected the car and took it for a ride. "EV Smart Charging Status" changed to "Disconnected".

At ~13:30 Energi Data Service was updated with new prices for the following day.

At 14:25 I got back home and connected the car to the charger. "EV Smart Charging Status" changed to "No charging planned", even though the current SOC is less than the target SOC. I would have expected it to change into something like "Charging planned" and that it would charge the battery tonight.

What am I missing? I suppose this is a very common use case, with people driving to work in their car during daytime, and hence have the car disconnected when the new electricity prices arrives.

Screenshot 2024-01-14 at 14 52 25 Screenshot 2024-01-14 at 15 22 03 Screenshot 2024-01-14 at 15 22 18 Screenshot 2024-01-14 at 15 27 18
kenni commented 8 months ago

"Apply price limit" was the cause of the issue, I do not know how that got activated, but once it was deactivated, the integration immediately scheduled the charge. Yay! :)

jonasbkarlsson commented 8 months ago

I was just about to point that out, but you closed the item before I was ready with my comment... :-)