fix incorrect post of heater
This commit is contained in:
parent
26ffa6372a
commit
36851677a5
4 changed files with 20 additions and 8 deletions
2
hvac.yml
2
hvac.yml
|
|
@ -45,7 +45,7 @@ switch:
|
||||||
output: true
|
output: true
|
||||||
input: false
|
input: false
|
||||||
inverted: false
|
inverted: false
|
||||||
id: heater
|
id: heat
|
||||||
restore_mode: RESTORE_DEFAULT_OFF
|
restore_mode: RESTORE_DEFAULT_OFF
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: ac
|
name: ac
|
||||||
|
|
|
||||||
12
kitchen.yml
12
kitchen.yml
|
|
@ -18,6 +18,11 @@ ota:
|
||||||
wifi:
|
wifi:
|
||||||
ssid: "Cochrun"
|
ssid: "Cochrun"
|
||||||
password: "GreasyChicken784"
|
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
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
ap:
|
ap:
|
||||||
|
|
@ -26,6 +31,13 @@ wifi:
|
||||||
|
|
||||||
captive_portal:
|
captive_portal:
|
||||||
|
|
||||||
|
# web_server:
|
||||||
|
# port: 80
|
||||||
|
# version: 3
|
||||||
|
|
||||||
|
# http_request:
|
||||||
|
# verify_ssl: false
|
||||||
|
|
||||||
i2c:
|
i2c:
|
||||||
sda: GPIO4
|
sda: GPIO4
|
||||||
scl: GPIO5
|
scl: GPIO5
|
||||||
|
|
|
||||||
|
|
@ -36,9 +36,9 @@ switch:
|
||||||
output: true
|
output: true
|
||||||
input: false
|
input: false
|
||||||
inverted: false
|
inverted: false
|
||||||
id: heater
|
id: heat
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: cool
|
name: ac
|
||||||
pin:
|
pin:
|
||||||
number: 4
|
number: 4
|
||||||
mode:
|
mode:
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ esp32:
|
||||||
flash_size: 8MB
|
flash_size: 8MB
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: latest
|
version: recommended
|
||||||
sdkconfig_options:
|
sdkconfig_options:
|
||||||
CONFIG_IDF_TARGET: "esp32s3"
|
CONFIG_IDF_TARGET: "esp32s3"
|
||||||
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240: y
|
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240: y
|
||||||
|
|
@ -298,7 +298,7 @@ climate:
|
||||||
heat_overrun: 0.5 °F
|
heat_overrun: 0.5 °F
|
||||||
cool_action:
|
cool_action:
|
||||||
- http_request.post:
|
- 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:
|
- http_request.post:
|
||||||
url: http://192.168.1.124/switch/ac/turn_on
|
url: http://192.168.1.124/switch/ac/turn_on
|
||||||
- http_request.post:
|
- http_request.post:
|
||||||
|
|
@ -307,21 +307,21 @@ climate:
|
||||||
- http_request.post:
|
- http_request.post:
|
||||||
url: http://192.168.1.124/switch/ac/turn_off
|
url: http://192.168.1.124/switch/ac/turn_off
|
||||||
- http_request.post:
|
- 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:
|
- http_request.post:
|
||||||
url: http://192.168.1.124/switch/fan/turn_on
|
url: http://192.168.1.124/switch/fan/turn_on
|
||||||
idle_action:
|
idle_action:
|
||||||
- http_request.post:
|
- http_request.post:
|
||||||
url: http://192.168.1.124/switch/ac/turn_off
|
url: http://192.168.1.124/switch/ac/turn_off
|
||||||
- http_request.post:
|
- 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:
|
- http_request.post:
|
||||||
url: http://192.168.1.124/switch/fan/turn_off
|
url: http://192.168.1.124/switch/fan/turn_off
|
||||||
fan_only_action:
|
fan_only_action:
|
||||||
- http_request.post:
|
- http_request.post:
|
||||||
url: http://192.168.1.124/switch/ac/turn_off
|
url: http://192.168.1.124/switch/ac/turn_off
|
||||||
- http_request.post:
|
- 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:
|
- http_request.post:
|
||||||
url: http://192.168.1.124/switch/fan/turn_on
|
url: http://192.168.1.124/switch/fan/turn_on
|
||||||
- lambda: !lambda ESP_LOGD("fan", "DA FAN");
|
- lambda: !lambda ESP_LOGD("fan", "DA FAN");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue