Skip to content

Instantly share code, notes, and snippets.

@mikezter
Created April 2, 2022 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikezter/d733b1cb9fcb929956e60aa9aefd1ac5 to your computer and use it in GitHub Desktop.
Save mikezter/d733b1cb9fcb929956e60aa9aefd1ac5 to your computer and use it in GitHub Desktop.
esp32 camera settings
substitutions:
dname: cameo
dip: 192.168.0.224
esphome:
name: $dname
esp32:
board: esp32dev
framework:
type: arduino
logger:
baud_rate: 0
api:
ota:
#web_server:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
use_address: $dip
ap:
ssid: "$dname Fallback Hotspot"
password: !secret ap_password
captive_portal:
status_led:
pin:
number: GPIO33
inverted: true
esp32_camera:
name: "$dname video"
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
idle_framerate: 0.1 fps
resolution: 1280x1024
jpeg_quality: 20
max_framerate: 25 fps
output:
- platform: ledc
channel: 4
pin: GPIO4
id: gpio_4
light:
- platform: monochromatic
output: gpio_4
name: "$dname Flash"
esp32_camera_web_server:
- port: 8080
mode: stream
- port: 8081
mode: snapshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment