2021-08-24 13:08:35 +02:00
|
|
|
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:
|
2021-10-08 11:27:55 +02:00
|
|
|
encryption:
|
|
|
|
key: !secret apikey
|
2021-08-24 13:08:35 +02:00
|
|
|
|
|
|
|
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
|