Voice controlled home automation uses Raspberry Pi and LightwaveRF

It’s not quite artificial intelligence, but saying “Jeeves, lights!” will switch on the bulbs in the room. [Chipos81] built the voice-activated home automation around a Rapsberry Pi board with LightwaveRF devices switching lights and outlets.

The LightwaveRF system offers a WiFi link which provides Internet connectivity for all of those devices in your house. This makes it a snap for [Chipos81] to control them from the RPi. To provide speech recognition he’s using CMU Sphinx. It’s an open source speech recognition library developed by researchers at Carnegie Mellon University and released under a BSD license. It seems to do a great job in the video of quickly parsing several sets of commands.

“Jeeves” will even talk back to you to confirm a command. This is generated by Festival, a package developed by the University of Edinburgh.  This provides some entertainment in the last seconds of the video as we detect a distinct Scottish accent when it says “See you tomorrow”.

The GPIO pins provide a bit of feedback, using three colored LEDs to let you know what is going on with the system. There’s even an IR LED used to add voice control to your Television.

31 thoughts on “Voice controlled home automation uses Raspberry Pi and LightwaveRF

    1. I myself was wondering how he managed to get the voice recognition to run efficiently. My guess is the limited number of command sequences.

  1. What, no Earl Grey? Oh, right, no replicator (3D Printer) for food, yet. Have to agree with Isama, time for a new project but “Jeeves”? “Computer” would seem more logical.

      1. Once read a comic where the guy (a police detective) named his house computer Galataea. After the King of Crete who built himself a metal woman, then fell in love with her…

  2. I would be very interested in building a system such as you have shown. Being a beginner I was wondering if you have a more complete review uploaded on another site.

    1. THEN look what happens! Still you then dump Luke Perry to end up with Mila Jovovich so, could be worse.

      [I LOVE that film! Gary Oldman / J.E. Zorg have to be one of the best actors / characters of all time]

  3. Nice job. I built one too – I call her “SARAH” (I’m a big fan of the SyFy channel’s Eureka). It uses a combination of Arduino and PC. I have a few instances of SARAH running, including one in a magic mirror (LCD screen behind 2-way glass in a frame. SARAH responds to voice commands by performing queries the home automation database to get information about the house, queries the internet, and also can do things like turn on/off lights.

    http://bithead942.wordpress.com/2010/10/30/magic-mirror/

  4. done this nearly a year ago.. the pi is too slow to really use the capabilities of festival (2-3 secs until there is an answer), that is why he probably ran festival just once to generate the wavs and now only plays them, and CMU sphinx has to be limited to a list of about max. 50 words to still work with a detection rate of over 90%. The Pi is by far too slow for these tasks.

      1. Charlie, I’d very much like to create a lightwaveRF automation with my new RPI. I’m new to both RPI & Linux (any coding) environment, therefore a huge amount of research often results in only snippets of useful / takeaway information gained.

        I’ve owned LWRF products (including wifi controller) since LWRF first production, and have controlled with controller and iPhone app. I’ve purchased required RPI equipment especially for the purpose of automating with Pi; I’ve already downloaded / stored the sources you’ve created and suggested using in varying blogs / posts, however am getting nowhere fast, due to nooby status RPI knowledge.

        Would it be at all possible to provide more detailed (broken-down) steps, including incremental stages, in order to facilitate my efforts to achieve desired result?

        Very much welcome any advisory / assistance you’re able to provide.

        Best,
        Jay

  5. thank you! would it be able to be made in a way that can turn on my tv by command, then my ps3 on separate command with programming commands for each?

  6. This is great. Thanks for sharing Mike. Is it possible to put this code up on github so we can build on top of it?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s