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.

32 thoughts on “Voice Controlled Home Automation Uses Raspberry Pi And LightwaveRF

  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…

    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]

  2. 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.

  3. 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.


Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.