This code works but the image has a purple tint. If I lower the mhz to 10 it is better but still has a green and blue tint
Thanks,
Grey
esphome:
name: esp32-camera
friendly_name: esp32-camera
esp32:
board: esp32-s3-devkitc-1
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "<snip>"
ota:
password: "<snip>"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp32-Camera Fallback Hotspot"
password: "<snip>"
captive_portal:
external_components:
- source:
type: git
url: https://github.com/MichaKersloot/esphome_custom_components
components: [ esp32_camera ]
esp32_camera:
external_clock:
pin: GPIO15
frequency: 20MHz
i2c_pins:
sda: GPIO4
scl: GPIO5
data_pins: [GPIO11, GPIO9, GPIO8, GPIO10, GPIO12, GPIO18, GPIO17, GPIO16]
vsync_pin: GPIO6
href_pin: GPIO7
pixel_clock_pin: GPIO13
#power_down_pin: GPIO33
# Image settings
name: ESP32 Camera
esp32_camera_web_server:
- port: 8080
mode: stream
switch:
- platform: restart
name: "ESP32 Camera Restart"
sensor:
- platform: uptime
name: "ESP32 Camera Uptime Sensor"
- platform: wifi_signal
name: "ESP32 Camera WiFi Signal"
update_interval: 60s