The Z-Wave interface uses the OpenZWave library (OZW) to talk to the Z-Wave dongle. It was inspired by the LinuxMCE Z-Wave driver and provides a solid way to talk to Z-Wave. It is provided by the agocontrol-zwave package.
sudo apt install agocontrol-zwave sudo systemctl enable agozwave.service sudo systemctl start agozwave.service
You need to specify the usb serial device that is provided by the Z-Wave dongle on your system in the config.ini like this:
Additional parameters that can be set:
returnroutes=true/false sis=true/false assumeawake=false/true validatevaluechanges=false/true retrytimeout=2000 pollinterval=30000
The dongle itself is announced as "zwavecontroller" device type to the resolver. You can send some special commands to it for z-wave device management:
allon - switch all z-wave nodes on alloff - swich all z-wave nodes off addnode - add a node to the z-wave network removenode - remove a node addcontroller - add a contrller removecontroller addassociation removeassociation setconfigparam downloadconfig cancel saveconfig reset - WARNING, this deletes the network information from the stick. You need to rebuild your network afterwards