I have written a Python script called pi-timolo
(pi, timelapse, motion, low light). This uses the picamera python library instead of using raspistill. Motion and timelapse can be run together or separately. Also supports sync of images to a web based google drive so you can monitor from anywhere using google drive interface app or from a browser. For details see my release notes here https://github.com/pageauc/pi-timolo
The project includes several useful utilities like makemovie.py mvleavelast.sh and makedailymovie.sh. This does not use a GUI interface and does require terminal setup. Here is a link to my videos on this if you are interested
https://www.youtube.com/playlist?list=P ... 7PtA5uYeOb
Web based camera interfaces I use and recommend
I also use web based interactive RPI camera interfaces. These are useful and I use both of the interfaces mentioned below and would highly recommend them depending on your needs. They are pretty easy to install but sometimes tricky to configure. Make sure to set the GMT time/zone in both. They both work well. The first is a little faster at streaming. I still prefer pi-timolo for long duration remote headless camera operation, since the web interfaces below (headless as well) can be finicky and occasionally give me problems. pi-timolo handles low light conditions using long exposure. It does not rely on a clock for night/day transitions and can limit total image files in a circular numbering sequence to make managing google drive easier. At the end of the day I run a crontab script to create a dailymovie and transfer this to my NAS so my media player running Kodi can be used to easily view all the daily movies created from the motion files. These are encoded at 5 FPS..
I set this up with a 3 second buffer so video is recorded prior to motion triggering. This interface can also be configured to use file syncing with your google drive but is not part of the setup. Contact me if you need details.
install is pretty simple
Code: Select all
git clone https://github.com/silvanmelchior/RPi_Cam_Web_Interface.git
chmod u+x RPi_Cam_Web_Interface_Installer.sh
This runs on Raspbian so you can run other programs as well. I install pi-timolo as well as this web interface. Since the camera cannot be easily shared they cannot run concurrently but it is easy to stop camera on the web interface when needed. If we go away for a long time I switch over to pi-timolo and turn off the RPi-Cam-Web-Interface until I get back. I should write a script to automate this. Anyway I have this interface as well as pi-timolo and switch as required.
This is a stand alone GUI web interface package that is installed as an SD card image file. Instructions can be found here
Download image files here
Note there are separate RPI B and B2 images so download the appropriate one. Just unzip the image and burn to a new SD card, pop into RPI, boot and access Web interface using the IP address on a Web Browser. This can be handy since you can just pop in the motionPIE SD card when required and boot using another raspbian SD if you need the RPI for something else. But this is not as convenient as the Web Interface above running on raspbian.
motionPIE is a little slower at streaming video but works OK (laggy). It is designed to only run video security so you are limited. It has an admin and user mode that can be useful for protecting configuration settings. It Has lots of configuration settings. I configured mine to save files to a share on my network NAS and that was very easy.
Both these web interface packages are pretty much plug and play but if you are interested in implementing your own project with python then my repo might be useful. It also gives you the ability to see and change the Python code if you want to customize it. There is a pi-motion-lite on my github repo that might be of interest to those that want to create their own Python picamera project