48 lines
900 B
YAML
48 lines
900 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
|
|
platformio_options:
|
|
board_build.flash_mode: dio
|
|
project:
|
|
name: esphome.esp_web_tools_example
|
|
version: dev
|
|
|
|
esp32:
|
|
board: esp32-s2-saola-1
|
|
framework:
|
|
type: arduino
|
|
|
|
# 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/firmware/esp-web-tools/esp32s2.yaml@main
|
|
|
|
# To have a "next url" for improv serial
|
|
web_server:
|