43 lines
675 B
YAML
43 lines
675 B
YAML
esphome:
|
|
name: rack_3_duct_fan
|
|
platform: ESP32
|
|
board: esp32doit-devkit-v1
|
|
|
|
wifi:
|
|
ssid: "kungle-ot"
|
|
password: "ThingsWelcomeToKungle"
|
|
|
|
manual_ip:
|
|
static_ip: 192.168.37.74
|
|
gateway: 192.168.37.1
|
|
subnet: 255.255.255.0
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Rack 3 Duct Fan Fallback Hotspot"
|
|
password: "Ze13rpDX4Qm6"
|
|
|
|
captive_portal:
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
|
|
ota:
|
|
|
|
output:
|
|
- platform: ledc
|
|
pin: GPIO19
|
|
id: gpio_19
|
|
|
|
fan:
|
|
- platform: speed
|
|
output: gpio_19
|
|
name: "rack_3_duct_fan"
|
|
speed:
|
|
low: 0.3
|
|
medium: 0.5
|
|
high: 1.0
|