Low-level client library for controlling Zigbee lights, switches by Lightify Wireless gateway [Amazon link of OSRAM Lightify Wiress Gateway] (http://www.amazon.com/LIGHTIFY-wireless-connected-lighting-technology/dp/B00R1PB2T0)
$ npm install node-lightify
var lightify = require('lightify');
lightify.start('x.x.x.x').then(function(data){
return lightify.discovery();
}).then(function(data) {
console.log(data.result)
}
- start
- connect to lightify gateway using tcp port 4000
- discovery
- discover Zigbee devices connected to the gateway
- zone_discovery
- discover zones defined on the gateway
- node_on_off
- turn light on or off
- node_brightness
- adjust light brightness
- node_temperature
- adjust light temperature
- node_color
- change light color
Contributions are very welcome! Please note that by submitting a pull request for this project, you agree to license your contribution under the MIT License to this project.
Published under the MIT License.