puccino
Posts: 5
Joined: Mon Jan 21, 2013 1:37 pm

Home automation with Rpi ready for use yet?

Mon Jan 21, 2013 1:41 pm

I've seen some videos of home automation with the raspberry pi, and nothing I saw looked practical. Each video has circuit boards and wires all over the place. Is there a clean and cost effective way to do it with a rasberry pi?

observing
Posts: 52
Joined: Mon Feb 27, 2012 12:18 pm

Re: Home automation with Rpi ready for use yet?

Mon Jan 21, 2013 3:59 pm

It depends on what you want to do and how much you want to do yourself. I went with a zwave solution for automating lights and appliances. I wrote my own home automation software on the Pi using the open-zwave library (http://code.google.com/p/open-zwave/). The only hardware interface to the Pi is a USB zwave controller. It's not a cheap solution compared to an X10-based system, but it is tremendously stable. If you also have intentions to automate your audio and video components, this solution probably wouldn't be adequate.

mistRasp
Posts: 8
Joined: Mon Jan 14, 2013 8:09 pm

Re: Home automation with Rpi ready for use yet?

Mon Jan 21, 2013 8:43 pm

Interesting link to open z-wave.
Which USB zwave controller are you using?

-Michael

puccino
Posts: 5
Joined: Mon Jan 21, 2013 1:37 pm

Re: Home automation with Rpi ready for use yet?

Mon Jan 21, 2013 9:14 pm

Interesting... I just saw a video on a zwave outlet and found a free app for an ipad to control it.

https://itunes.apple.com/us/app/incontr ... 84651?mt=8

So if you're using zwave, and can install an app on your phone or tablet to control it, then what is the RPi doing? If you have zwave, is there anything RPi can do with it that an app on your phone can't?

User avatar
Jim JKla
Posts: 2218
Joined: Sun Jan 29, 2012 11:15 pm
Location: Newcastle upon Tyne UK

Re: Home automation with Rpi ready for use yet?

Mon Jan 21, 2013 9:19 pm

The RPi can do home automation but until sombody designs specific bits for the RPi it is allways going to look scruffy. ;)
Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek ;)

If you find a solution please post it in the wiki the forum dies too quick

mistRasp
Posts: 8
Joined: Mon Jan 14, 2013 8:09 pm

Re: Home automation with Rpi ready for use yet?

Mon Jan 21, 2013 9:21 pm

Hi Puccino,

from the iTunes page:
--------------------------------------------------------------
Requires a compatible USB Stick (ControlThink's ThinkStick, Aeon Lab's, etc. -- see http://www.moonlitzwave.com for more complete list) and free server software (http://www.moonlitzwave.com) to function. Server software runs on Windows.
--------------------------------------------------------------

The phone app talks to the server. It's the server that does the communication to the z-wave devices. The server they mention on iTunes runs on Windows. The other person responding to this message as his server running on the Raspberry. It will take some time to implement your own solution, but that is what I think would be fun :-)

puccino
Posts: 5
Joined: Mon Jan 21, 2013 1:37 pm

Re: Home automation with Rpi ready for use yet?

Mon Jan 21, 2013 9:50 pm

mistRasp wrote:Hi Puccino,

from the iTunes page:
--------------------------------------------------------------
Requires a compatible USB Stick (ControlThink's ThinkStick, Aeon Lab's, etc. -- see http://www.moonlitzwave.com for more complete list) and free server software (http://www.moonlitzwave.com) to function. Server software runs on Windows.
--------------------------------------------------------------

The phone app talks to the server. It's the server that does the communication to the z-wave devices. The server they mention on iTunes runs on Windows. The other person responding to this message as his server running on the Raspberry. It will take some time to implement your own solution, but that is what I think would be fun :-)
So he's used open-zwave to turn his RPi into one of these that is many times cheaper:

http://www.amazon.com/Mi-Casa-Verde-Ver ... B007005364

I'm taking it he needs that "USB zwave controller" because zwave can't communicate over wifi?

observing
Posts: 52
Joined: Mon Feb 27, 2012 12:18 pm

Re: Home automation with Rpi ready for use yet?

Mon Jan 21, 2013 10:05 pm

I'm using the Aeon Labs Z-Wave Z-Stick Series 2 USB Dongle. I wrote my application in C++ for windows first and then ported it to the Pi. The open z-wave library didn't require any porting. It compiled on the Pi with no problems.
mistRasp wrote:Interesting link to open z-wave.
Which USB zwave controller are you using?

-Michael

puccino
Posts: 5
Joined: Mon Jan 21, 2013 1:37 pm

Re: Home automation with Rpi ready for use yet?

Mon Jan 21, 2013 10:33 pm

Why not use HomeGenie instead of open zwave? This page says it works on RPi and Zwave...

http://sourceforge.net/projects/homegenie/

Anyone try HomeGenie ?

simonpb1
Posts: 25
Joined: Thu Sep 13, 2012 11:25 am

Re: Home automation with Rpi ready for use yet?

Mon Jan 21, 2013 10:39 pm

Look at 6LoWPAN.

mistRasp
Posts: 8
Joined: Mon Jan 14, 2013 8:09 pm

Re: Home automation with Rpi ready for use yet?

Tue Jan 22, 2013 5:13 pm

puccino wrote:
mistRasp wrote:Hi Puccino,


So he's used open-zwave to turn his RPi into one of these that is many times cheaper:

http://www.amazon.com/Mi-Casa-Verde-Ver ... B007005364

I'm taking it he needs that "USB zwave controller" because zwave can't communicate over wifi?
Wifi and Z-wave are different wire less communication protocols, so they are not compatible.
The USB stick is to add Z-wave support to his Raspberry pi. I'm not familiar with the Mi-Casa-Verde box, but yes it seems like that has Z-wave support too. In some sense you can say the Raspberry is turned into a box like that when a USB Z-wave stick is added. Naturally you'll have to develop an application/program for the Raspberry for it to be able to use the USB Z-wave stick or alternatively find a distribution that already can do that.

t2tonesimone
Posts: 1
Joined: Tue Mar 12, 2013 5:46 pm

Re: Home automation with Rpi ready for use yet?

Tue Mar 12, 2013 5:52 pm

If you check out en.z-wave.me you can register for a free web accont and then use the z-wave.me web server to run home auto using a RPi.

U will also need either a USB z-wave stick (aeon Labs works really well because you can unplug it and use it for inclusion). Then follow the guide here http://code.google.com/p/z-cloud/wiki/W ... ationHowto and it will talk you through setting up the RPi and the z-wave controller in about 10 mins. U will need to have made an acount at en.z-wave.me first inorder to be able to download your certificates linked to your web login.

I have been using for a couple of months now and its sweet. Will run on almost anything and can use anything with a web browser as a controller, i.e old ipod touch, smart phone etc.

N.B They have just released a daughter board called a Razberry which is a smal pcd that will plug directly into the RPi pins and would most likely fit inside a RPi case. :ugeek:

Return to “Automation, sensing and robotics”