Fork me on GitHub

ZWay

Submitted by Mauro Cicolella on 2013, December 31 - 16:33
Your rating: None Average: 3 (8 votes)
Driver
Development Status: 
Proof of Concept
Developer: 
Mauro Cicolella
Tested on: 
All supported
Download Link: 
Download Link: 
Short Description: 

This plugin communicates with ZWay protocol devices as Razberry.

Configure your Razberry

Go to Plugins menu and select Configure. Set the ip of your razberry and its "alias" (by default it's "default").

The plugin supports more razberry boards so you can simply add a <tuple>/<tuple> block for each of them with different "alias".

Here an example

<tuple>
            <property name="alias" value="default"/>
            <property name="ip-to-query" value="192.168.0.130"/>
            <property name="port-to-query" value="8083"/>
 </tuple>

 

 

Control a switch binary

  1. Add a new light object or edit one by right clicking on it
  2. In Properties panel set "zway" as protocol from the combobox
  3. Set the address in the form [alias]:[deviceID]:[instanceID]:switch-binary. For example if your razberry has "default" alias and the object has id=3 and instance=0 the address will be default:3:0:switch-binary.  "switch-binary" is a string to identify the object class.
  4. In Sources panel set for powered property -> "ZWay reads switch binary status"
  5. In Actions panel set for turn on command -> "Turn on a ZWay switch binary" and for turn off command -> "Turn off a ZWay switch binary"

 

Read temperature from a sensor

  1. Add a new thermostat object or edit one by right clicking on it
  2. In Properties panel set "zway" as protocol from the combobox
  3. Set the address in the form [alias]:[deviceID]:[instanceID]:temperature. For example if your razberry has "default" alias and the object has id=3 and instance=0 the address will be default:3:0:temperature.  "temperature" is a string to identify the object class.
  4. In Sources panel set for temperature property -> "ZWay reads celsius temperature"

 

Read humidity from a sensor

  1. Add a new hygrometer object or edit one by right clicking on it
  2. In Properties panel set "zway" as protocol from the combobox
  3. Set the address in the form [alias]:[deviceID]:[instanceID]:humidity. For example if your razberry has "default" alias and the object has id=3 and instance=0 the address will be default:3:0:humidity.  "humidity" is a string to identify the object class.
  4. In Sources panel set for humidity property -> "ZWay reads humidity"

 

Read luminosity from a sensor

  1. Add a new light sensor object or edit one by right clicking on it
  2. In Properties panel set "zway" as protocol from the combobox
  3. Set the address in the form [alias]:[deviceID]:[instanceID]:luminosity. For example if your razberry has "default" alias and the object has id=3 and instance=0 the address will be default:3:0:luminosity.  "luminosity" is a string to identify the object class.
  4. In Sources panel set for luminosity property -> "ZWay reads luminosity"

Source code

Hosted here.

Beta tester

The plugin is not completed. We tested it only on few zwave devices. We need testers. If you want to contribute please add a comment or write on our forum.

Open Source Internet of Things Framework Drupal theme by Kiwi Themes.