Skip to content

Motion detect, record, email & SMS alert system using Raspberry Pi, Motion, Google Drive and SMS.

License

Notifications You must be signed in to change notification settings

zxhuang/raspberry-pi-motion-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspberry-pi-motion-alert

Thanks to Motion which has GPL license: http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome

This repo only has example config file for motion and a script that sends email alerts and upload recorded video to Google docs.

Install

  1. Download and install Rasbian Wheezy on your Raspberry Pi.
  2. Download and install motion.
  3. Download Google Drive app on your mobile device
  4. Create folder named 'motion in your Google Drive
  5. Change USERNAME, PASSWORD, FROM_EMAIL and TO_EMAILS in zconf.py
  6. sudo cp motion.conf /etc/motion/
  7. sudo cp zalert.py zemail.py zupload.py /etc/motion/
  8. sudo /etc/init.d/motion restart
  9. To receive SMS text message alert, set up email forwarding to your mobile SMS email address like [email protected] for Verizon.
  10. To view real-time video streaming, set up your router's port forwarding to your Raspberry Pi's ip address port 8080.

Testing

./zalert.py --avideo ./test.avi

About

Motion detect, record, email & SMS alert system using Raspberry Pi, Motion, Google Drive and SMS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages