Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105957

Thermostat to control a gas heater

$
0
0

Hello all,

I plan to setup a smarter thermostat for the gas heater in my house and I have some questions. Initially I was thinking of starting from the Generic Thermostat example and customise it but I cannot figure some things out. Here is my setup:

  1. I measure the temperature in each room with xiaomi bluetooth devices and feed them to homeassistant via esp32.

  2. my gas heater will have an esp8266 with a relay that will turn it on and off.

Now, the house is not very smartly build so I cannot really control the temperature per room (although I am researching some options for the future).

In my mind I would do the following: take the average temperature in the house using the temperatures in each room and use that as input for the generic thermostat. But this will create the following problem: when the average temperature falls below a threshold even by a bit the heater will turn on and the it will turn off and so on. This leads to a lot of gas being burned. How can I add some sort of condition to this? For example: say the average temperature falls below the threshold but the temperature in one or two rooms are ok (as in between some limits) then the heater should not turn on (this would correspond for example to the situation when a window is opened in one room).

In any case, I am confused about how to add some more logic to the existing generic thermostat example.

Any help or advice is appreciated!

Lucian

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>