@maxim31 wrote:
Hello,
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
Thanks all for your help
Esphome code:
esphome: name: esp_therm_entree platform: ESP8266 board: nodemcuv2 wifi: ssid: "xxxx" password: "xxxx" # Enable fallback hotspot (captive portal) in case wifi connection fails captive_portal: # Enable logging logger: # Enable Home Assistant API api: ota: web_server: port: 80 dallas: - pin: 13 update_interval: 10s sensor: - platform: dallas address: 0xFD0516A1B32BFF28 name: "Température Planché Entrée" id: temp_floor_entree on_value_range: - above: 29 then: - switch.turn_off: Heating_D3 - below: 9 then: - switch.turn_on: Heating_D3 switch: - platform: gpio name: "Heating" id: "Heating_D3" pin: 14 inverted: false
Configuration.yaml
climate: - platform: generic_thermostat name: Entrée heater: switch.heating target_sensor: sensor.temperature_planche_entree min_temp: 10 max_temp: 28 target_temp: 23 cold_tolerance: 0.2 hot_tolerance: 0.2 precision: 0.5
Posts: 3
Participants: 2