I've got it working for me, though it is quite buggy as it is not updating visually when renaming or adding automation (you have to reenter the Z-Way Home Automation UI from the root adress http://Z_WAY_IP:8083)
If you don't rely to have a stable system and accept you may need to reflash your PI in a distant future, and of course you want to have the latest branch and functions, go through these step as I did (I have no hair left):
1. Download and flash the system as told by the Razberry site
http://razberry.z-wave.me/index.php?id=24
2. SSH in to your Razberry (the password is raspberry):
2. Download the latest build to your Razberry from
http://razberry.z-wave.me/z-way-server/ i.e:
Code: Select all
$ wget http://razberry.z-wave.me/z-way-server/z-way-server-RaspberryPiXTools-v2.0.0-rc13.tgz
3. Unpack the downloaded file which creates a folder named z-way-server:
Code: Select all
$ tar zxvf z-way-server-RaspberryPiXTools-v2.0.0-rc13.tgz
4. Now we have replace the current z-way server. First we make a backup of it and then we copy the z-way-server folder we unpacked (rembember the tiny whiny dot in the third line):
Code: Select all
$ cd /opt
$ sudo mv z-way-server z-way-server_backup
$ sudo cp -r /home/pi/z-way-server .
5. We are no finished yet, as we have some libs we have to put copy and redirect. What we will do here is to redirect libxml2.so.2 to a newer version, and also to make sure everything works ok (I don't what I'm doing here, but it may help) we copy all the libs from the new version of the server to the libs directory of the system. Watch me getting dirty:
Code: Select all
$ cd /usr/lib/arm-linux-gnueabihf
$ sudo mv libxml2.so.2 libxml2.so.2_backup
$ sudo ln -s /opt/z-way-server/libs/libmxml2.so.2.9.1 libxml2.so.2
$ cd /opt/z-way-server/libs
$ sudo cp libv8.so libxml2.so libzcommons.so libzenocean.so libzwayjs.so libzway.so /usr/lib/arm-linux-gnueabihf/
$ sudo reboot
Now we are done and hope everything works. The last copy line should NOT replace any files in the /usr/lib/arm-linux-gnueabihf, if it so it is not good...
If some modules is not added in Z-Way Home Automation UI we should add them (you can check if they are added in preferences->automation). The Z-Wave binding module is the most important. The other ones I don't think matter so much:
* Select preferences->modules->pheriperals
* Add the Z-Wave binding module. The dongle setting for the Raspberry PI should be: /dev/ttyAMA0
* Add the Z-Wave Gate device creator
* Add the Z-Wave device dead detection
6. To revert your changes:
Code: Select all
$ cd /usr/lib/arm-linux-gnueabihf
$ sudo rm libv8.so libxml2.so libzcommons.so libzenocean.so libzwayjs.so libzway.so libxml2.so.2
$ sudo mv libxml2.so.2_backup libxml2.so.2
$ cd /opt
$ sudo rm -r z-way-server
$ sudo mv z-way-server_backup z-way-server
$ sudo reboot