Files
jdillenburg-esphome/trash/3d-printer-camera.yaml
John Dillenburg d1578f36e0 yaml
2024-11-24 15:47:04 -06:00

46 lines
852 B
YAML

esphome:
name: 3d-printer-camera
friendly_name: 3d-printer-camera
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "+b+DVoSdU4U5jlaO2hMcfj1SpIvrJS0nTY2VRz4ZJ8I="
ota:
password: "eda8ea0564c19dafc36915ef38f83911"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "3D-Printer-Camera"
password: "mhZotMxOa70S"
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