[SmartHRT] Smart Heating Recovery Time - (Cool Sleep, Warm Wake-Up!)

Hi :call_me_hand: ! Here is a full pack of script that works quite well for several weeks for me, and that could be called Cool Sleep, Warm Wake-Up!

Anyway, most of the project description, and all source is on github (only missing is the documentation for equations and the advanced mode):

The thermal mass of my radiators and walls provides good thermal comfort but makes it hard to predict the heating recovery time in the morning. Without predicting the correct time to start heating at night, it is either too late (and too cold) or too soon (heating the living room unnecessarily while sleeping).

The principle is simple: while sleeping, heating can be completely turned off and boosted at the correct recovery time.

Alt Text

The challenge is to identify the recovery time, neither too soon (to avoid wasting money, emitting CO2, and using excess kWh), nor too late (to obtain thermal comfort). This problem involves:

  • 2 variables: interior & exterior temperatures (Tint & Text)
  • 1 objective: set point temperature Tsp at wake up time target_hour

Preview

This is an ongoing development…

So… any advice and support is more than welcome :pray:

  • this is a basic package, I’m not sure where to go now for better usuability, any advice from all experts here? I’m not familiar with blueprints, hacs module, native modules, … Let me know if this package is really wrong and what are the best options (though I’m not trying to sell anything, and I always prefer simplicity!)
  • it works perfectly well for me every days, though there are certainly possible bugs…
  • i’ve seen various similar requests or developments (e.g. Thermostat recovery mode (or when to start heating to reach the set point)), though none of these were satisfactory → to many simplistic and linear correlations, without real physics nor learning process… give me links if you know similar alternative that I could have missed ! I’m always interested, even if i had fun at developing mine and trying to get the simplest system (way too much parameters from what I’ve seen in some advanced dashboards :smiley: )
2 Likes

Looks interesting :slightly_smiling_face:
I use 🔥 Advanced Heating Control with schedulers for heating plans.
Schedulers have an attribute with time of next event.

In my case i think its important to also use the flow temperature for calculation. I dont switch heating off at night, i set it to eco temp. So you dont know if all water is cold or already heated up - which takes longer with more TRVs open of course.
I need it in the evening too to heat kitchen/TV room (the coldest room in house),

1 Like

The flow temperature is similar to the ceramic temperature of my electric radiator, which is a part of the overall thermal mass of the room. If you need this temperature you might need the wall temperature too :sweat_smile:

This is the ambition of the calculation my script is doing, all the thermal mass is taken into account: emitter, furniture, walls,… I don’t have water emitters, but they should have less thermal mass than my ceramic radiators, so I can imagine it’s ok, no?

And of course, if there is no calculation, you cannot anticipate enough the recovery time. This is why the eco mode is used then. I wanted here to not use the eco mode.