From 36851677a5b605c14d704079dc58c6c751e687a2 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Mon, 20 Oct 2025 10:41:19 -0500 Subject: [PATCH] fix incorrect post of heater --- hvac.yml | 2 +- kitchen.yml | 12 ++++++++++++ relay.yml | 4 ++-- thermostat.yml | 10 +++++----- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/hvac.yml b/hvac.yml index 5a45d72..2b9afe9 100644 --- a/hvac.yml +++ b/hvac.yml @@ -45,7 +45,7 @@ switch: output: true input: false inverted: false - id: heater + id: heat restore_mode: RESTORE_DEFAULT_OFF - platform: gpio name: ac diff --git a/kitchen.yml b/kitchen.yml index 9e02b8b..7c45c6e 100644 --- a/kitchen.yml +++ b/kitchen.yml @@ -18,6 +18,11 @@ ota: wifi: ssid: "Cochrun" password: "GreasyChicken784" + manual_ip: + static_ip: 192.168.1.125 + gateway: 192.168.1.1 + subnet: 255.255.255.0 + # Enable fallback hotspot (captive portal) in case wifi connection fails ap: @@ -26,6 +31,13 @@ wifi: captive_portal: +# web_server: +# port: 80 +# version: 3 + +# http_request: +# verify_ssl: false + i2c: sda: GPIO4 scl: GPIO5 diff --git a/relay.yml b/relay.yml index 7e17add..be3ab44 100644 --- a/relay.yml +++ b/relay.yml @@ -36,9 +36,9 @@ switch: output: true input: false inverted: false - id: heater + id: heat - platform: gpio - name: cool + name: ac pin: number: 4 mode: diff --git a/thermostat.yml b/thermostat.yml index d465844..a40afb1 100644 --- a/thermostat.yml +++ b/thermostat.yml @@ -18,7 +18,7 @@ esp32: flash_size: 8MB framework: type: esp-idf - version: latest + version: recommended sdkconfig_options: CONFIG_IDF_TARGET: "esp32s3" CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240: y @@ -298,7 +298,7 @@ climate: heat_overrun: 0.5 °F cool_action: - http_request.post: - url: http://192.168.1.124/switch/heater/turn_off + url: http://192.168.1.124/switch/heat/turn_off - http_request.post: url: http://192.168.1.124/switch/ac/turn_on - http_request.post: @@ -307,21 +307,21 @@ climate: - 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 + url: http://192.168.1.124/switch/heat/turn_on - http_request.post: url: http://192.168.1.124/switch/fan/turn_on idle_action: - 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 + url: http://192.168.1.124/switch/heat/turn_off - http_request.post: url: http://192.168.1.124/switch/fan/turn_off fan_only_action: - 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 + url: http://192.168.1.124/switch/heat/turn_off - http_request.post: url: http://192.168.1.124/switch/fan/turn_on - lambda: !lambda ESP_LOGD("fan", "DA FAN");