Z-Wave

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m (Commandline examples)
(Configuration)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
= Z-Wave interface =
 
= Z-Wave interface =
 
The Z-Wave interface uses the [http://www.openzwave.com 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.
 
The Z-Wave interface uses the [http://www.openzwave.com 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 =
 
= 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:
 
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:
Line 7: Line 13:
 
device=/dev/ttyUSB0
 
device=/dev/ttyUSB0
 
</pre>
 
</pre>
 +
 +
Additional parameters that can be set:
 +
<pre>
 +
returnroutes=true/false
 +
sis=true/false
 +
assumeawake=false/true
 +
validatevaluechanges=false/true
 +
retrytimeout=2000
 +
pollinterval=30000
 +
</pre>
 +
 
= Special device types =
 
= 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:
 
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:

Latest revision as of 13:26, 23 December 2016

Contents

[edit] 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.

[edit] Installation

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

[edit] 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

Additional parameters that can be set:

returnroutes=true/false
sis=true/false
assumeawake=false/true
validatevaluechanges=false/true
retrytimeout=2000
pollinterval=30000

[edit] 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