Hi All
Please can someone assist me with the below Error on my ESP32 Camera Set Up in Home Assistance. I get the below error and are not sure if its Hardware or Code related:
[10:47:01][E][esp32_camera:123]: Setup Failed: ESP_ERR_NOT_FOUND
[10:47:01][E][component:082]: Component esp32_camera is marked FAILED
Code below:
esphome:
name: esp-roofcam
platform: ESP32
board: esp32cam
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "243a8uqRxCI2GA1F4+ShZyAr1KTAnK9FvjuxTrRUZe8="
ota:
platform: esphome
web_server:
port: 80
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp32-Cam Fallback Hotspot"
password: "C3FOhAPFtouw"
captive_portal:
# Example configuration entry
esp32_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: 800x600
name: PIETER CAM
# Flashlight
output:
- platform: ledc
pin: GPIO4
channel: 2 # channel 1 is used for esp32_camera
id: led
## GPIO_4 is the flash light pin
light:
- platform: monochromatic
output: led
name: espcam_02 light
Thanking you in advance
Hello,
My camera was working fine but for no apparent reasons and without ant changes on the .yaml, I started having this error.
Full starting log :
INFO ESPHome 2024.7.2
INFO Reading configuration /config/poulcam.yaml...
WARNING GPIO0 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Detected timezone 'Etc/UTC'
WARNING GPIO15 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO2 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Starting log output from 192.168.1.69 using esphome API
INFO Successfully connected to poulcam @ 192.168.1.69 in 0.152s
INFO Successful handshake with poulcam @ 192.168.1.69 in 0.202s
[15:23:03][I][app:100]: ESPHome version 2024.7.2 compiled on Jul 30 2024, 23:35:41
[15:23:03][C][wifi:599]: WiFi:
[15:23:03][C][wifi:427]: Local MAC: E4:65:B8:70:B0:7C
[15:23:03][C][wifi:432]: SSID: [redacted]
[15:23:03][C][wifi:435]: IP Address: 192.168.1.69
[15:23:03][C][wifi:439]: BSSID: [redacted]
[15:23:03][C][wifi:440]: Hostname: 'poulcam'
[15:23:03][C][wifi:442]: Signal strength: -73 dB ▂▄▆█
[15:23:03][C][wifi:446]: Channel: 11
[15:23:03][C][wifi:447]: Subnet: 255.255.255.0
[15:23:03][C][wifi:448]: Gateway: 192.168.1.1
[15:23:03][C][wifi:449]: DNS1: 0.0.0.0
[15:23:03][C][wifi:450]: DNS2: 0.0.0.0
[15:23:03][C][logger:185]: Logger:
[15:23:03][C][logger:186]: Level: DEBUG
[15:23:03][C][logger:188]: Log Baud Rate: 115200
[15:23:03][C][logger:189]: Hardware UART: UART0
[15:23:03][C][uptime.sensor:033]: Uptime Sensor 'Poulcam Uptime'
[15:23:03][C][uptime.sensor:033]: Device Class: 'duration'
[15:23:03][C][uptime.sensor:033]: State Class: 'total_increasing'
[15:23:03][C][uptime.sensor:033]: Unit of Measurement: 's'
[15:23:03][C][uptime.sensor:033]: Accuracy Decimals: 0
[15:23:03][C][uptime.sensor:033]: Icon: 'mdi:timer-outline'
[15:23:03][C][uptime.sensor:034]: Type: Seconds
[15:23:03][C][switch.gpio:068]: GPIO Switch 'IR Light Switch'
[15:23:03][C][switch.gpio:091]: Restore Mode: always OFF
[15:23:03][C][switch.gpio:031]: Pin: GPIO2
[15:23:03][C][template.binary_sensor:028]: Template Binary Sensor 'Camera is streaming'
[15:23:03][C][esp32_camera:048]: ESP32 Camera:
[15:23:03][C][esp32_camera:049]: Name: Poulcam
[15:23:03][C][esp32_camera:050]: Internal: NO
[15:23:03][C][esp32_camera:052]: Data Pins: D0:5 D1:18 D2:19 D3:21 D4:36 D5:39 D6:34 D7:35
[15:23:03][C][esp32_camera:053]: VSYNC Pin: 25
[15:23:03][C][esp32_camera:054]: HREF Pin: 23
[15:23:03][C][esp32_camera:055]: Pixel Clock Pin: 22
[15:23:03][C][esp32_camera:056]: External Clock: Pin:0 Frequency:20000000
[15:23:03][C][esp32_camera:060]: I2C Pins: SDA:26 SCL:27
[15:23:03][C][esp32_camera:062]: Reset Pin: -1
[15:23:03][C][esp32_camera:089]: Resolution: 1280x1024 (SXGA)
[15:23:03][E][esp32_camera:123]: Setup Failed: ERROR
[15:23:03][E][component:082]: Component esp32_camera is marked FAILED
[15:23:03][C][homeassistant.time:010]: Home Assistant Time:
[15:23:03][C][homeassistant.time:011]: Timezone: 'UTC0'
[15:23:03][C][copy.sensor:015]: Copy Sensor 'WiFi Signal Percent'
[15:23:03][C][copy.sensor:015]: State Class: 'measurement'
[15:23:03][C][copy.sensor:015]: Unit of Measurement: '%'
[15:23:03][C][copy.sensor:015]: Accuracy Decimals: 0
[15:23:03][C][dht:017]: DHT:
[15:23:03][C][dht:018]: Pin: GPIO15
[15:23:03][C][dht:024]: Model: DHT22 (or equivalent)
[15:23:03][C][dht:027]: Update Interval: 60.0s
[15:23:03][C][dht:029]: Temperature 'Poulcam Température'
[15:23:03][C][dht:029]: Device Class: 'temperature'
[15:23:03][C][dht:029]: State Class: 'measurement'
[15:23:03][C][dht:029]: Unit of Measurement: '°C'
[15:23:03][C][dht:029]: Accuracy Decimals: 1
[15:23:03][C][dht:030]: Humidity 'Poulcam Humidité'
[15:23:03][C][dht:030]: Device Class: 'humidity'
[15:23:03][C][dht:030]: State Class: 'measurement'
[15:23:03][C][dht:030]: Unit of Measurement: '%'
[15:23:03][C][dht:030]: Accuracy Decimals: 0
[15:23:03][C][internal_temperature:076]: Internal Temperature Sensor 'Température Processeur'
[15:23:03][C][internal_temperature:076]: Device Class: 'temperature'
[15:23:03][C][internal_temperature:076]: State Class: 'measurement'
[15:23:03][C][internal_temperature:076]: Unit of Measurement: '°C'
[15:23:03][C][internal_temperature:076]: Accuracy Decimals: 1
[15:23:03][C][version.text_sensor:021]: Version Text Sensor 'Poulcam ESPHome Version'
[15:23:03][C][version.text_sensor:021]: Icon: 'mdi:new-box'
[15:23:03][C][restart:068]: Restart Switch 'Poulcam restart'
[15:23:03][C][restart:070]: Icon: 'mdi:restart'
[15:23:03][C][restart:091]: Restore Mode: always OFF
[15:23:03][C][psram:020]: PSRAM:
[15:23:03][C][psram:021]: Available: YES
[15:23:03][C][psram:024]: Size: 2047 KB
[15:23:03][C][captive_portal:088]: Captive Portal:
[15:23:03][C][mdns:116]: mDNS:
[15:23:03][C][mdns:117]: Hostname: poulcam
[15:23:03][C][esphome.ota:073]: Over-The-Air updates:
[15:23:03][C][esphome.ota:074]: Address: 192.168.1.69:3232
[15:23:03][C][esphome.ota:075]: Version: 2
[15:23:03][C][esphome.ota:078]: Password configured
[15:23:03][C][safe_mode:018]: Safe Mode:
[15:23:03][C][safe_mode:020]: Boot considered successful after 60 seconds
[15:23:03][C][safe_mode:021]: Invoke after 10 boot attempts
[15:23:03][C][safe_mode:023]: Remain in safe mode for 300 seconds
[15:23:03][C][api:139]: API Server:
[15:23:03][C][api:140]: Address: 192.168.1.69:6053
[15:23:03][C][api:142]: Using noise encryption: YES
[15:23:03][C][wifi_signal.sensor:009]: WiFi Signal 'Poulcam Wifi signal'
[15:23:03][C][wifi_signal.sensor:009]: Device Class: 'signal_strength'
[15:23:03][C][wifi_signal.sensor:009]: State Class: 'measurement'
[15:23:03][C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm'
[15:23:03][C][wifi_signal.sensor:009]: Accuracy Decimals: 0
[15:23:03][C][wifi_info:011]: WifiInfo SSID 'Poulcam WiFi'
[15:23:03][C][esp32_camera_web_server:088]: ESP32 Camera Web Server:
[15:23:03][C][esp32_camera_web_server:089]: Port: 8080
[15:23:03][C][esp32_camera_web_server:091]: Mode: stream
[15:23:03][E][esp32_camera_web_server:097]: Setup Failed
[15:23:03][E][component:082]: Component esp32_camera_web_server is marked FAILED
[15:23:03][C][esp32_camera_web_server:088]: ESP32 Camera Web Server:
[15:23:03][C][esp32_camera_web_server:089]: Port: 8081
[15:23:03][C][esp32_camera_web_server:093]: Mode: snapshot
[15:23:03][E][esp32_camera_web_server:097]: Setup Failed
[15:23:03][E][component:082]: Component esp32_camera_web_server is marked FAILED
Did you managed to get it resolved ?
Any ideas on how to get the stream back ?
Thank’s in advance
Same error. Solved changing usb cable.