Generic Thermostat - Setpoint not changing on actual thermostat
I’m struggling….
First thing first:
I’m new in HA and have previously used Fibaro Home Center. Step was huge, testing before transforming devices one-by-one over to HA.
In fibaro, there was an “Heat Panel”, linked Thermostat and switch together, as I have a 10 output relay that controlling underfloor heating. The system work actually verry good.
Option in HA is from my knowledge is Generic Thermostat. I have used “sensor.test_kontor_air_temperature” from Thermostat and controlling “switch.relay_control_2”. Changing set temp in HA working nice and relay switch on/of as it should.
The problem is, when changing set temp on Thermostat device (Danfoss DRS21), it would not change the set temp in “climate.test_kontor_4” (Entitet on generic thermostat “Test Kontor”).
There is no link between those device, GT only use the air_temperature from thermostat.
How can I sync temperature between “climate.test_kontor” (Danfoss) and “climate.test_kontor_4” (GT).
Need help to get startet, with eather an event or code. With event, I guess I need to create 2-4 event for each thermostat. I have totally 16 thermostat divided on 2 floor. (each room). Its would be a lot of events…
Aporiticate the time and help to get me starting :grinning
I guess the trick would be to capture the Danfoss changing the set temperature and apply it to the generic thermostat via an automation that uses the climate.set_temperature service
What i wanted, is «set_temp» to be sync between climate.vaskerom and climate.termostat_vaskerom.
climate.vaskerom = Thermostat generated true genetic thermostats. This only use temp sensor from climate.termostat_vaskerom.
When I change set temperature, its not changing on climate.termostat_vaskerom (actually thermostat, Danfoss.) And same with Danfoss, set temperature not changing on climate.vaskerom.
You helped me on the way with using climate.set_temperature service.
Problem is, I have limited knowledge and try to fix the problem by my self, referring to similarly topics in forum.
The code was grab from another site, and from my understanding, this was a working code to solve exactly same problem.
But it did not work for me.
Want set temperature to sync between those two thermostats. If I set new temp on Danfoss, climate.vaskerom sets to the same. And same with climate.vaskerom, set new temp to Danfoss.
Im not sure, if I can use your code to synk set_temp between 1 virtual and 1 actual device.
I have manage ut use climate.group in HACS, but it using average set temp. If virtual have 22, and Danfoss had set to 23, new set_temp would be something like 22,3degrees.
Found a line to replace to not use average, but I did not manage to get that either to work.
I can disable option to change temp on thermostat on wall, but it’s pretty annoying and frustrating when you have the option. Spend a lot of time on research on this, but my limited due to my knowledge. Missing more option when creating event by “dummy’s”.
That’s an unusual error. I don’t understand why it couldn’t get to_state (unless the automation was manually triggered because then the trigger variable would be undefined).
You have absolutely correct! This error was showing when manually trigged event.
Not sure why or what I have done wrong, but now its working. Feeling pretty stupid…
Cleaned the test page with thermostat and add new ones. After that’s, its fine (“,)
I have to manually wake up Danfoss Thermostat to get changes. It can take up to 5min before the new set temp changed and activate relay. Might also be a reason for I did not see this was working…
Ah! When you do that, the automation’s entire trigger section is skipped and so anything in the action that refers to the trigger variable can’t work because it’s undefined.