Skip to content

Commit e03bfc5

Browse files
authored
Add http ota update (#36)
1 parent e52043e commit e03bfc5

File tree

4 files changed

+46
-0
lines changed

4 files changed

+46
-0
lines changed

project-template-esp32-c3.factory.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,14 @@ esp32_improv:
2323
# Sets up the improv via serial client for Wi-Fi provisioning.
2424
# Handy if your device has a usb port for the user to add credentials when they first get it.
2525
improv_serial:
26+
27+
# Used to pull OTA updates
28+
http_request:
29+
30+
ota:
31+
- platform: http_request
32+
33+
update:
34+
- platform: http_request
35+
name: Firmware
36+
source: https://github.com/esphome/esphome-project-template/releases/latest/download/project-template.manifest.json

project-template-esp32-c6.factory.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,14 @@ esp32_improv:
2323
# Sets up the improv via serial client for Wi-Fi provisioning.
2424
# Handy if your device has a usb port for the user to add credentials when they first get it.
2525
improv_serial:
26+
27+
# Used to pull OTA updates
28+
http_request:
29+
30+
ota:
31+
- platform: http_request
32+
33+
update:
34+
- platform: http_request
35+
name: Firmware
36+
source: https://github.com/esphome/esphome-project-template/releases/latest/download/project-template.manifest.json

project-template-esp32-s3.factory.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,14 @@ esp32_improv:
2323
# Sets up the improv via serial client for Wi-Fi provisioning.
2424
# Handy if your device has a usb port for the user to add credentials when they first get it.
2525
improv_serial:
26+
27+
# Used to pull OTA updates
28+
http_request:
29+
30+
ota:
31+
- platform: http_request
32+
33+
update:
34+
- platform: http_request
35+
name: Firmware
36+
source: https://github.com/esphome/esphome-project-template/releases/latest/download/project-template.manifest.json

project-template-esp32.factory.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,16 @@ esp32_improv:
2323
# Sets up the improv via serial client for Wi-Fi provisioning.
2424
# Handy if your device has a usb port for the user to add credentials when they first get it.
2525
improv_serial:
26+
27+
# Used to pull OTA updates
28+
http_request:
29+
30+
ota:
31+
- platform: http_request
32+
id: ota_http_request
33+
34+
update:
35+
- platform: http_request
36+
name: None
37+
id: update_http_request
38+
source: https://github.com/esphome/esphome-project-template/releases/latest/download/project-template.manifest.json

0 commit comments

Comments
 (0)