Add web server configuration and enhance camera settings for ESP32-H2C

This commit is contained in:
Joshua King
2026-02-13 10:41:08 -05:00
parent 703b5117df
commit ed0648866a
3 changed files with 173 additions and 9 deletions

View File

@@ -31,6 +31,9 @@ wifi:
ssid: "${friendly_name} Fallback"
password: !secret fallback_password
web_server:
port: 80
captive_portal:
i2c:
@@ -63,15 +66,15 @@ esp32_camera:
name: ${device_name}
brightness: 1
#contrast: 0
agc_gain_ceiling: 2X
agc_mode: MANUAL
agc_value: 5
# agc_gain_ceiling: 2X
# agc_mode: MANUAL
# agc_value: 5
# ...
esp32_camera_web_server:
- port: 80
mode: STREAM
- port: 8080
mode: STREAM
- port: 8081
mode: SNAPSHOT
switch:

View File

@@ -55,10 +55,10 @@ esp32_camera:
pixel_clock_pin: GPIO15
# Start conservative for reliability; increase later if stable.
resolution: 640x480
jpeg_quality: 12
max_framerate: 10 fps
idle_framerate: 0.2 fps
resolution: 800x600
jpeg_quality: 15
max_framerate: 20 fps
idle_framerate: 0.05 fps
frame_buffer_count: 1
# Common orientation defaults for this module.