homeassistant-config/esphome/aussensensor.yaml

43 lines
786 B
YAML

esphome:
name: aussensensor
platform: ESP32
board: nodemcu-32s
wifi:
ssid: "Voltage-legacy"
password: !secret voltage_legacy_psk
use_address: aussensensor.home
power_save_mode: high
fast_connect: on
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Aussensensor Fallback Hotspot"
password: !secret fallback_psk
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: !secret ota
# DHT22 sensor
sensor:
- platform: dht
model: dht22
pin: 25
temperature:
name: "Temperatur außen"
humidity:
name: "Luftfeuchtigkeit außen"
update_interval: 60s
# WiFi signal strength
- platform: wifi_signal
name: "WiFi Signalstärke"
update_interval: 60s