Home audio and lighting taken over by the Raspberry Pi

687474703a2f2f7777772e6265616b61626c652e636f6d2f696d672f707265766965772d312e706e67

We’re beginning to see a lot of momentum building for using Raspberry Pi boards as the basis of your home automation. This latest offering from [Iain Hamilton] combines lighting and audio control through a single web interface. His frontend is run as a web page from the RPi board. It even includes separate layouts for mobile devices and computers in order to maximize use of the screen real estate.

Three buttons at the top of the interface allow him to configure the settings and switch between lighting and audio controls. This audio control screen issues commands to the Spotify client running on the Pi. The Mopidy package takes care of almost everything (as we’ve seen with other single-board computer Spotify servers). Future iterations will offer other streaming services like SoundCloud. [Iain's] home lighting system uses X10 modules for control. He’s using a USB dongle to facilitate control of that system.

19 thoughts on “Home audio and lighting taken over by the Raspberry Pi

  1. Boostrap would’ve made that Web UI look great! It’s got the benefit of being mobile responsive too.

  2. ‘the basis of your home automation’

    yet again this is not an example of using the Pi as a ‘basis of home automation’. yes its nitpicky, but remote control is not home automation.

    Is the rPi capable of acting as an HA brain… YES, particularly with its ability to monitor its GPIO and attach a radio for wireless devices/sensors.

    This is not that.

      1. There was nothing “wrong” with this project. What these fine folks are saying is, this is not home automation. It is a home remote control device. Home automation is having lights turn on and off automatically, adjusting and changing audio parameters, etc etc. It is missing the “automatic” part of the automation.

        Still impressive build in my eyes… but no, not home automation.

        1. Just posted above about this and I do sort of agree, however this project is still under constant development. Once I’ve got Pandora interfaced alongside the Spotify player I’ll be moving on to building a decent interface for the USB Temperature sensor. Once that’s done I’ll enable mixing this with timers to give some more of these automated features :).

          Its a slow process, but it will get there.

      2. That’s the coolest Orange I’ve ever seen!

        Well, technically, it’s an Apple.

        There’s nothing wrong with the project, just the description of it. On its own, it’s a perfectly cool Apple.

    1. This is a pretty fair comment for the current state BeakPi is in however it’s currently a one man band! Once I’ve mixed Pandora in and got that all working correctly the next stage I’ll move onto is adding timers and using the USB temperature sensor as a way of auto controlling things. Then using the utils network commands, I’ll allow a user to record actions made and setup macros, which can implement the timer/temperature…

      It’s getting there, has a good way to go yet, but getting there!

  3. The Gadget Show here in the UK used a Raspberry Pi for one of their gadget contraption builds, it was an ice-cream maker/dispenser. Any guesses as to what they used the Pi for?

    Activating the dispenser nozzle for 10 seconds when a PIR motion sensor was triggered…

    If I could do the appropriate sized facepalm it would kill me in an instant.

  4. Does anyone know other/better home automation software for the Pi? Something that includes a decent scheduler, mail notifications, logging & graphing etc would be nice.

    1. I wrote this a while back (and it was on Hack a day actually). It doesnt have everything but it does have scheduling. I have used it to flip lights on/off while on vacation for instance. I have been busy with work and havent added much lately but I would like to add features so having requirements from people like you might help think up what to build next. I was planning a thermostat plugin for it next which sounds like it might end up with a similar set of features, graphing, logging etc. Mail notification sounds like it might be a nice addition.

      https://github.com/dandroid88/webmote

      http://hackaday.com/2012/12/14/webmote-control-anything-with-web-based-remote/

  5. Even easier to do if you rip out the home audio stuff and replace it with Sonos. I’ve got complete control over sonos gear over Linux as well as Arduino. Even built room “keypads” to put on the wall to control sonos.

      1. I don’t think they are worth that much. I mean, you can buy a tablet+required apps and a pair of decent speakers in the money of a simple sonos speaker. and you get a lot of added bonus like …(fill in all the stuff that tablets can do and sonos cannot).

  6. With this being a good subject for the future with home automation being a multi facited subject, suprised HaD don’t have a dedicated area with projects and how-to’s.

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