(→Special device types) |
m (→Commandline examples) |
||
Line 25: | Line 25: | ||
</pre> | </pre> | ||
= Commandline examples = | = 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=<your sleeping device z-wave node id> | + | /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=<your sleeping device z-wave node id> |
Contents |
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.
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
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
/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=<your sleeping device z-wave node id>