A Raspberry Pi Project the NSA Would Be Proud Of
Charcuterie). I could buy a solar powered battery case for it, place it in a weather proof container, and make it a DIY weather station. Really I plan on doing all these things as time goes on, but first things first. Let's use what we have available!
After making the Pi wireless, I checked out 'Motion' to see if I could turn my webcam into a motion detecting security camera. After a few days of tweaking I got it running very nicely. Motion comes with tons of customization, and you can tweak anything and everything to get it to do what you want. Basically I have the camera set up to watch an area of my house (let's say the backyard) when anything moves in front of the camera it takes a picture and time stamps it. The picture is then saved onto the Pi.
In the process of setting up Motion I also let the Pi broadcast the stream over the internet (with authentication). From there all I have to do is use a web stream app (VLC player, MJpeg Viewer for Android) and I can check in on my house from practically anywhere in the world on my phone or tablet.
Off-site Image Storage
In my quest to turn my Pi into the ultimate Motion Detecting, Burglar Catching, Alert System ever conceived, I thought.. "Why not have the pictures FTP directly to my Dropbox (or any cloud storage) so that the images don't only reside within the house. With a few tweaks to the motion.conf file that's exactly what it does. Upon saving images, and notifying me of detection, it also FTP's a second set of images over to my Dropbox. So after I get the message I could go check the files from my phone and make sure it wasn't a stray cat or something.
So what's next? One of my friends suggested (jokingly) that I have it upload the images to some sort of Google facial recognition database. Maybe I could rig it up to turn on the porch lite at night, and launch my own 'home defense drones'. I have no idea where I'll go with this project really, or where it will end up. In all honesty though, it's just really great to have something exciting to do with my Raspberry Pi and actually understand and make progress towards it. As a bonus I'm starting to understand Linux better as well. Be on the lookout for more inspired Pi projects to come!
Sites that helped in this project:
How to Make a DIY Home Alarm System with Raspberry Pi- https://medium.com/p/2d5a2d61da3d
Linux File Access Permission Reference - http://www.penguintutor.com/raspberrypi/file-permissions-reference
Setting Up Motion with FTP & Email - https://raymii.org/s/tutorials/Setting-up-motion-with-ftp-and-email-support.html
Send Email from Command Line - http://danielthat.blogspot.com/2012/10/how-to-send-email-from-command-line.html