Posts: 26
Joined: Wed Dec 26, 2012 10:54 am

Home Automation

Mon Feb 10, 2014 9:07 pm


I have had my pi a wee while now but haven't really done anything good enough with it so I decided I'll automate my bedroom and studyroom. I have one Rpi and I will get another one for the second room. My idea is to have the Rpis wall mounted each with a touch screen. Speakers will be in each room which are connected to the Rpi. Both Rpis will have a Bluetooth dongle and WiFi dongle.

What I want is to use an external wireless microphone to be able to interface with each Pi (as well as the touch screens). The Pi's can detect which of the rooms I am in so it can decide which speaker to output audio. It also has to interface with my phone (Sony Xperia U running android 4.0.4)

The Pi should be able to control the lights, TV, music, stream from Youtube, give me a live feed of the other room via a webcam, general conversation, updates (eg facebook message and SMS alert), send SMS, interface with the other Pi (to control lights or use tts if someone is in the other room)

Would anyone have help on doing some of these things?

Thanks in advance,

Posts: 365
Joined: Sat Aug 11, 2012 3:45 pm
Contact: Website

Re: Home Automation

Mon Feb 10, 2014 10:09 pm

The Raspberry Pi Hell Guy - Random Ramblings to assist me and others.
My Github - http:/ - send free uk sms via your raspberry pi from here

Posts: 26
Joined: Wed Dec 26, 2012 10:54 am

Re: Home Automation

Tue Feb 11, 2014 5:30 pm

Thanks txt3rob

Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: Home Automation

Wed Feb 12, 2014 7:04 am

Check out Steven Hickson's VoiceControl software. (His blog: ... d-v31.html ) It already does a lot of what you're looking for (Voice Control, Youtube, TV, Music) and will let you add voice control to anything you can do at the command line using a simple configuration file. I don't think it will directly interface with your phone, and I don't think it will detect which room you're in by design, although I suppose if you run multiple instances of VoiceCommand which connect to different microphones (I'm not sure if this is possible on one Pi without adding it yourself) you could give each room different configuration scripts so that the same commands (i.e. lights on) do different things (switch on a different relay)

For interfacing with another Pi, look into using SSH to run commands remotely. I'm not sure how much you'll find on that specifically related to the RasPi, but it should be exactly the same as in virtually any Linux distribution. This should let you do anything you like on any RasPi or other Linux machine, so long as you can write a program to do it in the first place.

I've written a pair of scripts to let you control a TV and Bluray player from the Pi. You can find them here: ... lit=+input
I'm currently using them with the VoiceControl software I mentioned above, and can tell my Pi "TV on" or "TV input bluray" as examples.

I wish you luck, and look forward to seeing your progress.

Return to “Automation, sensing and robotics”