esphome:
  name: arducam-esp32s
  friendly_name: arducam esp32s

esp32:
  board: esp32dev
  framework:
#    type: esp-idf
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "i8aPgOMVd9fxwvWk6sxr1vsel4XuY9j7r8koRbMrcSI="

ota:
  - platform: esphome
    password: "e1a35f2e0f0254858edb23a94a67f061"

wifi:
  ssid: "Lothlorien"
  password: "LitwoOjczyznoMojaTysJestJakZdrowie"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Arducam-Esp32S Fallback Hotspot"
    password: "y0yrTNW9ESAy"

esp32_camera:
  name: Arducam Camera
  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
  resolution: 640x480
  jpeg_quality: 10
  max_framerate: 10 fps
  idle_framerate: 0.1 fps

status_led:
  pin: GPIO3

#web_server:
esp32_camera_web_server:
  mode: stream
  port: 80

captive_portal:
    
