motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.83k stars 898 forks source link

Motioeneyos + battery + pir => fast boot ? #1971

Open MrJBSwe opened 5 years ago

MrJBSwe commented 5 years ago

I would like Motioneye to work standalone on battery and record on PIR signal ( like a trail cam ) ( similar to #961 )

This is the fastest solution I have seen so far : 3.5 to 4 seconds PI3 http://himeshp.blogspot.com/2018/08/fast-boot-with-raspberry-pi.html

Any thoughts ? Tips ? Reliable & fast boot is Prio1 ( energy Prio2 since it's only powered when needed )

My thoughts so far : Fast CPU, Disk Network could be started later MotionEye itself (starting the Python interpreter), as well as the motion daemon could also be started later...since we already have that information from the PIR

jasaw commented 5 years ago

I question the viability of running Raspberry Pi off battery. Raspberry Pis are way too power hungry to be practical.

I would look into this project. https://randomnerdtutorials.com/esp32-cam-video-streaming-face-recognition-arduino-ide/ It would be really easy to add a PIR. Lower cost too.

MrJBSwe commented 5 years ago

esp32 You have a point there, Sipeed M1 is an other lowenergy option https://youtu.be/BGctumZuhao

But, as trail-cam I still think a raspberry clone cold be interesting..which means fast-boot has to be solved ( or "too power hungry to be practical" is true...)

ncouture commented 2 years ago

I question the viability of running Raspberry Pi off battery. Raspberry Pis are way too power hungry to be practical.

I would look into this project. https://randomnerdtutorials.com/esp32-cam-video-streaming-face-recognition-arduino-ide/ It would be really easy to add a PIR. Lower cost too.

There is no saying how long a motion-fastboot-activated Pi or Pi zero could live on without knowing how much activity it would see and for this reason I think the viability of this feature cannot be questioned.

There's also no saying how much power it has in reserve without knowing how much battery it has and it can potentially have a very large battery.

It may not fit all use cases but will likely fit many.