Page 1 of 3

How to migrate to Razberry 7

Posted: 18 Jan 2022 20:58
by ulfmansson
Hi,

I use Home assistant and have an earlier version of Razberry Gen 2. I would like to migrate my nodes to the new Razberry 7 card. Which is the best way to do this?

Can I do a NVRAM backup/restore

Ulf

Re: How to migrate to Razberry 7

Posted: 19 Jan 2022 00:57
by PoltoS
No, NVR has a different layout in the two versions.

Please use Z-Way to make a backup, then restore.

Save the backup of the RaZberry in Expert UI
Replace the board
Restore the backup in Expert UI

Re: How to migrate to Razberry 7

Posted: 19 Jan 2022 02:27
by ulfmansson
Ok, I tried that but I can't connect to the card. I get this

An unexpected error occurred while initialising the Z-Wave controller data.
Please check
1.) if the controller is plugged in correctly,
2.) that in the app 'Z-Wave Network Access' the right port is entered
(UZB: '/dev/ttyACM0', RaZberry shield: '/dev/ttyAMA0', UZB-Windows: '\\.\COM3', Z-Stick: '/dev/ttyUSB0', embedded boxes: '/dev/ttyS0' or '/dev/ttyS1')
3.) the app is aktiv. If not you could activate it under Menu > Apps > Active or add a new one under Menu > Apps > Local.
The Setting 'Expert View' needs to be active under Menu > My Settings.

The setting is /dev/ttyAMA0

Re: How to migrate to Razberry 7

Posted: 19 Jan 2022 04:13
by brianaker
How is the DSK for the Razberry 7 card handled if you upgrade from the Razberry2 card? (by razberry 2, I mean a board with the 500 SOC )

Re: How to migrate to Razberry 7

Posted: 19 Jan 2022 04:15
by PoltoS
You will have a new DSK. But does it matter to you?

Re: How to migrate to Razberry 7

Posted: 19 Jan 2022 04:16
by PoltoS
ulfmansson wrote:
19 Jan 2022 02:27
Ok, I tried that but I can't connect to the card. I get this
Please make sure to have your HAss off before running Z-Way, so the port is available.

Re: How to migrate to Razberry 7

Posted: 19 Jan 2022 04:49
by brianaker
PoltoS wrote:
19 Jan 2022 04:15
You will have a new DSK. But does it matter to you?
If the z-way instanced was included into z-wave network, aka you provided its DSK to the other hub during inclusion, I would think that a problem with either S2 auth and/or access. For that matter, if you used the DSK in client side, you would end up with a problem as well.

To summarize, if the hub is a secondary gateway, can you upgrade just the card if the network uses S2?

If the z-way instance is the primary controller, will upgrading the card break any devices which are using S2 or were included using the z-way controllers DSK?

Re: How to migrate to Razberry 7

Posted: 19 Jan 2022 04:52
by brianaker
PoltoS wrote:
19 Jan 2022 00:57
Save the backup of the RaZberry in Expert UI
Replace the board
Restore the backup in Expert UI
Is there a way to turn off the z-way layer, in order to not confuse it, do the backup in Expert, shutdown, replace the board, startup, restore the board, verify, and then re-enable z-way layer?

Thanks!

Re: How to migrate to Razberry 7

Posted: 19 Jan 2022 10:53
by ulfmansson
I did it on a clean raspbian installation with only zwave.me. I can access the old card via zwave.me and was able to export from that card but when I change to the Razberry 7 card I can't access it.

The Razberry 7 card flash ones when I start the raspberry

I can communicate on the port with my old card
echo -en "\x01\x03\x00\x15\xe9" > /dev/ttyAMA0
pi@raspberrypi:~ $ Z-Wave 4.61�Z-Wave 4.61�Z-Wave 4.61�Z-Wave 4.61�

But with the new I don't get any response
sudo systemctl stop z-way-server.service
pi@raspberrypi:~ $ cat < /dev/ttyAMA0 &
[1] 1301
pi@raspberrypi:~ $ echo -en "\x01\x03\x00\x15\xe9" > /dev/ttyAMA0
pi@raspberrypi:~ $

Re: How to migrate to Razberry 7

Posted: 19 Jan 2022 11:07
by PoltoS
@brianaker

1) DSK (public key) is used only during key exchange only once. Then network key is negotiated and this is saved across backup (if managed by Z-Way) or is unchanged (if managed by other s/w).

2) Yes, you can turn off Z-Wave Binding app in Z-Way smart home and then enable it back after the replacement. But better to turn off the Pi completely during board replacement not to kill the board due to the ESD.