jameszah / ESP32-CAM-Video-Telegram

Record avi video on ESP32-CAM and send to Telegram on event or request
GNU General Public License v3.0
113 stars 26 forks source link

Please add some features like OTA update #43

Open DJprasenjit opened 1 year ago

DJprasenjit commented 1 year ago

please add some features on it like OTA update for next update or tests. because i had to wire the cam modle for upload, add save videos and photos to sd card. i have the original version of ESP32-CAM-Video-Recorder but there has some problems that why i moved here,

  1. when pir detects clicks photo and send to telegram and record video to sd card. but can it be done like when pir detects click photo record video and save to sd card then send to telegram
  2. esp module getting hot and comsuming so much current so it need to go to sleep mode wifi sleep at night that can be enable timely
  3. can it possible to use it without pir sensor, by using internal motion detection of esp cam module

many thanks for this project ..

jameszah commented 1 year ago

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 the guy uses an pir connected to a transistor to completely power off the esp32, and just power it on after a pir event. Having the camera do the motion detection would mean it is not only running constantly, it is snaping pictures, and comparing every second, all day looking for changes,

FBMinis commented 1 year ago

That is me. With 3xAAA nimh batteries (1.2V, 800mAh), it sends me about 120 notifications before I need to recharge them. Each time there is movement, the camera sends me a photo, a video and a message within a minute, then shuts off.

jameszah commented 1 year ago

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 yet

FBMinis commented 1 year ago

I use a CE8301 booster module:

https://www.matts-electronics.com/dcdc-converters/ https://www.rei-labs.net/cheap-ebay-boost-module-comparison-and-performances-5v-from-one-or-two-batteries/

The project consumes 250uA when doing nothing, which is pretty good.

I've experimented with powering the PIR (modified) and the camera with 3.3V but could never get consistent results.

Right now I'm trying to convert one of the following solar lamps to include a camera. The panel charges the battery, the PIR triggers the camera and, during the night time, the LED is also turned ON.

https://mauser.pt/catalog/product_info.php?cPath=1381_2367&products_id=306-4792