thermostat and hvac work without home assistant
This commit is contained in:
parent
cf2498d819
commit
26ffa6372a
2 changed files with 51 additions and 21 deletions
8
hvac.yml
8
hvac.yml
|
@ -20,6 +20,10 @@ ota:
|
||||||
wifi:
|
wifi:
|
||||||
ssid: "Cochrun"
|
ssid: "Cochrun"
|
||||||
password: "GreasyChicken784"
|
password: "GreasyChicken784"
|
||||||
|
manual_ip:
|
||||||
|
static_ip: 192.168.1.124
|
||||||
|
gateway: 192.168.1.1
|
||||||
|
subnet: 255.255.255.0
|
||||||
|
|
||||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
ap:
|
ap:
|
||||||
|
@ -28,6 +32,10 @@ wifi:
|
||||||
|
|
||||||
captive_portal:
|
captive_portal:
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 80
|
||||||
|
version: 3
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: heat
|
name: heat
|
||||||
|
|
|
@ -75,6 +75,12 @@ wifi:
|
||||||
|
|
||||||
captive_portal:
|
captive_portal:
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 80
|
||||||
|
version: 3
|
||||||
|
|
||||||
|
http_request:
|
||||||
|
|
||||||
i2c:
|
i2c:
|
||||||
- id: bus_a
|
- id: bus_a
|
||||||
sda: GPIO08
|
sda: GPIO08
|
||||||
|
@ -279,35 +285,51 @@ climate:
|
||||||
name: "Thermostat"
|
name: "Thermostat"
|
||||||
sensor: temperature
|
sensor: temperature
|
||||||
humidity_sensor: humidity
|
humidity_sensor: humidity
|
||||||
min_cooling_off_time: 10s
|
min_cooling_off_time: 120s
|
||||||
min_cooling_run_time: 10s
|
min_cooling_run_time: 120s
|
||||||
min_heating_off_time: 10s
|
min_heating_off_time: 120s
|
||||||
min_heating_run_time: 10s
|
min_heating_run_time: 120s
|
||||||
min_fanning_off_time: 10s
|
min_fanning_off_time: 120s
|
||||||
min_fanning_run_time: 10s
|
min_fanning_run_time: 120s
|
||||||
min_idle_time: 30s
|
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:
|
cool_action:
|
||||||
- switch.turn_off: heater
|
- http_request.post:
|
||||||
- switch.turn_on: ac
|
url: http://192.168.1.124/switch/heater/turn_off
|
||||||
- switch.turn_on: fan
|
- 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:
|
heat_action:
|
||||||
- switch.turn_off: ac
|
- http_request.post:
|
||||||
- switch.turn_on: heater
|
url: http://192.168.1.124/switch/ac/turn_off
|
||||||
- switch.turn_on: fan
|
- 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:
|
idle_action:
|
||||||
- switch.turn_off: ac
|
- http_request.post:
|
||||||
- switch.turn_off: heater
|
url: http://192.168.1.124/switch/ac/turn_off
|
||||||
- switch.turn_off: fan
|
- 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:
|
fan_only_action:
|
||||||
- switch.turn_off: ac
|
- http_request.post:
|
||||||
- switch.turn_off: heater
|
url: http://192.168.1.124/switch/ac/turn_off
|
||||||
- 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/fan/turn_on
|
||||||
- lambda: !lambda ESP_LOGD("fan", "DA FAN");
|
- lambda: !lambda ESP_LOGD("fan", "DA FAN");
|
||||||
default_preset: Home
|
default_preset: Home
|
||||||
preset:
|
preset:
|
||||||
- name: Home
|
- name: Home
|
||||||
default_target_temperature_low: 67 °F
|
default_target_temperature_low: 67 °F
|
||||||
default_target_temperature_high: 78 °F
|
default_target_temperature_high: 79 °F
|
||||||
- name: Summer
|
- name: Summer
|
||||||
default_target_temperature_low: 60 °F
|
default_target_temperature_low: 60 °F
|
||||||
default_target_temperature_high: 77 °F
|
default_target_temperature_high: 77 °F
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue