Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
homeautomation:heating [2024/12/17 12:20] – [The smart solution] willy | homeautomation:heating [2025/03/13 14:55] (current) – [The smart solution] willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Smart Heating ====== | + | ====== |
Your home, most probably, has some kind of heating system for those months of the year when the outside temperature is too low to be comfortable. At least, in most of the world, every home has some kind of heating system. Of course, then, why don't we make it smart? | Your home, most probably, has some kind of heating system for those months of the year when the outside temperature is too low to be comfortable. At least, in most of the world, every home has some kind of heating system. Of course, then, why don't we make it smart? | ||
Line 116: | Line 116: | ||
The basic logic is simple: whenever at least ONE thermo-valve is open (heating), the generators should be operative. Only when ALL the thermo-valves are closed (idle), then the generators can be turned off (actually the pellet is not turned on or off, but switched between minimum to modulation...). | The basic logic is simple: whenever at least ONE thermo-valve is open (heating), the generators should be operative. Only when ALL the thermo-valves are closed (idle), then the generators can be turned off (actually the pellet is not turned on or off, but switched between minimum to modulation...). | ||
- | The point now is how to connect Home Assistant with the OrangePi Zero... Well, using [[homeautomation: | + | The point now is how to connect Home Assistant with the OrangePi Zero... Well, using [[homeautomation:protocols: |
- | I have rewritten the OrangePi Zero code to become an MQTT client and connect to the Home Assistant broker, this is pretty simple following the Mosquitto documentation and example code. In the future, i will post the code i am using. | + | I have rewritten the OrangePi Zero code to become an MQTT client and connect to the Home Assistant broker, this is pretty simple following the Mosquitto documentation and example code. |
+ | |||
+ | The code to my dedicated control software is published [[https:// | ||
The choice between heating with the gas or the pellet boiler, or both, is controlled by two dedicated Home Assistant toggles (create them from settings -> devices -> helpers): | The choice between heating with the gas or the pellet boiler, or both, is controlled by two dedicated Home Assistant toggles (create them from settings -> devices -> helpers): | ||
Line 219: | Line 221: | ||
Maybe i could remove the OrangePi Zero altogether using some ZigBee relays, or maybe coupling ZigBee switches with the relays i have today. This would require to rewrite in Home Assistant the logic between switching the generators and the various protection logic. | Maybe i could remove the OrangePi Zero altogether using some ZigBee relays, or maybe coupling ZigBee switches with the relays i have today. This would require to rewrite in Home Assistant the logic between switching the generators and the various protection logic. | ||
- | |||
- | I also need to publish my code for the backend and the frontend on the OrangePi Zero so you can check it out and copy if needed. | ||
- | |||