-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Charging stops at midnight and restarts at 1 a.m. #229
Comments
This happens to me too. But for me is at 11PM and resumes at midnight. I think this has to do with Timezone and pricing. In ev_smart_charging addon I would see that price is Unknown in that interval. |
@petermnt and @bartashevich, |
@jonasbkarlsson I think Entso-e has some very short times of being unavailable around the midnight time, when it recalculates the today/tomorrow attributes. And ev_smart_charging tries to update its schedule during this time, which causes charging to stop or not start. I prefer to use Entso-e though as that one is slightly more reliable for me. |
Just confirming that I'm observing exactly the same issue. Charging stops at midnight and resumes at 01:00. I'm using Entso-e. |
I'm at London timezone and using Entso-e. I've fixed this in the past, I'll try to remember what have I done. |
SolutionChange prices_today (only includes todays prices except 11PM) to prices (include all prices including tomorrow if exist):
Remove extend, since tomorrow prices are already included in raw_today_local from previous statement.
Problem
|
|
Thanks a lot @bartashevich for the detailed report and suggestion of solution! I think I have an idea now of what is the root cause of the problem. I will check if I can fix that, or if I take your suggested solution instead. |
@jonasbkarlsson thanks for taking this in consideration. Mine solution isn't great. I don't know exact logic behind prices for tomorrow in your integration, but that also needs a review, since I'm ignoring that. |
Hi all! Sorry for not looking into this sooner. I have made a v1.11.0-dev4 that includes a more robust checking of the price information. I think it might fix this problem. Can anyone of you test this version and let me know if this problem is solved? |
This might have been fixed in v1.11.0. I will close this issue now, but please let me know if the problem still exists. |
Version of the custom_component
Version 1.9.0
Configuration
Apply price limit: on
Continuous charging preferred: on
Charge start time: None
Charge end time: None
Limit: 80%
Minimum EV Soc: 35%
Describe the bug
When a charging is planned from before midnight, the charging stops at midnight and continues at 1 o'clock.
When the charging is supposed to start at midnight, it doesn't start.
Debug log
The text was updated successfully, but these errors were encountered: