source available at https://github.com/pageauc/pi-timolo
This Robin Cam is a grive (google drive) capable raspberry pi
computer based security camera that uses a lightweight python motion detection program to capture images with the pi camera module.
Download full installation instructions from github here
https://github.com/pageauc/pi-timolo
Download github raspbian tar archive file from here
wget https://raw.github.com/pageauc/pi-tim...
Introduction
------------
This is a picamara python module application using a Raspberry PI with a RPI camera
module. Use for Long Duration Time Lapse and/or Motion Detection projects.
File names can be by Number Sequence or by Date/Time Naming. Time Lapse and Motion
image files can be named and save images to different folders or the same folder.
Optionally motion files can be uploaded to your web based google drive using a
precompiled (github) grive binary. (requires security setup).
The program uses low light long exposure for night motion and/or timelapse images.
The program can detect motion during low light, although the long exposure times
can cause blurring of moving objects.
This application uses the picamera python module and requires the latest
RPI firmware and updates to work properly.
Important
---------
Note if you are using an older raspbian build or previous Picamera python module
and images are black or have problems then update Raspberry PI firmware per commands.
From a (putty) ssh login or console terminal execute the following commands to upgrade
to latest firmware. This should resolve any picamera issues. It is advised
you use at least an 8 GB SD card
Update Raspbian
sudo apt-get update
sudo apt-get upgrade
Update RPI firmware
sudo rpi-update
Hard boot to update firmware
sudo shutdown -h now
Unplug and restart your Raspberry Pi.
Quick Setup
-----------
SSH (putty) or Desktop Terminal login to RPI and perform the following
cd ~
mkdir pi-timolo (or a folder name of your choice)
cd ./pi-timolo
wget https://raw.github.com/pageauc/pi-tim...
tar -pxvf pi-timolo.tar
Install dependancies and required software
sudo ./setup.sh
Initialize pi-timolo.py files, motion and test motion.
python ./pi-timolo.py
Verify motion then ctrl-c to exit pi-timolo.py
Edit pi-timolo.py to change any desired settings per comments. ctrl-x to Save
nano pi-timolo.py
test edit changes. ctrl-c to exit pi-timolo.py
python ./pi-timolo.py
See details below for setting up run at boot init.d, crontab, grive sync Etc.