Skip to content

dpjanes/homestar-tcp

Repository files navigation

homestar-tcp

IOTDB Bridge for TCP (Connected Lights)

About

See the samples for details how to add to your project.

Credits

All the clever bits of connecting to TCP Lighting come from here:

Installation and Configuration

Then:

$ npm install -g homestar    ## may require sudo
$ npm install homestar-tcp
$ homestar configure homestar-tcp

Use

Set the light to half-bright

const iotdb = require('iotdb')
const things = iotdb.connect("TCPConnectedLight")
things.set(":brightness", 50)

Models

TCPConnectLight

e.g.

{
    "on": true,
    "brightness": 75
}

About

HomeStar / IOTDB Controller for TCP Connected Lights

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published