Z-Wave

From ago control wiki
Revision as of 23:25, 15 December 2012 by Hari (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.

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

Commandline examples

/opt/agocontrol/bin/messagesend.py -d <uuid of your zwavecontroller device> -c addassociation -p group=1 \
-p target=<the node that shall receive the report, probably your dongle> -p node=<the node where you want to manipulate the assoc. group>
Personal tools