Rasperri Pi was mainly designed to be used by young people who want to learn and discover the electronics and programming world without investing big amount of money. The latest improved version which has a 512 MB RAM available can be used to perform more complicated tasks as the one we want to show you today: how to make your home opensource video surveillance system using Raspberry PI, Zoneminder and a IP cam. In this system the Rasperry Pi works as a DVR (Digital Video Recorder); the acquired video files will be stored into the SD memory card and can be reached from everywhere by using a FTP server like Vsftpd.
ZoneMinder (http://www.zoneminder.com/) is an integrated set of applications which provide a complete surveillance solution allowing capture, analysis, recording and monitoring of any CCTV or security cameras attached to a Linux based machine; it can be used in single or multi-camera video security applications however, to avoid overstress of the Rasperry PI hardware and to have a reliable system, it’s preferred to use only one camera. Zoneminder can be downloaded from http://www.zoneminder.com/downloads or can be installed from the Raspian repositories using the console and the “sudo apt-get install zoneminder” command following the installation instructions. Raspbian is a Debian based distribution optimized for the Rasperry PI so we suggest you to follow the installation guide for Debian (http://www.zoneminder.com/wiki/index.php/Debian). The installation procedure requires few minutes during which the user has to insert some data like mysql password. At the end you can get access to the web interface at http://localhost/zm where you can set your camera parameters and define surveillance areas, recording path and motion detection:
There are tips and suggestions for many kind of cameras at http://www.zoneminder.com/wiki/index.php/Hardware_Compatibility_List
To set the FTP path use “Options” and “Upload” and configure the fields in order to match with the FTP server.