3.0.1 • Published 9 years ago

homestar-hue v3.0.1

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

homestar-hue

IOTDB Bridge to connect and control Philips Hue 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 and Configuration

Then:

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

Use

Code to set all lights to red:

const iotdb = require("iotdb")
iotdb.use("homestar-hue");

iotdb.connect("HueLight").set(":color", "red");

Models

HueLight

Control Philips Hue lights:

Functionality:

  • discover Hue hubs and individual lights
  • turn lights on and off
  • set light color
  • get same
  • configure Hue lights (coming soon)

HueLightModel

  • on: true or false. iot-purpose:on
  • color: a hex color ("#FF0000"). iot-purpose:color

e.g.

{
    "on": true,
    "color": "#FF0000"
}
3.0.1

9 years ago

0.1.27

9 years ago

0.1.26

9 years ago

0.1.25

9 years ago

0.1.24

9 years ago

0.1.23

9 years ago

0.1.22

9 years ago

0.1.21

9 years ago

0.1.20

9 years ago

0.1.19

9 years ago

0.1.18

9 years ago

0.1.17

9 years ago

0.1.16

9 years ago

0.1.15

9 years ago

0.1.14

10 years ago

0.1.13

10 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.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago