Closed Martinvdm closed 1 year ago
I get the same error with Freenove Wrover CAM. However, I noticed your configuration differs from mine and the manual, you do not have GPIO4 as data_pin: https://esphome.io/components/esp32_camera.html#configuration-for-wrover-kit-boards which seems to be the settings for the AI Thinker CAM. So I went ahead and tried your config on the Wrover board with the error Setup Failed: ESP_ERR_NOT_FOUND
Do you configure the Wrover board like a AI Thinker because Wrover config seems not to work? https://community.home-assistant.io/t/esphome-camera-setup-failed-esp-err-not-found/524903/14
Seems in my case the module is faulty, I tried with a couple of OV2640 which work on an AI Thinker cam and none of the modules was accepted, neither with Tasmota, there I get a failed with error 0x105
.
Does your module have the Freenove label or is it like mine a "fake": https://github.com/Freenove/Freenove_ESP32_WROVER_Board/blob/main/About_Fakes.pdf
Thanks for your answer. I do get ESP_ERR_NOT_SUPPORTED. I checked your articles, but I do use the board: esp-wrover-kit And not other board.
I tried changing the data pins but no change. Still the same error.
Attached the type of board I have. Actually I used gpio4 as the internal flashlight witch has worked before
output:
- platform: gpio
pin: GPIO4
id: gpio_4
light:
- platform: binary
output: gpio_4
name: ${display_name} light
Ahhh, this is the AI Thinker module https://esphome.io/components/esp32_camera.html#configuration-for-ai-thinker-camera and not the Wrover Kit https://esphome.io/components/esp32_camera.html#configuration-for-wrover-kit-boards. That's why your config is also different. I have one of those modules which does not do UART logging anymore since I once activated the internal hall sensor while the cam was active. I have another one that seems to be fine still. I will try latest esphome with it later and let you know if I run into the same issue.
Do you have another of those boards and other camera modules to narrow the issue down? And you could switch the logger
logger:
level: VERBOSE
and see if it brings some more infos that can lead to the cause.
Thanks. I edited my comment btw. I do have another cam, I will try it later. I don’t have a spare board. If this is AiThinker board shouldn’t I have to use board = esp32cam instead of the wrover-kit?
I saw several configs with wrover as board so I did not mention anything about it, seems there are quite some configs that work that way and TBH I have no clue what really the difference in the board selection does, except allowing/disallowing pins.
I used my Ai Thinker (the same module as you have, also connected to a BME280 :-)), working fine with ESPHome from last year and flashed the update. I do not get an error with the camera and I "see" it working in the log
[D][esp32_camera:196]: Got Image: len=99847
but my cam webserver does not start anymore since
[E][esp32_camera_web_server:097]: Setup Failed
So I tried the second module and get the same constellation, camera ok, web server failed. As you mentioned it, the internal flashlight I also have on GPIO4, works on both. Sorry that I can't help further here. I will try to get the webserver working and see if there is really a picture
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The problem
Getting an error setting up ESP32Camera with esp-wrover-kit [18:08:18][E][esp32_camera:123]: Setup Failed: ESP_ERR_NOT_SUPPORTED
It has worked, so it seems to be a update change somehow i think.
config:
Which version of ESPHome has the issue?
2023.04.0
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
2023.04.6
What platform are you using?
ESP32
Board
esp32-wrover-cam
Component causing the issue
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response