custom-components / climate.programmable_thermostat

Programmable thermostat that let you have a smart thermostat on budget.
The Unlicense
113 stars 35 forks source link

several thermostats with a single heater #20

Closed jmora0 closed 3 years ago

jmora0 commented 3 years ago

How would it be possible to configure the related_climate if there are several devices with their respective temperatures and only one heater?

alextircovnicu commented 3 years ago

Hi +1 from my side.

The setup will be as following:

Desired output (currently achieved via automation) for keeping ambient temperature to 21 degrees : WHEN sensor.t1 < 21
THEN turn ON switch.v1_1 AND turn ON switch.v1_2 AND turn ON switch.hb

WHEN sensor.t2 < 21
THEN turn ON switch.v2_1 AND turn ON switch.v2_2 AND turn ON switch.hb

WHEN any of sensor.t[3-6] < 21
THEN turn ON switch.hb

WHEN t1 >= 21
THEN turn OFF switch.v1_1 AND turn OFF switch.v1_2

WHEN t2 >= 21
THEN turn OFF switch.v2_1 AND turn OFF switch.v2_2

WHEN All temperature sensors t[1-6] >= 21 THEN turn OFF switch.hb

MapoDan commented 3 years ago

Ciao guys, This is already partially achieved. I mean, this integration is to control room temperature not the heater. As heater and cooler switch I meant the 'object' that allows to manage the room temperature, so in your case the valve. Then you have to separately manage the real heater switch with the automation you need since anyone can have a different rule.

In my case for example I have:

So I have the following objects definded:

Implementing something static in the climate would be possible, but it wouold limit the possibilities since your case has some rules, mine has others, and so on..

So my suggestion is:

Let me know

MapoDan commented 3 years ago

Closed for inactivity.