Hardware Reference
In-Depth Information
You can then build Open Z-Wave from sources in the traditional fashion:
svn checkout http://open-zwave.googlecode.com/svn/trunk/ open-zwave
cd open-zwave/cpp/build/linux/
make
The control panel, because of its web server, needs an up-to-date version of the httpd library and so is usually
best to install it from source. Most of the problems occur when this step is omitted:
wget ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.19.tar.gz
tar zxvf libmicrohttpd-0.9.19.tar.gz
cd libmicrohttpd-0.9.19
./configure
make
sudo make install
You can then grab the sources for the control panel:
svn checkout http://openzwave-control-panel.googlecode.com/svn/trunk/ openzwave-control-panel
and amend the configuration by uncommenting the three Linux-specific configuration entries around line 36. Then
build normally with make, linking the web configuration directory to that of the Open Z-Wave library:
ln -s ../open-zwave/config/
and run it, specifying the port:
./ozwcp -d -p 13112
You can then browse to the page, enter your device name (or tick the USB box, for controllers attached in that
way) and click “Initialize”. By using the -d flag you will see the debug information on the console, which is always
helpful in cases like this. You're now ready to talk to your house!
LinuxMCE
The LinuxMCE project has been gathering freely available Z-Wave information for a while now, and has dedicate part
of their wiki into describing it:
http://wiki.linuxmce.org/index.php/ZWave
What's more, they have succeeded in implementing a version of the protocol:
http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/ZWave/
Although this is, primarily, a media center project, you may find it introduces more dependencies that you might
normal want, especially if installing it on smaller form PC, such as the Raspberry Pi. However, if your controller is not
supported by Open Z-Wave and LinuxMCE is able to work with it, then you should smile and accept the overhead!
Search WWH ::




Custom Search