generated from esphome/esphome-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# These substitutions allow the end user to override certain values | ||
substitutions: | ||
name: "project-template" | ||
|
||
esphome: | ||
name: "${name}" | ||
# Automatically add the mac address to the name | ||
# so you can use a single firmware for all devices | ||
name_add_mac_suffix: true | ||
|
||
# This will allow for (future) project identification, | ||
# configuration and updates. | ||
project: | ||
name: esphome.project-template | ||
version: "1.0" | ||
|
||
esp8266: | ||
board: d1_mini | ||
|
||
# To be able to get logs from the device via serial and api. | ||
logger: | ||
|
||
# API is a requirement of the dashboard import. | ||
api: | ||
|
||
# OTA is required for Over-the-Air updating | ||
ota: | ||
|
||
# This should point to the public location of this yaml file. | ||
dashboard_import: | ||
package_import_url: github://esphome/esphome-project-template/project-template-esp8266.yaml@main | ||
|
||
wifi: | ||
# Set up a wifi access point using the device name above | ||
ap: | ||
password: "12345678" | ||
|
||
# In combination with the `ap` this allows the user | ||
# to provision wifi credentials to the device. | ||
captive_portal: | ||
|
||
|
||
########################################################## | ||
# Most projects should not remove anything from above here | ||
# and should just modify the name, project name/version | ||
# and git url for the dashboard_import | ||
########################################################## | ||
|
||
|
||
# Sets up the improv via serial client for Wi-Fi provisioning. | ||
# Handy if your device has a usb port for the user to add credentials when they first get it. | ||
improv_serial: |