mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Add OTA support to ESP-IDF webserver (#9264)
This commit is contained in:
		
							
								
								
									
										32
									
								
								tests/components/web_server/test_ota.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								tests/components/web_server/test_ota.esp32-idf.yaml
									
									
									
									
									
										Normal 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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user