38 lines
553 B
YAML
38 lines
553 B
YAML
esphome:
|
|
name: outside_temp_humd
|
|
platform: ESP8266
|
|
board: d1_mini
|
|
|
|
wifi:
|
|
ssid: "zoesplace"
|
|
password: "PalDgk19591960"
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Outside-Temp-Humd"
|
|
password: "1kmZsOcaCm44"
|
|
|
|
captive_portal:
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
|
|
ota:
|
|
|
|
i2c:
|
|
sda: D2
|
|
scl: D1
|
|
scan: True
|
|
id: bus_a
|
|
|
|
sensor:
|
|
- platform: dht12
|
|
temperature:
|
|
name: "Outside Temperature"
|
|
humidity:
|
|
name: "Outside Humidity"
|
|
update_interval: 60s
|