3.0.1 • Published 8 years ago

homestar-hue v3.0.1

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

8 years ago

0.1.27

8 years ago

0.1.26

8 years ago

0.1.25

8 years ago

0.1.24

8 years ago

0.1.23

8 years ago

0.1.22

8 years ago

0.1.21

8 years ago

0.1.20

8 years ago

0.1.19

8 years ago

0.1.18

8 years ago

0.1.17

8 years ago

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

9 years ago

0.1.11

9 years ago

0.1.10

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

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago