-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add variants, remove 8266, split yaml for adoption (#16)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
- Loading branch information
1 parent
42ac000
commit e7f479d
Showing
8 changed files
with
185 additions
and
12 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
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
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,41 @@ | ||
esphome: | ||
name: project-template | ||
friendly_name: Project Template | ||
# 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 project identification, | ||
# configuration and updates. | ||
project: | ||
name: esphome.project-template | ||
version: "1.0" | ||
|
||
esp32: | ||
board: esp32dev | ||
framework: | ||
type: esp-idf | ||
|
||
# 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: | ||
- platform: esphome | ||
|
||
wifi: | ||
# Set up a wifi access point using the device name above | ||
ap: | ||
|
||
# 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 | ||
########################################################## |
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,35 @@ | ||
esphome: | ||
name: project-template | ||
friendly_name: Project Template | ||
# 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 project identification, | ||
# configuration and updates. | ||
project: | ||
name: esphome.project-template | ||
version: "1.0" | ||
|
||
esp32: | ||
board: esp32-c3-devkitm-1 | ||
framework: | ||
type: esp-idf | ||
|
||
# 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: | ||
- platform: esphome | ||
|
||
wifi: | ||
# Set up a wifi access point using the device name above | ||
ap: | ||
|
||
# In combination with the `ap` this allows the user | ||
# to provision wifi credentials to the device. | ||
captive_portal: |
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
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
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,36 @@ | ||
esphome: | ||
name: project-template | ||
friendly_name: Project Template | ||
# 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 project identification, | ||
# configuration and updates. | ||
project: | ||
name: esphome.project-template | ||
version: "1.0" | ||
|
||
esp32: | ||
board: esp32-s3-devkitc-1 | ||
variant: esp32s3 | ||
framework: | ||
type: esp-idf | ||
|
||
# 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: | ||
- platform: esphome | ||
|
||
wifi: | ||
# Set up a wifi access point using the device name above | ||
ap: | ||
|
||
# In combination with the `ap` this allows the user | ||
# to provision wifi credentials to the device. | ||
captive_portal: |
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,56 @@ | ||
esphome: | ||
name: project-template | ||
friendly_name: Project Template | ||
# 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 project identification, | ||
# configuration and updates. | ||
project: | ||
name: esphome.project-template | ||
version: "1.0" | ||
|
||
esp32: | ||
board: esp32-s3-devkitc-1 | ||
variant: esp32s3 | ||
framework: | ||
type: esp-idf | ||
|
||
# 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: | ||
- platform: esphome | ||
|
||
# This should point to the public location of this yaml file. | ||
dashboard_import: | ||
package_import_url: github://esphome/esphome-project-template/project-template-esp32-s3-adopt.yaml@main | ||
|
||
wifi: | ||
# Set up a wifi access point using the device name above | ||
ap: | ||
|
||
# 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 Bluetooth LE (Only on ESP32) to allow the user | ||
# to provision wifi credentials to the device. | ||
esp32_improv: | ||
authorizer: none | ||
|
||
# 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: |