70 lines
1.2 KiB
YAML
70 lines
1.2 KiB
YAML
esphome:
|
|
name: esphome-test
|
|
platform: ESP32
|
|
board: esp32dev
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
|
|
ota:
|
|
password: "43d59971c41accde738ca62238a7f6e9"
|
|
|
|
wifi:
|
|
ssid: "EasyBox-368239"
|
|
password: "inginf95"
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Esphome-Test Fallback Hotspot"
|
|
password: "XGUHn79QsuAb"
|
|
|
|
mqtt:
|
|
broker: montana2020
|
|
port: 1884
|
|
username: nils
|
|
password: inginf95
|
|
|
|
i2c:
|
|
sda: 21
|
|
scl: 22
|
|
scan: true
|
|
id: bus_a
|
|
|
|
switch:
|
|
- platform: gpio
|
|
name: "LED"
|
|
pin: GPIO2
|
|
|
|
sensor:
|
|
- platform: mqtt_subscribe
|
|
name: "Temperatur Büro"
|
|
id: DachTemperatur
|
|
topic: stat/Dach/MA/temperature
|
|
- platform: wifi_signal
|
|
name: "WiFi Signal Sensor"
|
|
update_interval: 60s
|
|
- platform: uptime
|
|
name: Uptime Sensor
|
|
- platform: esp32_hall
|
|
name: "ESP32 Hall Sensor"
|
|
update_interval: 60s
|
|
- platform: bmp280
|
|
temperature:
|
|
name: "BME280 Temperature"
|
|
oversampling: 16x
|
|
pressure:
|
|
name: "BME280 Pressure"
|
|
address: 0x76
|
|
update_interval: 60s
|
|
|
|
web_server:
|
|
port: 80
|
|
auth:
|
|
username: nils
|
|
password: inginf95
|
|
|
|
captive_portal:
|