1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Add OTA support to ESP-IDF webserver (#9264)

This commit is contained in:
J. Nick Koston
2025-06-30 22:21:11 -05:00
committed by GitHub
parent e3ccb9b46c
commit 16ef5a9377
17 changed files with 788 additions and 44 deletions

View File

@@ -0,0 +1,9 @@
packages:
device_base: !include common.yaml
# No OTA component defined for this test
web_server:
port: 8080
version: 2
ota: false

View File

@@ -0,0 +1,32 @@
# Test configuration for ESP-IDF web server with OTA enabled
esphome:
name: test-web-server-ota-idf
# Force ESP-IDF framework
esp32:
board: esp32dev
framework:
type: esp-idf
packages:
device_base: !include common.yaml
# Enable OTA for multipart upload testing
ota:
- platform: esphome
password: "test_ota_password"
# Web server with OTA enabled
web_server:
port: 8080
version: 2
ota: true
include_internal: true
# Enable debug logging for OTA
logger:
level: DEBUG
logs:
web_server: VERBOSE
web_server_idf: VERBOSE

View File

@@ -0,0 +1,11 @@
packages:
device_base: !include common.yaml
# OTA is configured but web_server OTA is disabled
ota:
- platform: esphome
web_server:
port: 8080
version: 2
ota: false