thermostat and hvac work without home assistant

This commit is contained in:
Chris Cochrun 2025-08-08 05:41:32 -05:00
parent cf2498d819
commit 26ffa6372a
2 changed files with 51 additions and 21 deletions

View file

@ -75,6 +75,12 @@ wifi:
captive_portal:
web_server:
port: 80
version: 3
http_request:
i2c:
- id: bus_a
sda: GPIO08
@ -279,35 +285,51 @@ climate:
name: "Thermostat"
sensor: temperature
humidity_sensor: humidity
min_cooling_off_time: 10s
min_cooling_run_time: 10s
min_heating_off_time: 10s
min_heating_run_time: 10s
min_fanning_off_time: 10s
min_fanning_run_time: 10s
min_idle_time: 30s
min_cooling_off_time: 120s
min_cooling_run_time: 120s
min_heating_off_time: 120s
min_heating_run_time: 120s
min_fanning_off_time: 120s
min_fanning_run_time: 120s
min_idle_time: 300s
cool_deadband: 0.2 °F
cool_overrun: 0.5 °F
heat_deadband: 0.2 °F
heat_overrun: 0.5 °F
cool_action:
- switch.turn_off: heater
- switch.turn_on: ac
- switch.turn_on: fan
- http_request.post:
url: http://192.168.1.124/switch/heater/turn_off
- http_request.post:
url: http://192.168.1.124/switch/ac/turn_on
- http_request.post:
url: http://192.168.1.124/switch/fan/turn_on
heat_action:
- switch.turn_off: ac
- switch.turn_on: heater
- switch.turn_on: fan
- http_request.post:
url: http://192.168.1.124/switch/ac/turn_off
- http_request.post:
url: http://192.168.1.124/switch/heater/turn_on
- http_request.post:
url: http://192.168.1.124/switch/fan/turn_on
idle_action:
- switch.turn_off: ac
- switch.turn_off: heater
- switch.turn_off: fan
- http_request.post:
url: http://192.168.1.124/switch/ac/turn_off
- http_request.post:
url: http://192.168.1.124/switch/heater/turn_off
- http_request.post:
url: http://192.168.1.124/switch/fan/turn_off
fan_only_action:
- switch.turn_off: ac
- switch.turn_off: heater
- switch.turn_on: fan
- http_request.post:
url: http://192.168.1.124/switch/ac/turn_off
- http_request.post:
url: http://192.168.1.124/switch/heater/turn_off
- http_request.post:
url: http://192.168.1.124/switch/fan/turn_on
- lambda: !lambda ESP_LOGD("fan", "DA FAN");
default_preset: Home
preset:
- name: Home
default_target_temperature_low: 67 °F
default_target_temperature_high: 78 °F
default_target_temperature_high: 79 °F
- name: Summer
default_target_temperature_low: 60 °F
default_target_temperature_high: 77 °F