This commit is contained in:
John Dillenburg
2024-11-24 15:47:04 -06:00
parent 560c3f2747
commit d1578f36e0
31 changed files with 3086 additions and 0 deletions

48
trash/hires-camera.yaml Normal file
View File

@@ -0,0 +1,48 @@
esphome:
name: hires-camera
friendly_name: HiRes Camera
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "6qCk7lS2wL6m4yWXWy/9vj1/sY2nS3PBHEQNnS3b4z8="
ota:
password: "659656f65e27665316018491a0b247ba"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Hires-Camera Fallback Hotspot"
password: "FMUtqFrZ3eUN"
captive_portal:
esp32_camera:
external_clock:
pin: GPIO21
frequency: 20MHz
i2c_pins:
sda: GPIO26
scl: GPIO27
data_pins: [GPIO4, GPIO5, GPIO18, GPIO19, GPIO36, GPIO39, GPIO34, GPIO35]
vsync_pin: GPIO25
href_pin: GPIO23
pixel_clock_pin: GPIO22
# Image settings
name: Camera
resolution: 1600x1200
jpeg_quality: 20
max_framerate: 20 fps