50 lines
848 B
YAML
50 lines
848 B
YAML
|
esphome:
|
||
|
name: esp32-cam
|
||
|
friendly_name: esp32-cam
|
||
|
|
||
|
esp32:
|
||
|
board: esp32dev
|
||
|
framework:
|
||
|
type: arduino
|
||
|
|
||
|
# Enable logging
|
||
|
logger:
|
||
|
|
||
|
# Enable Home Assistant API
|
||
|
api:
|
||
|
encryption:
|
||
|
key:
|
||
|
|
||
|
ota:
|
||
|
- platform: esphome
|
||
|
password:
|
||
|
|
||
|
wifi:
|
||
|
ssid: !secret wifi_ssid
|
||
|
password: !secret wifi_password
|
||
|
|
||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||
|
ap:
|
||
|
ssid: "Esp32-Cam Fallback Hotspot"
|
||
|
password:
|
||
|
|
||
|
captive_portal:
|
||
|
|
||
|
esp32_camera:
|
||
|
name: ESP32 Camera
|
||
|
external_clock:
|
||
|
pin: GPIO0
|
||
|
frequency: 20MHz
|
||
|
i2c_pins:
|
||
|
sda: GPIO26
|
||
|
scl: GPIO27
|
||
|
data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
|
||
|
vsync_pin: GPIO25
|
||
|
href_pin: GPIO23
|
||
|
pixel_clock_pin: GPIO22
|
||
|
power_down_pin: GPIO32
|
||
|
resolution: 2560x1920
|
||
|
jpeg_quality: 10
|
||
|
idle_framerate: 0.2 fps
|
||
|
max_framerate: 1 fps
|