Files
esphome/rack_2.yaml
2020-12-27 20:09:29 -08:00

77 lines
1.3 KiB
YAML

esphome:
name: rack_2
platform: ESP32
board: esp32doit-devkit-v1
wifi:
ssid: "kungle-ot"
password: "ThingsWelcomeToKungle"
manual_ip:
static_ip: 192.168.37.76
gateway: 192.168.37.1
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Server 2 Fallback Hotspot"
password: "kRzC55vFjigT"
captive_portal:
output:
- platform: ledc
pin: GPIO13
id: gpio_13
- platform: ledc
pin: GPIO22
id: gpio_22
fan:
- platform: speed
output: gpio_13
name: "rack_2_duct_fan"
speed:
low: 0.3
medium: 0.5
high: 1.0
- platform: speed
output: gpio_22
name: "rack_2_wall_fan"
speed:
low: 0.3
medium: 0.5
high: 1.0
sensor:
- platform: pulse_counter
pin:
number: GPIO23
mode: INPUT_PULLUP
unit_of_measurement: 'RPM'
name: "rack_2_wall_fan_speed"
update_interval: 10s
filters:
- multiply: 0.5
- platform: dallas
address: 0xB801143296ED7B28
name: "rack_2_cold_temp"
- platform: dallas
address: 0x1D01143296570128
name: "rack_2_hot_temp"
dallas:
- pin:
number: GPIO32
mode: INPUT_PULLUP
update_interval: 10s
# Enable logging
logger:
level: DEBUG
# Enable Home Assistant API
api:
ota: