Detect, record and notifiy events in your home for your security.
- event detection
- with cameras
- with gpio switch
- Event detection is automatically enabled when you go out of home with your smartphone, and is disabled when you come back home. This feature is offered by the Android client app.
- notification about the event
- with email
- record the event
- with cameras
- with mikes
- send images and sound files via email
- Raspbian or Ubuntu
- Python3
- webcam by Gerd Knorr for image capturing
- raspberry-gipo-python for window/door switch using GPIO in Raspberry Pi
typical usage
- Setup Raspbian on a raspberry pi or Ubuntu on a PC.
- Connect web cameras with the device.
- Download home-recorder.
- Click "Download ZIP" button on the github page, and unzip the donloaded file.
git clone https://github.com/nknytk/home-recorder.git
- Run
./setup.sh
to install dependencies. - Adjust direction of the cameras. Run
./camera_direction_config.sh
, and you will see a URL to view images from the cameras with your browser. This process is unneccesary if you have the Android client because you can watch camera with the client. - Install the client into your Android device.
- Write config files.
- Set eventcheck interval, pairing information with the client to "conf/home-recorder.json."
- Set your mail settings to "conf/home-recorder.json." Web mails (i.e. gmail) are deprecated because they often block mails from unofficial clients. Use the account provided by your internet service porvider.
- Set plugin-specific config to "conf/eventchecker.json", "conf/notifier.json" or "conf/recorder.json." If you want to config camera eventchecker, edit "conf/eventchecker.json."
- Run test with
./start.sh test
. Fix configs until you see "All components are OK." at last. - Start home-recorder with
./start.sh
.
Under construction
- Write README
How to use
How to add feature eventchecker
Event detection with cameradone
Circuit diagram for gpio switch- notifier
Notification with Google Cloud Messaging for Android
Notification receiver for Andoird - recorder
Upload to online stroage - Error handling
- Log handling
Check out Android client application if you're Android user!
Copyright 2014 Yutaka Nakano
This software is released under the Apache License v2.