Open ZhuDaHai opened 1 month ago
Update:
[12:57:39][E][component:082]: Component esp32_camera is marked FAILED `
set "board:" back to esp32dev - same error
Broke out the Arduino IDE and reflashed with the original code from Rui Santos: https://randomnerdtutorials.com/esp32-cam-video-streaming-web-server-camera-home-assistant/ and that WORKED! VIDEO!!!
Reflashed the board via the ESPHome Web UI flasher, first with the Initial Install, and then with the compiled BIN file from ESPHome Addon. and......wait for it.... DEAD!!! NO VIDEO
So, yeah, this worked with a 1-year old version of ESPHome (compile, upload, VIDEO!!!). But its borked with the current version (2024.7.3)
Let me know if you need any further information.
Cheers
same here
I've tried to update my ESPCam from a 2021 firmware to the latest one and it now says:
[18:35:21][E][esp32_camera:123]: Setup Failed: ESP_ERR_NOT_SUPPORTED
[18:35:21][E][component:082]: Component esp32_camera is marked FAILED
Which I think is the same issue you encountered.
There's an older bug which a bot auto-closed - which therefore never got fixed 🙄 - here: https://github.com/esphome/issues/issues/4452
My config:
esphome:
name: $devicename
platform: ESP32
board: esp32dev
friendly_name: $friendly_name
substitutions:
devicename: esp32-cam-1
friendly_name: camera-1
# Enable logging
logger:
# Enable Home Assistant API
api:
mdns:
time:
- platform: homeassistant
ota:
platform: esphome
password: !secret ota_password_esp32-cam-1
wifi:
[...]
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
name: mycamera
resolution: VGA
max_framerate: 1.0 fps
idle_framerate: 1 fps
jpeg_quality: 10
vertical_flip: false
horizontal_mirror: false
output:
- platform: gpio
pin: GPIO4
id: gpio_4
- platform: gpio
pin: GPIO33
id: gpio_33
light:
- platform: binary
output: gpio_4
name: "$friendly_name flashlight"
- platform: binary
output: gpio_33
name: "$friendly_name red LED"
The problem
I was running ESP32-CAM on ESPHome with an old version of ESPHome. It was working properly. I upgraded EPSHome to 2024.7.3, which resulted in EPSHome complaining about my ESP devices needed an update. After updating my 4 other devices, I then updated my ESP32-Cam. The update was a success. Logs connect and show output, but I can no longer connect to it via is http URL. I get "refused to connect" when trying the URL in my web browser and TinyCam cannot connect as well. Generic Camera in HA cannot connect as well.
Which version of ESPHome has the issue?
2024..7.3
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
Core: 2024.7.4, Supervisor: 2024.06.2, OS: 12.4: Frontend: 202407010.0
What platform are you using?
ESP32
Board
ESP32-CAM
Component causing the issue
esp32_camera ??? IDK
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information