Added serverroom temp/humid sensor.

This commit is contained in:
Marcus Scholz 2021-10-08 15:57:20 +02:00
parent b1c1f1a975
commit 7a364af59e

52
esphome/serverroom.yaml Normal file
View File

@ -0,0 +1,52 @@
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