easytarget / esp32-cam-webserver

Expanded version of the Espressif ESP webcam
https://hackaday.io/project/168563-7-esp32-cam-example-expanded
GNU Lesser General Public License v2.1
1.28k stars 344 forks source link

cam hangs after 2-3 days #294

Open TungstenE2 opened 1 year ago

TungstenE2 commented 1 year ago

About avery 3-4 days the cam hangs and can only be restarted by power disconnect.

Even Reboot by URL every 1,5 hrs does not solve this.

Any ideas?

Running on latest version.

adameus03 commented 1 year ago

@TungstenE2 I have 4 AI-Thinker ESP32-CAM's. They're not running the firmware from this repo, but for my surveillance project, 1 out of 4 of the cameras fails after about 10 minutes. By failure I mean the frame buffer pointer returned by the esp_camera_fb_get() function from the "esp_camera.h" library (Espressif Systems) becomes NULL. Software reset or even pressing the ESP32-CAM built-in reset button doesn't change this behaviour. The only solution is disconnecting the power supply and reconnecting it again. The other 3 boards are working fine for weeks without this issue. With that said, it is possible you have a corrupted board & need to purchase another AI-Thinker ESP32-CAM

TungstenE2 commented 1 year ago

I changed the board and cam is now stable for over a week, Only difference is the wifi antenna is now external.