Educational Resources for Educators

Recent Posts

YAML Example

esphome:
  name: braai-area-lights-and-temp
  friendly_name: Braai Area Lights and Temp
esp8266:
  board: d1
# Enable logging
logger:
# Enable Home Assistant API
api:
  encryption:
    key: “XXXX”
ota:
  password: “XXXX”
wifi:
  ssid: “XXXX”
  password: “XXXX”
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: “XXXX”
    password: “XXXX”
captive_portal:
switch:
  – platform: gpio
    pin: D6
    name: “XXXX”
#    inverted: True
  – platform: gpio
    pin: D7
    name: “XXXX”
#    inverted: True
sensor:
  – platform: dht
    pin: D3
    temperature:
      name: “XXXX”
    humidity:
      name: “XXXX”
    update_interval: 1000s