32 lines
566 B
YAML
32 lines
566 B
YAML
esphome:
|
|
name: newdevice
|
|
friendly_name: NewDevice
|
|
|
|
esp32:
|
|
board: esp32-c3-devkitm-1
|
|
framework:
|
|
type: esp-idf
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
encryption:
|
|
key: "ZVsOBKxrOBE5O8Hsidt14aLwfktSCbjsOJZqP3Xx3Uc="
|
|
|
|
ota:
|
|
- platform: esphome
|
|
password: "e4fb2969e2a9caaffefe1f89d49f1adb"
|
|
|
|
wifi:
|
|
ssid: !secret wifi_ssid
|
|
password: !secret wifi_password
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Newdevice Fallback Hotspot"
|
|
password: "Fcmsm49HcOB1"
|
|
|
|
captive_portal:
|
|
|