Z-Wave

From ago control wiki
Revision as of 20:18, 22 December 2016 by JoakimL (Talk | contribs)

Jump to: navigation, search

Contents

Z-Wave interface

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.

Installation

sudo apt install agocontrol-zwave
sudo systemctl enable agozwave.service 
sudo systemctl start agozwave.service

Configuration

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:

[zwave]
device=/dev/ttyUSB0

Special device types

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
Personal tools