Updates
This commit is contained in:
@@ -55,12 +55,12 @@ esp32_camera:
|
||||
href_pin: GPIO23
|
||||
pixel_clock_pin: GPIO22
|
||||
power_down_pin: GPIO32
|
||||
resolution: 640x480
|
||||
resolution: 640X480
|
||||
jpeg_quality: 20
|
||||
vertical_flip: False
|
||||
horizontal_mirror: False
|
||||
max_framerate: 22 fps
|
||||
idle_framerate: 0.1 fps
|
||||
max_framerate: 20 fps
|
||||
idle_framerate: 0.05 fps
|
||||
|
||||
# Image settings
|
||||
name: ${device_name}
|
||||
|
||||
@@ -50,20 +50,20 @@ esp32_camera:
|
||||
href_pin: GPIO23
|
||||
pixel_clock_pin: GPIO22
|
||||
power_down_pin: GPIO32
|
||||
resolution: 800x600
|
||||
jpeg_quality: 15
|
||||
resolution: 1024x768
|
||||
jpeg_quality: 20
|
||||
vertical_flip: False
|
||||
horizontal_mirror: False
|
||||
max_framerate: 20 fps
|
||||
max_framerate: 40 fps
|
||||
idle_framerate: 0.05 fps
|
||||
|
||||
# Image settings
|
||||
name: esp32-jordyn-a1-cam
|
||||
brightness: 1
|
||||
#contrast: 0
|
||||
agc_gain_ceiling: 2X
|
||||
agc_mode: MANUAL
|
||||
agc_value: 5
|
||||
# brightness: 1
|
||||
# #contrast: 0
|
||||
# agc_gain_ceiling: 2X
|
||||
# agc_mode: MANUAL
|
||||
# agc_value: 5
|
||||
# ...
|
||||
|
||||
esp32_camera_web_server:
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
substitutions:
|
||||
device_name: polly-a1-mini-camera
|
||||
friendly_name: "Polly's A1 Camera"
|
||||
|
||||
esphome:
|
||||
name: polly-a1-mini-camera
|
||||
friendly_name: polly-a1-mini-camera
|
||||
name: ${device_name}
|
||||
friendly_name: ${friendly_name}
|
||||
|
||||
esp32:
|
||||
board: esp32dev
|
||||
@@ -10,6 +14,7 @@ esp32:
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
level: INFO
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
@@ -21,16 +26,20 @@ ota:
|
||||
password: "58f86a5e60abe60886cec2f65a1d3da5"
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
ssid: !secret wifi_iot_ssid
|
||||
password: !secret wifi_password
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "Polly-A1-Mini-Camera"
|
||||
password: "7so1xpjNMIMr"
|
||||
ssid: "${friendly_name} Fallback"
|
||||
password: !secret wifi_password
|
||||
|
||||
captive_portal:
|
||||
|
||||
# Web server for standalone control (optional, but useful)
|
||||
web_server:
|
||||
port: 80
|
||||
|
||||
i2c:
|
||||
- id: camera_i2c
|
||||
sda: GPIO26
|
||||
@@ -50,14 +59,15 @@ esp32_camera:
|
||||
href_pin: GPIO23
|
||||
pixel_clock_pin: GPIO22
|
||||
power_down_pin: GPIO32
|
||||
resolution: 800x600
|
||||
resolution: 1024X768
|
||||
jpeg_quality: 20
|
||||
#horizontal_mirror: False
|
||||
vertical_flip: False
|
||||
horizontal_mirror: True
|
||||
max_framerate: 20 fps
|
||||
idle_framerate: 0.05 fps
|
||||
|
||||
# Image settings
|
||||
name: esp32-polly-a1-mini-cam
|
||||
name: ${device_name}
|
||||
# brightness: 1
|
||||
# contrast: 0
|
||||
# agc_gain_ceiling: 2X
|
||||
@@ -66,13 +76,13 @@ esp32_camera:
|
||||
# ...
|
||||
|
||||
esp32_camera_web_server:
|
||||
- port: 80
|
||||
mode: STREAM
|
||||
- port: 8080
|
||||
mode: STREAM
|
||||
- port: 8081
|
||||
mode: SNAPSHOT
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
name: "polly-a1-mini-cam-flash"
|
||||
name: "${device_name}-flash"
|
||||
pin: 4
|
||||
|
||||
Reference in New Issue
Block a user