Home Surveillance for Raspberry
Clone or download
Latest commit 8f5754e Jan 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
templates sadfdads May 24, 2017
.DS_Store here i am May 6, 2017
README.md Update README.md Jan 5, 2019
conf.json Things changed Aug 3, 2017
install_opencv.sh opencv install script Aug 3, 2017
pi_surveillance.py readme update Aug 2, 2017
server.py Things changed Aug 3, 2017
utils.py Things changed Aug 3, 2017
utils.pyc readme update Aug 2, 2017

README.md

RaspiSecurity

Home Surveillance with Raspberry with only ~100 lines of Python Code. For technical details check the medium post. Hope you like it.

Installation to a new Raspberry2 B+

Install necessary libraries

  • sudo apt-get update
  • sudo apt-get install build-essential python2.7-dev python-setuptools
  • sudo su
  • sh install_opencv.sh
  • sudo easy_install pip
  • sudo pip install picamera

Setup config files

  • Set email address to be used by the agent. It is in the source code.
  • Set your email address to be noticed for each alert

Run the agent

  • python server.py
  • Go to given URL on the terminal
  • Activate or deactivate the agent. The idea here, if you are close to your house, your phone will connect to your net before you enter the house, then you can deactivate the agent to prevent wrong alert on you. You should also activate it before leaving the house. Itĺl give you some time to leave the house then become active.