esphome:
name: esp32-test
esp32:
board: nodemcu-32s
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "Utkf3SnmU2Z/yyZO1rv9GyAtBpFP+nbFa75vd/dD4gY="
ota:
password: "5ac19e601781878f317eb1713330ad56"
# Example configuration entry
wifi:
ssid: "***"
password: "******"
# Optional manual IP
manual_ip:
static_ip: 192.168.0.250
gateway: 192.168.0.1
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp32-Test Fallback Hotspot"
password: "v36CpzYj0zIy"
# Example configuration entry
web_server:
port: 80
version: 1
captive_portal:
switch: #HA -) ESP -) Pin
- platform: gpio
pin: 2 #External LED switching
name: "External LED"
id: external_led