Uber Home Automation w/ Arduino & Pi
A few years ago, I became a dog owner for the first time. I didn’t like leaving Cody in the kennel alone all day. I had a webcam on him, but I couldn’t watch it all day long. What if he was in some kind of distress? What if there was a emergency at the house, like a fire?
I wanted some way of getting an immediate email notification when he barks, or when something bad happens. So reading lead to tinkering, and tinkering eventually lead to making this full blown home automation system based on open source hardware (Arduino) and open source software (OpenHAB). I know I know, yet another “Arduino Home Automation” project, right? But I promise I’m not going to turn on a light from a smart phone. I’m more focused on extensive networked sensors, timely alerts, and aesthetically appealing presentation of events.
Here’s the basic idea. With Arduino, it’s really easy to connect boatloads of cheap sensors. Using this setup, that boatload of cheap sensors can now be on the internets. They can email you when things get too hot, too cold, too smokie, too gassy, or too bright. And your dog can email you by barking. You can also view the status of sensors on your smart phone. These sensor nodes are wireless, so you’re not constrained by the location of ethernet ports.
Here’s how it’s put together.
This Instructable will be a tutorial for how to build a variety of long range wireless sensors, and how to integrate these sensors into a sophisticated open source home automation server. Aside from looking at a mobile app to see what’s happening, you’ll also receive timely email and audio notifications. This is a long Instructable, but you can jump to the sensor you’re interested in building.
These elements are the focus of the design:
- Low Cost. Each sensor node costs less than $20 to make, so you can inexpensively scale up.
- Flexibility. Arduino based nodes allow anyone to extend the system to their particular sensing needs. You’re not tied to only the examples I’m providing, even though I strive to provide many examples.
- Very good reliability, up-time, and wireless sensor range.
- I’m providing both a battery powered and wall-power sensor node design
So, here’s the list of sensors in this Instructable. I want to provide a home with the full range of human senses. Your home should be smart and sensitive.
Dog Bark (Any Loud Noise) Sensor
Get email notifications of loud noise. I use it to get an email if my dog barks in the kennel, so that I can open up my kennel webcam and see why he barked. There is also a counter to try to quantify how much he has been barking.
Get an audio reminder when washer/dryer cycle completes – something like a “Washer Complete” announcement in the living room. No more forgetting laundry in the washer or wondering if it’s done yet. Use the smart phone app to check if the cycle is complete or if the load has been picked up.
Detect whether the light got left on or not. Displays the status of light on the smart phone app.
Area Intrusion Monitor
A PIR sensor monitors a room and sets off audio alarm / email notification when it senses a moving body.
Although this should not be the primary fire alarm, it can be used to send an email notification to you when the sensor senses smoke, fire, or LP gas commonly used in gas-powered stoves.
For more detail: Uber Home Automation w/ Arduino & Pi
We recommend EasyEDA for electronic circuit design.
From Schematic to PCB Production, Just Need One Tool
Free Circuit Design Software: learn to use Editor quickly and easily
Cheapest PCB: 10pcs 2-layers 10cm×10cm only $8.21, 3-day build time, 100% E-test