|
| 1 | +# These substitutions allow the end user to override certain values |
| 2 | +substitutions: |
| 3 | + name: "project-template" |
| 4 | + |
| 5 | +esphome: |
| 6 | + name: "${name}" |
| 7 | + # Automatically add the mac address to the name |
| 8 | + # so you can use a single firmware for all devices |
| 9 | + name_add_mac_suffix: true |
| 10 | + |
| 11 | + # This will allow for (future) project identification, |
| 12 | + # configuration and updates. |
| 13 | + project: |
| 14 | + name: esphome.project-template |
| 15 | + version: "1.0" |
| 16 | + |
| 17 | +esp32: |
| 18 | + board: esp32dev |
| 19 | + framework: |
| 20 | + type: arduino |
| 21 | + |
| 22 | +# To be able to get logs from the device via serial and api. |
| 23 | +logger: |
| 24 | + |
| 25 | +# API is a requirement of the dashboard import. |
| 26 | +api: |
| 27 | + |
| 28 | +# OTA is required for Over-the-Air updating |
| 29 | +ota: |
| 30 | + |
| 31 | +# This should point to the public location of this yaml file. |
| 32 | +dashboard_import: |
| 33 | + package_import_url: github://esphome/esphome-project-template/project-template-esp32.yaml@main |
| 34 | + |
| 35 | +wifi: |
| 36 | + # Set up a wifi access point using the device name above |
| 37 | + ap: |
| 38 | + password: "12345678" |
| 39 | + |
| 40 | +# In combination with the `ap` this allows the user |
| 41 | +# to provision wifi credentials to the device. |
| 42 | +captive_portal: |
| 43 | + |
| 44 | +########################################################## |
| 45 | +# Most projects should not remove anything from above here |
| 46 | +# and should just modify the name, project name/version |
| 47 | +# and git url for the dashboard_import |
| 48 | +########################################################## |
| 49 | + |
| 50 | + |
| 51 | +# Sets up Bluetooth LE (Only on ESP32) to allow the user |
| 52 | +# to provision wifi credentials to the device. |
| 53 | +esp32_improv: |
| 54 | + authorizer: none |
| 55 | + |
| 56 | +# Sets up the improv via serial client for Wi-Fi provisioning. |
| 57 | +# Handy if your device has a usb port for the user to add credentials when they first get it. |
| 58 | +improv_serial: |
0 commit comments