Hi ! 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
.
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 timetarget_hour
Preview
This is an ongoing development…
So… any advice and support is more than welcome
- 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 )