Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Basic Config
- # Projekt sammen med Michael Fris Pedersen
- esphome:
- name: esp_cam02
- platform: ESP32
- board: esp32dev
- # Enable logging
- logger:
- # Enable Home Assistant API
- api:
- encryption:
- key: "zzufFDnYR8S7oKPsX7bHvItcEwVcv8qCYY7TBShGmk8="
- ota:
- password: "457afc8365538ad1301fc593942269f5"
- web_server:
- port: 80
- auth:
- username: 'test'
- password: 'test'
- wifi:
- ssid: !secret wifi_ssid
- password: !secret wifi_password
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "Kamera-Projekt Fallback Hotspot"
- password: "d7SW9xe3cV1i"
- captive_portal:
- esp32_camera:
- external_clock:
- pin: GPIO0
- frequency: 20MHz
- i2c_pins:
- sda: GPIO26
- scl: GPIO27
- data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
- # the order of the data_pins is significant, don't mix up the order
- vsync_pin: GPIO25
- href_pin: GPIO23
- pixel_clock_pin: GPIO22
- power_down_pin: GPIO32
- resolution: 800x600
- name: esp_cam02
- idle_framerate: 0.1fps
- output:
- - platform: ledc
- pin: GPIO4
- channel: 2 # channel 1 is used for esp32_camera
- id: led
- light:
- - platform: monochromatic
- output: led
- name: espcam_02 light
Advertisement
Advertisement