Page 3 of 5

Re: Version 2

Posted: 30 Sep 2014 16:24
by pofs
pz1 wrote:
Clean installation already has it pre-configured for you.
A clean installation sounds a bit ambiguous. Does it also mean that I do have to exclude/re-include all Z-Wave devices, or is just a
wget -q -O - razberry.z-wave.me/install/v2.0.0-rc8 | sudo bash ?
By "clean installation" I meant to install it from scratch on a new flash card and have a blank Home Automation config.
It is more suited for new users, while existing users need to perform some additional steps (which are not too much different from updating) if they want to keep the existing network.

Network topology and decvices are stored on the chip itself, so you don't need to re-include devices. But to keep existing devices intervew state, you might need to copy config file. This is mandatory if you have secure devices in your network!

To do that, after installation copy /opt/z-way-server/config/zddx/ folder contents from your old system to the new one, and run the following command:

Code: Select all


After that you'll get a clean HA (with ZWave Binding already included) while keeping existing network safe.
find /opt/z-way-server/config/zddx -name "*.xml" -exec /opt/z-way-server/z-cfg-update {} \;

Re: Version 2

Posted: 30 Sep 2014 17:40
by pz1
pofs wrote: To do that, after installation copy /opt/z-way-server/config/zddx/ folder contents from your old system
I assume that is the same folder as the /zddx which I find in the backup file made with the Expert view?
That zddx contains only one file: d01c1f5b-DevicesData.xml
I could not verify, because earlier today my Pi has crashed again. Apparantly meant to force me in this experiment :mrgreen:

Re: Version 2

Posted: 30 Sep 2014 17:45
by pofs
pz1 wrote:I assume that is the same folder as the /zddx which I find in the backup file made with the Expert view?
That zddx contains only one file: d01c1f5b-DevicesData.xml
Yep, it is!

Re: Version 2

Posted: 30 Sep 2014 18:01
by pz1
Thanks a lot. I'll give it a try tomorrow

Re: Version 2

Posted: 01 Oct 2014 12:11
by zoic22
I just try it's work for me (I juste change port of razberry to /dev/ttyAMA0). For now I just test in dev system (without any module) and I only use API but no error. I don't see any big difference in API for now.

Thank for your work

Re: Version 2

Posted: 01 Oct 2014 13:21
by pz1
@pofs
I did the following:
  • Copied the razberry1.7.1.img onto an SD card.
  • Placed in in the Raspberry, and applied power to startup.
  • Ran the ExpertUI which seemed to work
  • Connected with Putty and did wget -q -O - razberry.z-wave.me/install/v2.0.0-rc8 | sudo bash
  • Next I tried to stop z-way-server to get my old configuration in. This stop failed:

Code: Select all

pi@raspberrypi ~ $ sudo /opt/z-way-server/z-way-server stop
/opt/z-way-server/z-way-server: error while loading shared libraries: libzcommons.so: cannot open shared object file: No such file or directory
Looks like something is missing in the install file?

Re: Version 2

Posted: 01 Oct 2014 13:25
by zoic22
Try this, to stop z-way server :
sudo service z-way-server stop

Re: Version 2

Posted: 01 Oct 2014 14:02
by pz1
Thanks, that did the job. Apparantly I had the wrong command in my memory

Re: Version 2

Posted: 01 Oct 2014 15:34
by pz1
pofs wrote:

Code: Select all

After that you'll get a clean HA (with ZWave Binding already included) while keeping existing network safe.
find /opt/z-way-server/config/zddx -name "*.xml" -exec /opt/z-way-server/z-cfg-update {} \;
The command resulted in this error message

Code: Select all

pi@raspberrypi ~ $ find /opt/z-way-server/config/zddx -name "*.xml" -exec /opt/z-way-server/z-cfg-update {} \;
/opt/z-way-server/z-cfg-update: /usr/lib/arm-linux-gnueabihf/libxml2.so.2: version `LIBXML2_2.9.1' not found (required by /opt/z-way-server/z-cfg-update)
Still seems something missing

Re: Version 2

Posted: 01 Oct 2014 23:58
by PoltoS

Code: Select all

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 {} \;