Phillips Hue

Repository| Issues

The Phillips Hue is a wireless lighting system, that consists of a base station, and 1 or more LED lights controlled by the built-in Zigbee radios.

For more info about the Phillips Hue click here.

How to Install

Install the module with:

$ npm install cylon cylon-hue

How to Use

var Cylon = require('cylon');

  connections: {
    hue: { adaptor: 'hue', host: '', username: 'XXX' }

  devices: {
    bulb: { driver: 'hue-light', lightId: 2 }

  work: function(my) {
    every((1).second(), function() {

How to Connect

To connect cylon-hue to a Phillips Hue bridge, you will need to know which host IP address the bridge has on the local network. You can find this out by using your router, or logging into the "Meet Hue" website at if you have linked your bridge.

You also need to either already have a user account on the bridge, or create a new account, so you can obtain the username. You can do this by using the JS file located at examples/create_user.js.

Lastly, you need to know the ID for each light bulb that you want to control. You can do this by using the JS file located at examples/bridge_state.js.


There are 2 drivers for Hue as listed below.