Files
esphome/rack_3_duct_fan_pwr.yaml
2021-11-27 17:39:51 -08:00

56 lines
936 B
YAML

esphome:
name: rack_3_duct_fan_pwr
platform: ESP8266
board: esp01_1m
wifi:
ssid: kungle-ot
password: ThingsWelcomeToKungle
manual_ip:
static_ip: 192.168.37.68
gateway: 192.168.37.1
subnet: 255.255.255.0
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
# binary_sensor:
# - platform: gpio
# pin:
# number: GPIO4
# mode: INPUT_PULLUP
# inverted: True
# name: "Rack 3 Duct Fan Power Button"
# on_press:
# - switch.toggle: relay
switch:
- platform: gpio
name: "Rack 3 Duct Fan Power Relay"
pin: GPIO14
id: relay
status_led:
pin:
number: GPIO12
inverted: yes
# sensor:
# - platform: wifi_signal
# name: "Rack 3 Duct Fan Power WiFi Signal"
# update_interval: 60s
# - platform: uptime
# name: "Rack 3 Duct Fan Power uptime"
# text_sensor:
# - platform: version
# name: "Rack 3 Duct Fan Power ESPHome Version"