So, I have bought Zigbee compatible TRVs, which are great I can turn them on and off.
I have bought zigbee thermostats, which is great as it tells me exacty the temperatire of the room.
I have setup and automation so when it goes below 22 turn on the radiator, when it gors above 22.5 turn it off.
This is all great and works a treat. However, its not very user friendly, if I want to turn the temperatire down to say 20 to 20.5, I have to alter 2 automations to do this.
My question is, is there aneasy way to do this, can the automation instead have a variable or something that is controlled by the user, or have I complicatied the whole thing.
One way is to set a Input Number Helper as a target temperature, then trigger an automation on the temperature change in the room. If the room is below the Target Temperature then turn on the radiator in that room, if it is above then turn it off.
Another option is to use a Climate entity such as GitHub - jcwillox/hass-template-climate: ❄️Templatable Climate Device for Home Assistant, Supports Running Actions On Service Calls. which you can configure with a target temperature so that it can turn the TRV’s accordingly via scripts whilst reading the room temperature from another device / sensor.
Generic thermostat.
Have this mirror it’s setting to the TRV.
ok, yes that sounds like it will work, looks teribly complicated but I will give it a bash.Thank you.
I cant find any input method for the user though. It needs an up down temperature or a temperature set for the user otherwise I am no better off than I am now. My automation works fine but is difficult to change temperature for a user.
not sure how to mirrir, and what would the temperature swing be if I could do it, also how does the user change the temperature easily.
You set up an automation that triggers on set_temperature change on the generic thermostat.
And the action is the service call to set the temperature of the TRV.
Search for climate card and you will see what the interface looks like
That’s why I suggested the Templatable Climate Device which can in turn be used by Thermostat cards including the Generic Thermostat as suggested by someone else.
I’d also be curious to know the Make / Model of the TRV you have as most should be seen as Climate devices in Home Assistant without the need to use the Templatable Climate device. I believe most TRV 's should work by simply setting this target temperature, so say you want your room at 23 degrees, you set it at that target and the TRV will automatically adjust to allow the room to reach and stay at that temperature - there should be no need to have an automation to turn on the TRV and another to turn off. The automation you should have is turning on the boiler if a TRV requires heat and turning it off if it doesn’t.
Finally, the Input Number helper should allow you to place a simple slider control on the dashboard. When creating the Helper you can specify the minimum and maximum value as well as the step interval.
Yes the trv does have temperature, however, I want to use a room stat which is more accessable and mre acurate for the room temperature, as it is higher up.
Also I have aother rooms which have underfloor heating, so the interface will be the same but not using a TRV at all.
Your comments are very usefull, I will investigate them all thank you.
OK, the input number slider is what I want to use, but how to put it into an automation I am yet to work out.
So going back to my original automation. When sensor temperatur goes above (input slider + 1) then turn off radiator. But how do you input the input slider temperature nto the automation, all it accepts is numbers.
Using the entity section you can use the input number as a temperature, but it is still only 1 number, so it will not have a temperature swing. I could set the timer to only scan every 10 minutes, but that would be frustrating if you come in and want the radiators on quick.
As you can tell, I am new to all this.
If you just want to copy the set point then this post will be helpful:
However it seems you also want to use an external temperature sensor?
That works, in my opinion generic thermostat is fine for that.
It becomes a bit more challenging, but for now I don’t think I have enough information to be sure I give you the correct code or suggestions.
You need to post more detailed what you have and how you want it.
Underfloor heating. Here is a thread with lots of information.
Underfloor heating with zone control - Share your Projects! - Home Assistant Community