53 lines
798 B
YAML
53 lines
798 B
YAML
esphome:
|
|
name: server-room
|
|
friendly_name: server-room
|
|
|
|
esp32:
|
|
board: esp32dev
|
|
framework:
|
|
type: arduino
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
web_server:
|
|
|
|
captive_portal:
|
|
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
encryption:
|
|
key: "YHBbwijRWhlB6U2rRpTQHc0VivDDMz5HEuRkGoj+jr4="
|
|
|
|
ota:
|
|
platform: esphome
|
|
password: !secret ota
|
|
|
|
wifi:
|
|
ssid: !secret wifi_ssid
|
|
password: !secret wifi_password
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Server-Room Fallback Hotspot"
|
|
password: "UdiLJzrZq12a"
|
|
|
|
|
|
switch:
|
|
- platform: gpio
|
|
name: "3D printer light"
|
|
pin:
|
|
number: 13
|
|
inverted: true
|
|
|
|
|
|
sensor:
|
|
- platform: dht
|
|
pin: 4
|
|
temperature:
|
|
name: "Server room Temperature"
|
|
humidity:
|
|
name: "Server room Humidity"
|
|
|
|
|