0.1.16 • Published 8 years ago

homestar-lifx v0.1.16

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
8 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

8 years ago

0.1.15

8 years ago

0.1.14

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago