mirror of
https://github.com/jdillenburg/esphome.git
synced 2026-01-08 22:40:39 -07:00
50 lines
952 B
YAML
50 lines
952 B
YAML
esphome:
|
|
name: garage-camera
|
|
friendly_name: Garage Camera
|
|
comment: esp32dev
|
|
|
|
esp32:
|
|
board: esp32dev
|
|
framework:
|
|
type: arduino
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
encryption:
|
|
key: "6o4U+71ZOTxfjpi1mTOG6ThajzFEWEyJPJdKk/0nUAg="
|
|
|
|
ota:
|
|
- platform: esphome
|
|
password: "ef8d191e2007e0fe89477dd296817f25"
|
|
|
|
wifi:
|
|
ssid: !secret wifi_ssid
|
|
password: !secret wifi_password
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Garage-Camera Fallback Hotspot"
|
|
password: "VotNjbPdTfyf"
|
|
|
|
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: 1024x768
|
|
vertical_flip: false
|
|
horizontal_mirror: false |