53 lines
962 B
YAML
53 lines
962 B
YAML
|
esphome:
|
||
|
name: serverroom
|
||
|
platform: ESP32
|
||
|
board: nodemcu-32s
|
||
|
on_boot:
|
||
|
priority: -10
|
||
|
then:
|
||
|
- delay: 10s
|
||
|
- component.update: eink
|
||
|
|
||
|
wifi:
|
||
|
ssid: "Voltage-legacy"
|
||
|
password: !secret voltage_legacy_psk
|
||
|
use_address: serverroom.home
|
||
|
power_save_mode: high
|
||
|
fast_connect: on
|
||
|
|
||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||
|
ap:
|
||
|
ssid: "Serverroom Fallback Hotspot"
|
||
|
password: !secret fallback_psk
|
||
|
|
||
|
captive_portal:
|
||
|
|
||
|
# Enable logging
|
||
|
logger:
|
||
|
|
||
|
# Enable Home Assistant API
|
||
|
api:
|
||
|
password: !secret api
|
||
|
encryption:
|
||
|
key: !secret apikey
|
||
|
|
||
|
ota:
|
||
|
password: !secret ota
|
||
|
|
||
|
# DHT22 sensor
|
||
|
sensor:
|
||
|
- platform: dht
|
||
|
model: dht22
|
||
|
pin: 22
|
||
|
temperature:
|
||
|
name: "Temperatur Serverraum"
|
||
|
humidity:
|
||
|
name: "Luftfeuchtigkeit Serverraum"
|
||
|
update_interval: 60s
|
||
|
|
||
|
# WiFi signal strength
|
||
|
- platform: wifi_signal
|
||
|
name: "WiFi Signalstärke"
|
||
|
id: wifisignal
|
||
|
update_interval: 60s
|