I would like to make a thermostat to control a glycol heating (underfloor heating) I try with esphome to use “bang bang thermostat” but when I import it into home assistant I always get a double thermostat (min and max) but in my case its only heating. I would like the thermostat to work alone if the home assistant had just stopped working.
Otherwise we have a way to make a generic thermostat in home but the temperature setpoint can be modified in home but the esp keeps in memory the last setpoint received
I did something temporary with overheating and freeze security but is not perfect
Right now, bang-bang is the only fully independent thermostat that works only on the ESP module
You already have it set to prevent it from over-heating. If it loses contact with HA, then your code turns off the relay. This is done in ESPHome and does not require HA.
on_value_range:
- above: 29
then:
- switch.turn_off: Heating_D3 # THIS WILL WORK EVEN WITHOUT A CONNECTION
I think what you’re doing is the best that can be done for now. I think that there is a request for more complex climate control on ESPHome but not implemented currently.
The problem with the bang bang climate controller is that it creates a component in HA with 2 setpoints. It would have been nice if we had the option with only one setpoint and an internal hysteresis in esphome which was not visible and changeable by the user.
Hi @maxim31. I’m looking for the same thermostat. Independent on HA, but with option to change tempterature, time, etc from HA. Have you idea how to make it?
This is what I did. If there is no connection home assistant, you can activate and deactivate the heaters without logic. If you are away from home and activate the heaters with home assistant logic, if this suddenly stops working, the heaters turn off.
Great solution. Is this also based on ESPHome? I am currently trying to build a thermostat with the bang bang component but the two setpoints are really annoying…
Yes, I agree on that one. It is impossible to let people without a technical background adjust the temperature. A solution could be to create a template climate in esphome, but that requires some programming.