jonasbkarlsson / ev_smart_charging

Electric vehicle smart charging for Home Assistant.
MIT License
139 stars 19 forks source link

Charging yet out of time or price too high #218

Open woopstar opened 8 months ago

woopstar commented 8 months ago

I'm currently running 1.9.0

So I have start time configured to 14.00 and complete time configured to 17.00

I also have low price set to 0,3 and enabled. I'm seeing the integration charging at 4 o'clock in the night which I don't understand fully.

If you see, the logbook it triggered it to On at 4.16.

image

The time is not between 14.00 and 17.00, so I suspect it should be because of low price, but the price was never under 0,3.

image

Any ideas on how to debug this?

woopstar commented 8 months ago

Hmm. It looks like the integration might "restart" it self. It was in an Unknown state at 4.16 also. And looking at this picture:

image

I wonder why it gets to Unknown.

What I suspect is, that when it "comes back" the charging goes to On for a sec for then to go Off again. Maybe it defaults somehow to On and then switches to off.

jonasbkarlsson commented 7 months ago

Sorry for not repsonding earlier. Have had other things lately that needed my attention...

This looks strange. In the first screenshot it says "Status changed to Smart charging not active", but there is nothing in the integration that can trigger such a change. This is triggered by something else.

I'm not aware of that there is any automatic "restart" function in HA, but I'm not that up-to-date with details of HA.