Using till now a Zwave.me stick I wanted to use their daughter card you can directly install on GPIO ports of Raspberry and fits in same case.
Be careful that you’ll have to rebuild all your automations after the process as names of devices will change during process !
How to do it:
→ Shutdown your PI or disconnect it from power supply.
→ Unplug the USB stick from raspberry
→ Plug the Razberry card carefully on GPIO of Raspberry
→ Plug back power supply on PI
→ Shutdown HA service (service home-assistant stop should do the trick).
→ Connect in SSH to your PI and su - to root account
→ As suggested by manufacturer of ZWave card, execute that command line:
wget -q -O - http://razberry.z-wave.me/install | sudo bash
→ it’ll install the control panel of ZWave.me for the board we just installed.
→ Once install is finished, just go at http://ipofyourpi:8084. You’ll have a full ZWave control panel. First thing is to disable remote access and remote management as we don’t need it ! Check also if upgrades are avalaible for the board and do them. If you did some firmware updates, reboot the PI once done. You can either pair your devices from this control panel or HA. I prefered to use this one as it gives lot of details so lot easier to pair devices.
Trick: instead of looking how to get ZWave devices to forget their previous pairing to the USB stick, just put the Zwave controler in Unpair mode and push the button on the zwave device and you are done. You can now pair it with the ZWave board.
→ Once you have rebuilt your ZWave network, you can then disable the two services we installed (to avoid conflict with HA):
service zbw_connect disable
service z-way-server disable
→ Now we are going to edit configuration file to update the USB port used for the ZWave (it’s using GPIO but it’s seen as a USB device in Linux) and update it to use /dev/ttyAMA0:
zwave:
usb_path: /dev/ttyAMA0
new_entity_ids: true
If you are using HA older than 0.48 don’t add line new_entity_ids as it’s new feature appeared in 0.48 !
→ We can now reboot the PI and HA should automatically add all devices you have paired in ZWave in HA automatically
Hope it helps, and welcome at any suggestions, modifications
Vincèn