Hi - first question after a few days of tinkering. Outline of my system is:
Wemos Mini ESP8266 with DHT22 sensor and 433Mhz transmitter. 433 successfully sets boiler on or off. DHT readings successfully published via MQTT. ESP8266 is subscribed to mqtt switch on HA system using internal mqtt broker, and uses its state to set boiler on or off.
switch boiler:
- platform: mqtt
name: "Central heating"
state_topic: "switch/boiler"
command_topic: "switch/boiler"
optimistic: false
qos: 0
retain: true
# Example configuration.yaml entry
climate:
platform: generic_thermostat
name: Heating
heater: switch.central_heating
target_sensor: sensor.temperature
min_temp: 12
max_temp: 25
target_temp: 20.5
min_cycle_duration:
seconds: 5
So my questions: this setup works fine for maintaining a target temperature. I would like to add some more thermostat-like behaviour: scheduling, away-mode, manual override. Climate seems to have this capability but it’s not clear how to configure it within generic_thermostat. It feels like I might be better off creating a set of automations (independent of a climate component) that just use the sensor input and switch output. Or can I add modes of operation to the generic thermostat? Thanks for any guidance or experience you can contribute