mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Replace custom OTA implementation in web_server_base (#9274)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
esphome:
|
||||
name: test-web-server-no-ota-idf
|
||||
|
||||
esp32:
|
||||
board: esp32dev
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
packages:
|
||||
device_base: !include common.yaml
|
||||
|
||||
@@ -6,4 +14,3 @@ packages:
|
||||
web_server:
|
||||
port: 8080
|
||||
version: 2
|
||||
ota: false
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
# 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:
|
||||
@@ -15,17 +13,17 @@ packages:
|
||||
ota:
|
||||
- platform: esphome
|
||||
password: "test_ota_password"
|
||||
- platform: web_server
|
||||
|
||||
# Web server with OTA enabled
|
||||
# Web server configuration
|
||||
web_server:
|
||||
port: 8080
|
||||
version: 2
|
||||
ota: true
|
||||
include_internal: true
|
||||
|
||||
# Enable debug logging for OTA
|
||||
logger:
|
||||
level: DEBUG
|
||||
level: VERBOSE
|
||||
logs:
|
||||
web_server: VERBOSE
|
||||
web_server_idf: VERBOSE
|
||||
|
||||
@@ -1,11 +1,18 @@
|
||||
esphome:
|
||||
name: test-ws-ota-disabled-idf
|
||||
|
||||
esp32:
|
||||
board: esp32dev
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
packages:
|
||||
device_base: !include common.yaml
|
||||
|
||||
# OTA is configured but web_server OTA is disabled
|
||||
# OTA is configured but web_server OTA is NOT included
|
||||
ota:
|
||||
- platform: esphome
|
||||
|
||||
web_server:
|
||||
port: 8080
|
||||
version: 2
|
||||
ota: false
|
||||
|
||||
Reference in New Issue
Block a user