Advertisement
gersonfer

ESP32-CAM on ESPHOME

Dec 2nd, 2024
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.91 KB | Source Code | 0 0
  1. esphome:
  2.   name: "esp32-cam-esphome"
  3.  
  4. esp32:
  5.   board: esp32dev
  6.   framework:
  7.     type: arduino
  8.  
  9. logger:
  10. api:
  11. ota:
  12.   password: "coloqueseucodigoOTAaqui"
  13.  
  14. wifi:
  15.   ssid: !secret "wifi_ssid"
  16.   password: !secret "wifi_password"
  17.  
  18. esp32_camera:
  19.   external_clock:
  20.     pin: GPIO0
  21.     frequency: 10MHz
  22.   i2c_pins:
  23.     sda: GPIO26
  24.     scl: GPIO27
  25.   data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
  26.   vsync_pin: GPIO25
  27.   href_pin: GPIO23
  28.   pixel_clock_pin: GPIO22
  29.   power_down_pin: GPIO32
  30.   resolution: 800x600
  31.   name: "Camera da Entrada"
  32.   jpeg_quality: 10
  33.   max_framerate: 10 fps
  34.   idle_framerate: 0.1 fps
  35.   vertical_flip: false
  36.  
  37. switch:
  38.   - platform: gpio
  39.     name: "Camera da Entrada LED"
  40.     pin: 4
  41.   - platform: restart
  42.     name: "esp32-cam-esphome - Restart"
  43.     id: restart_switch
  44.  
  45. binary_sensor:
  46.   - platform: gpio
  47.     pin: GPIO12
  48.     name: "Campainha ESP32"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement