42 lines
693 B
YAML
42 lines
693 B
YAML
esphome:
|
|
name: office
|
|
|
|
esp8266:
|
|
board: nodemcuv2
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
password: ""
|
|
|
|
ota:
|
|
- platform: esphome
|
|
password: ""
|
|
|
|
wifi:
|
|
ssid: "REALM_NETWORK"
|
|
password: "EineAlteDummeGanzHatEier"
|
|
|
|
manual_ip:
|
|
static_ip: 192.168.0.108
|
|
gateway: 192.168.0.1
|
|
subnet: 255.255.255.0
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Office Fallback Hotspot"
|
|
password: "N5sovYEZh24d"
|
|
|
|
captive_portal:
|
|
|
|
sensor:
|
|
- platform: dht
|
|
model: DHT22
|
|
pin: D1
|
|
temperature:
|
|
name: "Office Room Temperature"
|
|
humidity:
|
|
name: "Office Room Humidity"
|
|
update_interval: 60s |