jameszah
jameszah
regarding the deepsleep stuff - after deepsleep the esp32 reboots, and you lose context ... unless you save it in nonvolatile memory ... so just delaying for a minute, then...
https://github.com/jameszah/ESP32-CAM-Video-Telegram/blob/7b492ccc5af9c1f71c154e910b4cc6a63d544615/v9.5/ESP32-CAM-Video-Telegram_9.5/ESP32-CAM-Video-Telegram_9.5.ino#L1376 The camera init is failing because there is not enough psram (150kb framrebuffer). The line above allocates as much as possible psram to record the video. You need more...
I think you have too many compiler warnings turned on Try this in Arduino File Preferences ... 
Is this the code you have? You seem to have a loop from 1009 back to 999, without going up to 971 (so not restarting procedure). What is your timezone?...
Do you have a space at the beginning of that timezone string? I'll try to have a look at it today.
what is your "devname"? Is it a simple short text string - no spaces, punctuation, etc? Is the IP address: 192.168.x.y changed ... it has real numbers on the serial...
try new version 8.9 That non-void function return warning seems to be a new feature of the compiler 1.8.19 or so. It gives a warning during the compile, but at...
I only use the esp32-cam module. I don't have those others to test. You have to find our pir pin, determine if it active-high or active low, and then modify...
Adding ota and sd recording is possible, but having the camera and the cpu do motion detection would make your power/current/heat problems much worse. There is another comment here where...
Do you run the 3.6v into the 3.3 pin directly, or go through a 5v boost converter? I've got some nimh to skip the voltage regulator, but haven't tried it...