OV5640 camera
This commit is contained in:
80
camera.yaml
Normal file
80
camera.yaml
Normal file
@ -0,0 +1,80 @@
|
||||
esphome:
|
||||
name: esp32-camera
|
||||
friendly_name: ESP-CAMERA
|
||||
platformio_options:
|
||||
build_flags: "-DBOARD_HAS_PSRAM"
|
||||
board_build.arduino.memory_type: qio_opi
|
||||
|
||||
|
||||
esp32:
|
||||
board: esp32-s3-devkitc-1
|
||||
framework:
|
||||
type: arduino
|
||||
version: latest
|
||||
flash_size: 16MB
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
level: verbose
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
encryption:
|
||||
key: !secret api_key
|
||||
|
||||
ota:
|
||||
- platform: esphome
|
||||
password: !secret ota_password
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
manual_ip:
|
||||
static_ip: 192.168.1.61
|
||||
gateway: 192.168.1.254
|
||||
subnet: 255.255.255.0
|
||||
dns1: 9.9.9.9
|
||||
dns2: 149.112.112.112
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "Esp32S3 Fallback Hotspot"
|
||||
password: "v41VUZA7A1VA"
|
||||
|
||||
mqtt:
|
||||
broker: mqtt.hadow.fr
|
||||
port: 18832
|
||||
username: fire
|
||||
password: !secret mqtt_password
|
||||
topic_prefix: "esp_camera"
|
||||
|
||||
psram:
|
||||
mode: octal
|
||||
speed: 80MHz
|
||||
|
||||
esp32_camera:
|
||||
name: ESP32-S3 Camera
|
||||
external_clock:
|
||||
pin: GPIO15 # CAM_XCLK
|
||||
frequency: 20MHz
|
||||
i2c_pins:
|
||||
sda: GPIO4 # CAM_SIOD
|
||||
scl: GPIO5 # CAM_SIOC
|
||||
data_pins: [GPIO11, GPIO9, GPIO8, GPIO10, GPIO12, GPIO18, GPIO17, GPIO16]
|
||||
vsync_pin: GPIO6 # CAM_VSYNC
|
||||
href_pin: GPIO7 # CAM_HREF
|
||||
pixel_clock_pin: GPIO13 # CAM_PCLK
|
||||
resolution: 640x480
|
||||
jpeg_quality: 10
|
||||
max_framerate: 15 fps
|
||||
idle_framerate: 0.1 fps
|
||||
|
||||
esp32_camera_web_server:
|
||||
- port: 8080
|
||||
mode: stream
|
||||
- port: 8081
|
||||
mode: snapshot
|
||||
|
||||
web_server:
|
||||
port: 80
|
||||
|
Reference in New Issue
Block a user