Files
esphome-configs/mcu-cam-1.yaml
Roman Priesol 7c9aae0a7d Fix trailing spaces and missing newlines in all mcu-*.yaml files
Bulk cleanup: remove trailing whitespace and ensure files end with a
newline. Structural issues (indentation, bracket spacing) left for
per-file fixes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-19 11:22:12 +01:00

56 lines
829 B
YAML

substitutions:
device: cam-1
name: Cam 1
area: DEV
comment: "${area} | Camera"
esphome:
name: mcu-${device}
friendly_name: ${name}
area: ${area}
comment: ${comment}
esp32:
# board: esp32cam
variant: esp32
framework:
type: esp-idf
packages:
common: !include common/common.yaml
i2c:
id: i2c_bus
sda: 26
scl: 27
scan: true
psram:
mode: quad
speed: 40MHz
esp32_camera:
name: Camera
external_clock:
pin: 0
frequency: 20MHz
i2c_id: i2c_bus
data_pins: [5, 18, 19, 21, 36, 39, 34, 35]
vsync_pin: 25
href_pin: 23
pixel_clock_pin: 22
# power_down_pin: 32
switch:
- platform: gpio
pin: 32
restore_mode: ALWAYS_ON
# id: "cam_power_down"
name: Enable
# esp32_camera_web_server:
# - port: 8080
# mode: stream
# - port: 8081
# mode: snapshot