[HowTo] Update from Z-Way 1.x to 2.0.0-rcX
Posted: 12 Oct 2014 13:18
DraftDraftDraftDraftDraftDraftDraftDraftDraft
Please only respond with questions/remarks on this Recipe. Problems with RaZberry should go in that subforum!
CAUTION 1: At the moment, this recipe is only inteded to help testers. Only use if you are confident. No guarantees, and no liabilities are accepted. In short you are on your own. Other users should stick with the production version
Before you start with the expert interface make a backup of your configuration. You will need that in one of the following steps
Get the RaZberry sources from http://razberry.z-wave.me/z-way-server/
Step 1
Use a blank SD card and copy with your favourite image writer the base RaZberry image from razberry.img.zip. On win7 I do use Win32DiskImager. Startup the Raspberry Pi.
Step 2
Open a terminal session on your Pi (using putty in this instruction)
Stop the z-way server:
CAUTION 2: At the moment of this writing the RaZberry image comes with an OpenRemote installation, which automatically starts after boot-up. If you do not intend to use OpenRemote on Raspberry Pi, do prevent its start by placing a # at the beginning of that command in file. With editor nano change that line:
To ensure the latest libraries will be used, give the following command:
Step 3 (optional)
As I am working from a Windows environment I decided to install a Samba service on the Pi using the instruction at:
You may consider to make one share at /root in the early phases. Be careful in open environments!!
Step 4
Open your RaZberry backup with an archive program like 7Zip, and copy the zddx directoy of that archive to:
Step 5
Next do your upgrade with somthing like:
Step 6
Next update to your archived devices configuration:
Start Z-Way:
Step 7
Next open the zway home automation app:
If you do not see the Zwave module under -Preferences-Automation, then open -Preferences-Modules-Peripherals-Zwave. For the RaZberry device set the Serial port to the value /dev/ttyAMA0 as shown in the picture below. (Last character is a ZERO)
Step 8 (OPTIONAL)
If you need to upgrade to the following Release Candidate, just start the Z-Way configurator http://RASPBERRY_ip:8084 and fill the screen as below in the example.
Please only respond with questions/remarks on this Recipe. Problems with RaZberry should go in that subforum!
CAUTION 1: At the moment, this recipe is only inteded to help testers. Only use if you are confident. No guarantees, and no liabilities are accepted. In short you are on your own. Other users should stick with the production version
Before you start with the expert interface make a backup of your configuration. You will need that in one of the following steps
Get the RaZberry sources from http://razberry.z-wave.me/z-way-server/
Step 1
Use a blank SD card and copy with your favourite image writer the base RaZberry image from razberry.img.zip. On win7 I do use Win32DiskImager. Startup the Raspberry Pi.
Step 2
Open a terminal session on your Pi (using putty in this instruction)
Stop the z-way server:
Code: Select all
sudo service z-way-server stop
Code: Select all
sudo nano /etc/init.d/openremote
#$OPENREMOTE_HOME/openremote.sh start
Code: Select all
sudo apt-get update
Step 3 (optional)
As I am working from a Windows environment I decided to install a Samba service on the Pi using the instruction at:
Code: Select all
http://raspberry.znix.com/2013/03/sharing-directories-with-windows-linux.html
Step 4
Open your RaZberry backup with an archive program like 7Zip, and copy the zddx directoy of that archive to:
Code: Select all
/opt/z-way-server/config/zddx
Step 5
Next do your upgrade with somthing like:
Code: Select all
wget -q -O - razberry.z-wave.me/install/v2.0.0-rc8 | sudo bash
Step 6
Next update to your archived devices configuration:
Code: Select all
sudo LD_LIBRARY_PATH=/opt/z-way-server/libs find /opt/z-way-server/config/zddx -name "*.xml" -exec /opt/z-way-server/z-cfg-update {} \;
Code: Select all
sudo service z-way-server start
Step 7
Next open the zway home automation app:
Code: Select all
http://RASPBERRY_ip:8083/z-way-ha/
Step 8 (OPTIONAL)
If you need to upgrade to the following Release Candidate, just start the Z-Way configurator http://RASPBERRY_ip:8084 and fill the screen as below in the example.
- Be reminded to:
- disable the Remote Access if you do not want this. Remote Access is enabled by default during installation/upgrade.
- regularly make a diskimage after changes of your hardware/software.