-
|
Hi, I'm trying to send a load increment to predbat using automations, but I think I'm not fully understanding the options correctly. Any guidance would be appreciated... Scenario: What I've tried: I then looked at the predbat API example and it seems more suitable, in that I can feed a date, start and end times. However I don't understand how to send it a load increment as a fixed value - e.g. 0.4kWh. Simple example that works, but using load_scaling: Have I missed something here on the API method? If a discrete load increment load is not supported how could I use the select method to create a concatenated list between start and end times? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
I don't think you have missed anything, but what you are asking for doesn't exist as an option in predbat at the moment the predbat manual API using rates_export_override allows you to set the same parameters for the rate period as can be in apps.yaml https://springfall2008.github.io/batpred/energy-rates/#manually-over-riding-energy-rates - which is a load scaling factor not a specific new load amount the manual load adjust selector requires you to select all 30 minute time slots that you want the heating on for. Its possible to do this in template code, google for similar examples of iterating between two time periods with 30 minute increments, or give chat GPT a go to create the code for you As an aside, general advice is to run your heat pump on a low and slow temperature all the time, that's by far the most efficient way of heating your home. And since you have batteries controlled by predbat, let predbat charge your batteries on the cheapest periods that your heat pump can then use when it needs to |
Beta Was this translation helpful? Give feedback.
-
|
Here is the first-cut automation. It relies on a target timeframes entity for the start and end times of heating. I am using a static 0.4kWh load increase for now - I will evolve this into a dynamic value (helper) once I understand my HP behaviour in colder weather. The automation does not take into consideration the 18hr forward looking constraint on setting a load over-ride - predbat seems to throw a wobbly if more than 18hrs worth of hours are set by this method. My preferred approach would be to create a stand-alone helper to generate the long string for the delta load and consume that from the automation, however I discovered that HA has a limitation of 255 characters for a sensor value. Thanks for sharing your experience @gcoan. I had a look at the Heat Geek video and they have some good background info. I'm trying to take my optimisation a step further than low and slow by including tariff incentives and my approach would be more suitable for a house with a large thermal store and low energy loss. I might have to wind some of this back if comfort suffers - e.g. over- or under-heating. At present I'm getting complaints from the OH that it is too warm first thing in the morning, even though the room thermostat shows it is at a comfortable temperature. I suspect this is part of the human psyche I had not allowed for - we tend to feel warmer first thing in the morning (having just popped out from under a warm duvet!) and cooler late in the day. BTW I came across this when searching for the youtube videos - have you seen it? https://www.youtube.com/watch?v=XdgIoLXrvPU Some of the comments by the guy in the black shirt resonated with me as inputs to where I am trying to get to - though he does keep pulling out the car analogies which are a bit naff. It tries to go below the "low and slow" headline message and pulls out a few nuances. Just a comment on connection heatpump to HA: mine is a Hitachi Yutaki unit and I needed to create some custom modbus entries as well as install an ethernet to modbus converter. If you have a Daikin then some chap is building and selling an ESP32-based converter and also supplies the yaml etc to get it to work - nice guy, I think based in France. Fully local control no reliance on cloud. https://github.com/Arnold-n/P1P2MQTT |
Beta Was this translation helpful? Give feedback.


I don't think you have missed anything, but what you are asking for doesn't exist as an option in predbat at the moment
the predbat manual API using rates_export_override allows you to set the same parameters for the rate period as can be in apps.yaml https://springfall2008.github.io/batpred/energy-rates/#manually-over-riding-energy-rates - which is a load scaling factor not a specific new load amount
the manual load adjust selector requires you to select all 30 minute time slots that you want the heating on for. Its possible to do this in template code, google for similar examples of iterating between two time periods with 30 minute increments, or give chat GPT a go to create the code fo…