TCP Connected Lighting now supported by Node-IOTDB
We've added drivers and models for TCP Connected Lighting to Node-IOTDB.
Example - set all the lights to half-brightness
var iotdb = require('iotdb') var iot = iotdb.iot() iot .connect('TCPConnectedLight') .set(':brightness', 0.5)
Example - turn the the light named 'Bedroom' on
iot .connect('TCPConnectedLight') .with_name('Bedroom') .set(':on', true)
Example - turn off all Philips Hue and TCP Connected Lights
iot .connect('TCPConnectedLight') .connect('HueLight') .set(':on', false)
Node-IOTDB is a package that provides a universal interface for controlling and monitoring the Internet of Things.












