Smart heating scheduler for Home Assistant (extra: multi-zones version)

Guess what’s coming in the next HA release:

1 Like

First of all…

great to share this project. There is another (heatpump) based (Node-Red) project on tweakers.net, but that one became way too complex if the setup you are having deviates from what they are persuing.

In my professional environment we work a lot with “PHIDGETS” (https://phidgets.com)
They have VERY precise and accurate temperature sensors that update 2x per second.
I wonder if we could add Phidgets to Home Assistant as temperature sensors.
Also Phidgets (magnetic) sensors can be used to detect open windows or doors. And there are Humidity sensors (much better than the Chinese LBTE stuff.

I would defintely like to participate / contribute in this project.

Panasonic Heat pump (5kW) for heating only (no hot water for showers etc)
Floor Heating (on the ground floor)
Low Temp readiators on 1st floor (never used)
Delta-T for heat pump is 4 degrees
Max temperature out is 32 degrees (up to 35 degrees in minus 5 and below)

The floor heating takes (a lot of) time to increase the temperature inside the living.
(1 degree per hour, providing the floor is not cold)
The “after effect” is that once the temperature inside the living reaches the set value (of 21,5 degrees) the floor is still warm and keeps distributing heat in such a way that the temperature inside the living gets up till bout 22,5 - 23 degrees (depending on outside weather conditions)

Once the temperature drops below the set 21,5 degrees, the heat pump is switched back On, but for the floor (that got cold in the mean time) to heat up, another hour or so is gone and the temperature inside the living drops till about 20 degrees.

Optional Solutions:

  • weather forecast including the amount of sun hours
  • an extra temperature sensor “inside” the floor to measure the floor temperature.
  • an extra temperature sensor about 30 cm above the floor
    (this sensor would get warm earlier then the standard height temperature sensor on 150 - 160 cm)
  • monitor the time needed to heat up the room (including outside temperatures and weather forecast) and create an alogerythm that can “predict” how long it would take approximately to heat up the living and therefore stop heating the floor, even before the requested temp is reached, but also start heating up the floor before the actual temperature already dropped below the set 21,5 degrees.

The latter part is too difficult for me to handle.
I was wondering if someone else have already done this?

An alternative would be to buy a “smart thermostat” that can be read by Home Assistant and only use that Smart Thermostat to do the math (not to control the heat pump directly)

Let me know your thoughts
Harpert

PID controlled-thermostat is exactly for that.
Like https://github.com/soloam/ha-pid-controller
Or PID Climate — ESPHome

Thank you to sheering this project.
This is exactly what i need :slight_smile: looks really grate!

If only i would able to find a ESPhome automatization to manage 2 heater (gas and furnace )

1 Like

Not bad, but also not very flexible, because only ON/OFF is supported.
But instead, this custom component rocks:

I’m evaluating it now to migrate this project to be based on @aneeshd’s component.

Sorry for this nursery level question, but how do I install this in HA? I´ve been reading a lot and can´t find a way
Thanks a lot!

2 Likes

Hey Robi,
I came across this amazing solution because I too have a smart home (in the making) and am looking to implement heating into it. Looking at what you’ve created I’d love to give it a try and implement it into my system. I just can’t seem to figure out what to change where in order to get everything set-up.
Could you please send us noobs some assistance in the yaml file where we can/should change items in order to get things working?

For reference i’ll explain my home setup running HA.

I have a three floor house, large ground floor with several temp-sensors in HA and a Nest heating thermostat turning the boiler on and off. Each radiator on the ground floor has a smart thermostat (Devolo’s) with temp sensors (not using those but using some ESP32’s for presence detection and temp sensors). The ground floor also has a wood fireplace which we sometimes use.
On the other floors i have several rooms with radiators to provide heat and each radiator has a smart thermostat (Devolo’s again).

Since we sometimes use the wood fireplace on the ground floor i figured using smart thermostats on both ground and first floors would enable me to turn on the boiler in order to heat the radiators without hot water flowing to the already heated ground floor.

Trying to setup your solution I first of all cant figure out where i should change/add climate.nest_thermostat (which should then just turn on/off according to HA.
Next I cant figure out how to implement all the TRV’s (Devolo’s) on the radiators in order to get the produced hot water from the boiler into the proper radiator. I think i’ll have to use a “zone” for each room and once I understand how two zones (ground floor + one room) work I would get the rest to follow.

Any assistance would be grately appriciated.

I know this is kinda old, but how are you controlling the climate entity?. I see that you made switches but the thermostat turning on doesn’t mean it will heat (or cool), unless the you cross its set point.
I would like to use this but couldn’t figure out that piece

haha, neither can I…

The climate entity controls itself, that’s the whole point. You only need to take care of adjusting the setpoint according to a schedule.

I am tying to create a heating system in HA but have not found the right path.

My combi boiler is about to have a Shelly 1 fitted to it in order to turn it on and off (heating part only, not hot water). I have Eurotronic zwave TRVs in each room.

The idea was to be able to setup some logic that allows for the following.

The For the boiler to come on when a room is below the temperate set.

To schedule times in the day (morning, afternoon, evening, night) when the set points of each room are changed.

To have an override to the schedule for a given time period.

To be able to have a home and away mode. Home would be the original schedule with the 4 timing phases and set points for each TRV , and away would just be a flat always on schedule with a set point for each room and is low and keeps the house from going super cold. (Below 17c)

Any other suggestions if this would work for smart TRVS

what I (somewhat of a noob in this) do not know, is how to make that happen…

Szia Robi,

El tudlak valahogy erni privat uzenetben vagy telefonon? Lenne egy kerdesem/problemam amire nagyon szeretnek megoldast talalni.

Koszonom elore is