44 lines
816 B
YAML
44 lines
816 B
YAML
substitutions:
|
|
name: esp-web-tools-example
|
|
friendly_name: ESP Web Tools Example
|
|
|
|
esphome:
|
|
name: "${name}"
|
|
friendly_name: "${friendly_name}"
|
|
min_version: 2024.6.0
|
|
name_add_mac_suffix: true
|
|
project:
|
|
name: esphome.esp_web_tools_example
|
|
version: dev
|
|
|
|
esp8266:
|
|
board: esp01_1m
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
|
|
# Allow OTA updates
|
|
ota:
|
|
- platform: esphome
|
|
|
|
# Allow provisioning Wi-Fi via serial
|
|
improv_serial:
|
|
|
|
wifi:
|
|
# Set up a wifi access point
|
|
ap:
|
|
ssid: "ESP Web Tools"
|
|
|
|
# In combination with the `ap` this allows the user
|
|
# to provision wifi credentials to the device via WiFi AP.
|
|
captive_portal:
|
|
|
|
dashboard_import:
|
|
package_import_url: github://esphome/example-configs/esp-web-tools/esp8266.yaml@main
|
|
|
|
# To have a "next url" for improv serial
|
|
web_server:
|