Skip to content

felixhageloh/huejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huejs

a nodejs module to control Philips Hue lamps

VERY EARLY ALPHA STATE!

Usage

var huejs = require('huejs');

// only needed if a user name has not been configured yet
function prompt(ready) {
  // ask user to press link button, plus some feedback when they are ready
  ...
  ready()
}

huejs.init('myusername', prompt, function (lights) {
  lights[0].setState({ on: true });
});

setState takes the same arguments as described in section 1.6.2 of the Hue API

About

nodejs module to control Philips Hue lamps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published