esphome/hvac.yml

71 lines
1.1 KiB
YAML

esphome:
name: hvac
esp32:
board: nodemcu-32s
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
password: ""
ota:
- platform: esphome
password: ""
wifi:
ssid: "Cochrun"
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
ap:
ssid: "Kitchen Fallback Hotspot"
password: "RUfAhbEfZmOU"
captive_portal:
web_server:
port: 80
version: 3
switch:
- platform: gpio
name: heat
pin:
number: 0
mode:
output: true
input: false
inverted: false
id: heater
restore_mode: RESTORE_DEFAULT_OFF
- platform: gpio
name: ac
pin:
number: 4
mode:
output: true
input: false
open_drain: false
inverted: false
id: ac
restore_mode: RESTORE_DEFAULT_OFF
- platform: gpio
name: fan
pin:
number: 16
mode:
output: true
input: false
open_drain: false
inverted: false
id: fan
restore_mode: RESTORE_DEFAULT_OFF