My Pi is set up with the Raspberry Pi Arm Debian image on a 8gb SanDisk Extreme III card and a Belkin powered USB hub. The instructions below should be the same for non-Pi installations on Debian/Ubuntu/Mint.

1. You will have to have build-essentials, make, subversion applications installed (maybe others).sudo apt-get install build-essential make subversion

cd ../examples/linux/MinOZW
(change Makefile if your device is not at /dev/ttyUSB0)
make
./test

While this is running – hit the button on the switch/sensor and it should react and write a config file – zwcf_yourhome.xml. I just opened this saw that my device was in it and jumped to openzwave-controller. More info can be found on the open-zwave project wiki.

Then cruise to your favorite browser and type in http://ip_connected_to_z-wave:55555/.

Notes: When I use my iPad to access the control panel it, everything gets messed up and I have to hit the reset button in the web GUI then repair the device.

The openzwave-controller is far from perfect but it is an awesome way to get up, running and testing your devices in under 10 minutes. Much praise to them.

The next plan is to connect directly to the open-zwave interface and create a socket server or simple REST API for handling basic commands and schedules.

UPDATES: I found http://conradvassallo.com/2012/03/14/lights-control-open-zwave/ project and after finding the right socket libraries I was off. I made a couple updates so I don’t lose the most current status of a notification event and built a quick little web page to turn on and off my light. More switches should be coming this week as well as a EtherRain sprinkler controller. The Pi will tie all the pieces together and give me one protocol to communicate to the switches.

Finally got my Pi and thanks to your tutorial, I managed to compile and got my code working fine. I wanted to ask you about your socket server. Did you use the code of the openzwave-control-panel or you wrote your own. My main concern is about reading the status of the devices. Can you please shed some light about this?

I ended up expanding on your example. I did a couple quick changes to keep/get the current status. I updated the onChange notification function to remove and add the updated values (‘basic=on’ being the important one). I returned all the values as a string I can parse by the client (wasn’t sure what I would need at the time). I also added a call to Manager::Get()->RefreshNodeInfo(g_homeId, nodeInfo->m_nodeId) to re-poll for a status update (rather than constantly polling).

Happy I found this post, was looking for a starting point to install some lighting either via z-wave or GPIOs on the Raspberry Pi. Don’t have the PI yet, but for now planning on using a standard install of Debian or Ubuntu on a laptop to test out options.
The only thing that kind of annoys me is every GUI seems to be web-based. Has anyone seen/found a way to use something other than a web based client/server?
Anyway good post, and I hope to be able to built on it.

I followed all your instructions to configure my raspberry, but after I used the Z-stick Lite (bridge) V3_47 EU 20111111.zip my Z-stick does not turn on the light.
is that correct?
Thanks for your cooperation

Hi Thomas,
thank you for the corrected link, I will try the soonest. I am confused about the firewall to be used on the z-stick. Following your instructions I downloaded the firmware Z-stick Lite (bridge) V3_47 EU 20111111.zip but after having applied it my stick does not light any longer. On the Aeotec web site all the links related to the firmware downloads are broken so I have found the following firmware “Windows-Static-Library-5-02-P3-EU” and with this my stick is now lighted again but I have no idea whether it will work along with your instructions. I will try to follow both ways: following your old instructions and the new image and I will be back to you. In case you know where I can find a valid EU firmware I will appreciate your help.
Best regards
Giancarlo

Sorry for the delay in the response. I have not seen the ZStick-c before – looks interesting. The link, http://www.vesternet.com/downloads/dl/file/id/8/z_wave_me_usb_stickc_manual.pdf, goes to their manual but you probably already have that. It looks like it follows the same serial protocol as the daughter controller card and my guess would be to start by installing their software and making sure you have the latest firmware.

When i try to update software on Raspberry i get this error
Traceback (most recent call last):
File “ZStickUpdater/ZStickUpdater.py”, line 24, in
import SerialAPI
File “/home/pi/ZStickUpdater/SerialAPI.py”, line 1
../../SerialAPI.py
^
I did edit that file and change to /home/pi/ZStickUpdater/SerialAPI.py and other different way.
The path have to be right, but idk wats the problem could be

Basically none of the links exist anymore. Do you have an updated version that might work? I have been fighting with my pi for weeks trying to get something to work. tried openhab, home assistant + openzwave, openzwave solo, I always come to a wall where I have an interface for something but no way to actually connect/access my zwave nodes.