0.1.16 • Published 9 years ago

homestar-lifx v0.1.16

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
9 years ago

homestar-lifx

IOTDB Bridge for LIFX Lights

About

See the samples for details how to add to your project, particularly model.js for standalone and iotdb.js for HomeStar/IOTDB.

Installation

Then:

$ npm install homestar-lifx

Use

Set the lights to red

const iotdb = require('iotdb')
iotdb.use("homestar-lifx")

const things = iotdb.connect("LIFXLight")
things.set(":color", "#FF0000")

Development Note

"products.json" is from:

Models

LIFXLight

LIFX Color Light

  • on: true or false. iot-purpose:on
  • color: a hex color ("#FF0000"). iot-purpose:color
  • brightness: from 0 to 100

e.g.

{
    "on": true,
    "color": "#FF0000",
    "brightness": 100
}

LIFXWhite

Control LIFX White Light

  • on: true or false. iot-purpose:on
  • brightness: from 0 to 100

e.g.

{
    "on": true,
    "brightness": 100
}
0.1.16

9 years ago

0.1.15

9 years ago

0.1.14

9 years ago

0.1.13

9 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago