38 lines
576 B
YAML
38 lines
576 B
YAML
esphome:
|
|
name: temp
|
|
|
|
esp8266:
|
|
board: d1_mini
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
password: ""
|
|
|
|
ota:
|
|
password: ""
|
|
|
|
wifi:
|
|
ssid: "heim"
|
|
password: "0ggnWLS."
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Temp Fallback Hotspot"
|
|
# secrets.yml: wifi_password: "xxx"
|
|
password: !secret wifi_password
|
|
|
|
|
|
sensor:
|
|
- platform: dht
|
|
pin: D2
|
|
temperature:
|
|
name: "Mobile Sensor Temperature"
|
|
humidity:
|
|
name: "Mobile Sensor Humidity"
|
|
update_interval: 30s
|
|
|
|
captive_portal:
|
|
|