Connect your ESPHome devices.
api
, enter the port of the web_server
as fallbackPort
in the configweb_server
)esphome:
name: <name of your choice>
platform: ESP8266
board: esp01_1m
wifi:
ssid: <YOUR_SSID>
password: <YOUR_PASSWORD>
logger:
ota:
web_server:
port: 80
auth:
username: <USERNAME>
password: <PASSWORD>
switch:
- platform: gpio
name: "Sonoff S20 Relay"
pin: GPIO12