Timelapse and motion with esp32cam (and s3) #21468
Replies: 4 comments 10 replies
-
I made some improvements yesterday - putting the images into a folder structure which ensures no folder contains more than 10 files or folders. This has proved valuable as with 1000 images, retrieving images close to the end was taking >5s. Now regardless of where the image is in the sequence, the retrieval time is <500ms from SD. However, on the esp32S3cam board, I've not experienced any hangs yet, and the download is more than twice as quick. (~100ms/image). |
Beta Was this translation helpful? Give feedback.
-
With the new enhancements, and the small reliability updates in latest dev, I had three devices recording images every 500ms last night. 2 x ai-thinker and 1x S3. An AI -thinker recording larger images recorded ~43000 (I think storing the larger image took > 500ms sometimes), the other two ~65000 images. The timelapse viewer performed fast and well in seeking to the images and replaying them. I won't try to download them, as the download creates a zip in memory in browser... but now to set them up for 1 hour timelapse and simultaneous motion detect (to a different folder) to watch my veggies grow this year :). |
Beta Was this translation helpful? Give feedback.
-
repo at https://github.com/btsimonh/TasmotaBerryPLay/tree/master/timelapse has been enhanced to make images zip download much more robust (my TAS is >50m from my router, and my laptop is less than stable on the wifi), and also to clarify image zip to .mp4 creation. So far, my garden timelapse has recorded 505 images over ~4 weeks (hourly, excluding 'dark' hours). Example .mp4 - watch TAS fall off in the first day or so, and the artichoke grow on the right: images2024-06-23.mp4 |
Beta Was this translation helpful? Give feedback.
-
This project is of great interest to. Running it on an ESP32-CAM board, I can build tasmota32-webcam successfully but when I add in the following, per the readme.md: #define USE_WEBCAM_V2 in the user_config_override.h I get an error flagging line 935 of tasmota/tasmota_xdrv_driver/xdrv_50_filesystem.ino. I wasn't sure about the line directly following the "problem should be resolved" comment. Tried building with final line commented out and un-commented. Result was the same either way. Any insight to this error would be greatly appreciated. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I had time to update my repo about timelapse and motion capture using TAS here:
https://github.com/btsimonh/TasmotaBerryPLay/tree/master/timelapse
If you give it a go, please leave feedback, raise an issue there, or offer PRs....
(this is based on webcamv2 with motion detection, and also uses direct http serving off TAS's SDcard, OR posts images to a node-red http server)
br,
Simon
Beta Was this translation helpful? Give feedback.
All reactions