New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[E][esp32_camera:099]: Setup Failed: ESP_FAIL #3908
Comments
Same problem here since updating ESPHome to version 2022.12.0. Any idea how to solve this ? |
I unfortunately not yet. |
same here, after update the cam/webserver can't start. [E][esp32_camera:099]: Setup Failed: ESP_ERR_NOT_FOUND |
even after the update to version 2022.12.1 the error is still there. |
Same problem here.
|
I don't understand why something keeps popping up, you can't test it before publication. Today's update (version 2022.12.1) didn't help either, still the same error. Could it be that someone from Microsoft is working there, it's always the case with them that after an update it works less than before the update. :-) |
Update installed, same behavior. |
Is there a way to specify the version to use the one before the update that caused the error ? |
Unfortunately I don't know, because there was probably a firmware update. |
same issue for me on 2022.12.3 |
Same here, on 2022.12.1, I restored back to 2022.12.0 and same problem with that, I dont have any older backups |
Depends how long your backups go back, you can do a partial restore on the backup that was done by the esphome update, unfortunately mine are 7 days rolling only and I dont have older versions. Not aure if it would be possible to restore a partial backup from someone else's backup who may have an older working version |
The same issue here: esp32: Enable logginglogger: Enable Home Assistant APIapi: ota: wifi: Enable fallback hotspot (captive portal) in case wifi connection failsap: captive_portal: #bluetooth_proxy: esp32_camera: Image settingsname: camkladno resolution: 640x480 [13:30:31][C][wifi:504]: WiFi: |
Fortunately I installed a stand-alone esphome on proxmox back in October, I updated to the 2022.11.5 version and the camera is working again. |
I have the same issue on Home Assistant 2022.12.7 and ESPHome 2022.12.2. I don't have a backup from Home Assistant 2022.11.5 esp32: INFO Starting log output from camera-1.local using esphome API |
Even after the update to 2022.12.2 no improvement. |
I replaced my both ESP32Cams. The new devices work as designed. The old ones seems to been killed by the update. I will try to make a clean reset/erase and try it again. |
2022.12.3 just released, same problem and this issue is not resolved. I also tried clean build and that did not resolve it either. |
Hmmm, I wonder why there have been no comments from the dev team regarding this ? |
Same issue here. I have two ESP32Cam boards in my garage and both are giving the following error. |
Same here, it would be helpful to not just get an "esp_fail" error but more details on why or what happened ... |
I was able to revive my two modules. Reflashing by wire (MB board) and ESPHome Flasher was successfully. Now both devices can also updates via OTA again. |
I'm going to try your method and post my results in a few hours |
Did you downgrade ESPHOME or just reflash with the same version? |
I've tried it and no success - the same result as before :( ([15:47:01][E][esp32_camera:099]: Setup Failed: ESP_FAIL), please could you share your config with us? |
I would also be interested in how you did it, I also braided all the boards again but without success. |
I did not change anything of my original configuration. OTA fails, image to file and flashing by wire works. |
It was probably different issue - this decribed issue was - OTA works, but the cam start failures in setup phase: Setup Failed: ESP_FAIL. |
Agree, I have no issue at all with OTA |
For me OTA works too, but then the cam sever fails. Only a wired update let start the cam as designed. |
HI, I'm a little frustrated... I have 4 esp32-cams, all the same.
This is the log with ESPHOME-Flaher for the ones that don't work
|
this solves the problem. Thanks!! |
Unfortunately it doesn't work for me. |
I have also remarked this line: |
Hi, thank you. I've tried with and without comment but unfortunately it doesn't work. |
it does not work for me either - my 5 cameras are gone now - why did I upgrade? eh... |
This comment was marked as spam.
This comment was marked as spam.
hi, I have two cams TTGO T-Journal ESP32 Camera that don't work after the home assistant update three months ago. This is the error: |
I'm also using a TTGO T-Journal ESP32. It looks like the external_component didn't work for you? I did alter my T-Journal a little follwing: https://sf.own-it.nl/projects/engelseruiter/wiki/Esphome . My working configuration looks like:
|
Thanks Micha for your invaluable advice, by copying your code I managed to get both my cameras working. |
I got mine working by removing any additional resolution and framerate specifications and adding in the following:
|
As the default still doesn't work "for me" I've updated my repository to be compatible with 2023.4.4 |
I'm still with the same issue :( |
Setting the framework to
was enough to resolve this error for me on 2023.7.0 |
This issue still persists in ESPHome |
Don't work for me either with esphome 2023.7.0 (it worked fine with an older version from 2022), worked with the custom component from https://github.com/MichaKersloot/esphome_custom_components and the hw is a m5stack camera, mostl likely a pirate version, this is what I got from the logs regarding PSRAM,
|
Got the same error again with 2023.7.1. Turned out a power cycle made it work again. |
Got the same error again with 2023.8.13, but never mind, power cycle resolved the problem. esp32_camera_web_server:
|
I was having the same problem, it was due to the wrong pins, use the codes below. source: https://esphome.io/components/esp32_camera.html Configuration for Ai-Thinker Camera esp32_camera: |
issue still persists in ESPHome 2023.10.5 but behavior is annoying... if example code is just copied and this is the only thing inside the yaml code then camera is working. |
For me it works with ESPHome 2023.12 by pinning the arduino framework version to 2.0.8 and using the external repo from @MichaKersloot esp32:
board: esp32dev
framework:
type: arduino
version: 2.0.8 ... external_components:
- source:
type: git
url: https://github.com/MichaKersloot/esphome_custom_components
components: [ esp32_camera ]
esp32_camera:
name: esp32_cam
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 |
hi @weisserd was pinning the android version really necessary? I personally have no problems to compile and use the defaults as set in esphome 2023.12.5 with my repository. |
Yes, it is necessary. I also tried to pin the version to arduino 2.0.9 esp32:
board: esp32dev # esp32cam
framework:
type: arduino
version: 2.0.9 # 2.0.8 works But with 2.0.9 im running into compile problems. However I didn't dig deeper once it worked for me.
|
Hi, I don't use any pinning, just updated esphome today and it seems 2.0.5 is used. A quick scan on my sources shows no reference to esp_err.h directly. For now I'm not able to help you. |
Working for me with the latest HA OS, HA Version and ESPHome Add-on:
Using a cheap aliexpress module |
this is working solution |
Not working in esphome 2024.2.2 and home assistant 2024.3.1 in docker desktop
log:
|
@somik321 My version is made specific for boards without PSRAM. I suggest to go back to the default component. You also don't tell the board you are using. |
|
The problem
Nach dem Update auf Current version: 2022.12.0, bekomme ich im Log der ESP32-Cam folgenden Fehler (Log):
INFO Starting log output from esp_cam_yt.local using esphome API
INFO Successfully connected to esp_cam_yt.local
[13:57:34][I][app:102]: ESPHome version 2022.12.0 compiled on Dec 14 2022, 12:30:16
[13:57:34][C][wifi:504]: WiFi:
[13:57:34][C][wifi:362]: Local MAC: EC:62:60:76:BB:94
[13:57:34][C][wifi:363]: SSID: [redacted]
[13:57:34][C][wifi:364]: IP Address: 192.168.1.67
[13:57:34][C][wifi:366]: BSSID: [redacted]
[13:57:34][C][wifi:367]: Hostname: 'esp_cam_yt'
[13:57:34][C][wifi:369]: Signal strength: -29 dB ▂▄▆█
[13:57:34][C][wifi:373]: Channel: 13
[13:57:34][C][wifi:374]: Subnet: 255.255.255.0
[13:57:34][C][wifi:375]: Gateway: 192.168.1.2
[13:57:34][C][wifi:376]: DNS1: 192.168.1.2
[13:57:34][C][wifi:377]: DNS2: 0.0.0.0
[13:57:34][C][logger:293]: Logger:
[13:57:34][C][logger:294]: Level: DEBUG
[13:57:34][C][logger:295]: Log Baud Rate: 115200
[13:57:34][C][logger:296]: Hardware UART: UART0
[13:57:34][C][gpio.output:010]: GPIO Binary Output:
[13:57:34][C][gpio.output:011]: Pin: GPIO4
[13:57:34][C][light:104]: Light 'ESP32Cam light'
[13:57:34][C][esp32_camera:048]: ESP32 Camera:
[13:57:34][C][esp32_camera:049]: Name: esp32_cam
[13:57:34][C][esp32_camera:050]: Internal: NO
[13:57:34][C][esp32_camera:052]: Data Pins: D0:5 D1:18 D2:19 D3:21 D4:36 D5:39 D6:34 D7:35
[13:57:34][C][esp32_camera:053]: VSYNC Pin: 25
[13:57:34][C][esp32_camera:054]: HREF Pin: 23
[13:57:34][C][esp32_camera:055]: Pixel Clock Pin: 22
[13:57:34][C][esp32_camera:056]: External Clock: Pin:0 Frequency:10000000
[13:57:34][C][esp32_camera:060]: I2C Pins: SDA:26 SCL:27
[13:57:34][C][esp32_camera:062]: Reset Pin: -1
[13:57:34][C][esp32_camera:080]: Resolution: 640x480 (VGA)
[13:57:34][E][esp32_camera:099]: Setup Failed: ESP_FAIL
[13:57:34][C][status:034]: Status Binary Sensor 'ESP32Cam status'
[13:57:34][C][status:034]: Device Class: 'connectivity'
[13:57:34][C][psram:020]: PSRAM:
[13:57:34][C][psram:021]: Available: NO
[13:57:34][C][captive_portal:088]: Captive Portal:
[13:57:34][C][mdns:103]: mDNS:
[13:57:34][C][mdns:104]: Hostname: esp_cam_yt
[13:57:34][C][ota:093]: Over-The-Air Updates:
[13:57:34][C][ota:094]: Address: esp_cam_yt.local:3232
[13:57:34][C][ota:097]: Using Password.
[13:57:34][C][api:138]: API Server:
[13:57:34][C][api:139]: Address: esp_cam_yt.local:6053
[13:57:34][C][api:143]: Using noise encryption: NO
[13:57:34][C][wifi_signal.sensor:009]: WiFi Signal 'ESP32Cam WiFi Signal'
[13:57:34][C][wifi_signal.sensor:009]: Device Class: 'signal_strength'
[13:57:34][C][wifi_signal.sensor:009]: State Class: 'measurement'
[13:57:34][C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm'
[13:57:34][C][wifi_signal.sensor:009]: Accuracy Decimals: 0
Which version of ESPHome has the issue?
2022.12.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
Home Assistant 2022.12.5 Supervisor 2022.11.2 Operating System 9.4 Frontend 20221213.0 - latest
What platform are you using?
ESP32
Board
ESP-32 Cam mit MB / ESP32-CAM-MB WIFI Bluetooth-Entwicklungsboard OV2640 Kameramodul CH340G
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Vor dem Update auf 2022.12.0 hat noch alles funktioniert. War vor dem Update noch auf dem Kamera-Bild, alles OK. Der Fehler taucht nur nach dem Update auf 2022.12.0 bei der ESP32-Cam auf, meine 16 Stück ESP8266 funktionieren ohne Probleme.
The text was updated successfully, but these errors were encountered: