-
Notifications
You must be signed in to change notification settings - Fork 9
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
Feature Request: Minimum Consecutive Hours for Split #160
Comments
I'm quite sure you can use the
|
That will just specifiy for how many hours it will search right? What should be nice if there is like an option: |
If you look at this example from the documentation I would think it's about the duration
But that's very easy to test in Developer Tools > Template |
Actually, I'm using the |
I understand what you are saying, but you are not using the split parameter.
Will return:
But i would like it to returns the 2 most cheap 4 consecutive hours. So it is okay if it runs 8 hours in the afternoon if that are the 8 most consecutive hours, but it should return 4 hours at night and 4 hours at the afternoon if they are the cheapest consecutive hours. |
Ok, I might have misunderstood your initial request as I thought it to be more focused on the consecutive hours. My thoughts were you could create your own automation that calculates the cheapest 4 hours in the morning and cheapest 4 hours in the afternoon. |
My suggestion would be to have your feature request to be to allow integer values for the |
I'm not sure if it's something worth pursuit. Just look for 4 hours between 02:00 and 12:00 and 4 hours between 14:00 and midnight or something like this. You can compare current hour to decide which start and end values are given to macro so you can still use single binary sensor entity. |
Yeah but that would not work if the 8 cheapest hours are between 10:00 and 18:00 for example. |
But is single 8h run enough for heating home during 24h window? I bet single 4h run provides heat for next 12h and running pump longer won't help as heat reservoir is already full. Also, as heat pump prefer longer runs where it can just keep heat reservoir topped-off, I'd suggest to search 2-4 most expensive hours and disable heat pump during that time. |
Single 8h run is enough for my home, i have a really well isolated small appartment, so it does not need much. |
I understand the request, you basically want a minimum period length in case |
Hi,
First of all, thank you for this fantastic project! It's been incredibly helpful for a variety of tasks in my setup.
One feature I'd love to see (or perhaps it already exists, and I haven't figured it out) is related to calculating the 8 cheapest hours for my heat pump. Specifically, I'd like to be able to "split" these hours, so that the system can schedule, for example, 4 cheaper hours at night and 4 in the afternoon.
However, with the current implementation, I’ve noticed that the system sometimes selects short periods, such as a single hour, before stopping, which isn’t ideal for a heat pump since it requires longer operational periods.
Would it be possible to add an option that enforces a minimum number of consecutive hours when splitting? This would ensure the heat pump runs efficiently without frequent starts and stops.
Looking forward to your thoughts!
Best regards,
Sem
The text was updated successfully, but these errors were encountered: