Nutrient Packed Morsels


    0.7.0 • Public • Published

    Cylon.js For Hue

    Cylon.js ( is a JavaScript framework for robotics, physical computing, and the Internet of Things (IoT).

    This repository contains the Cylon adaptor/drivers to connect to the Phillips Hue lighting system. It uses the node-hue-api node module ( created by @peter-murray thank you!

    Want to use Ruby on robots? Check out our sister project Artoo (

    Want to use the Go programming language to power your robots? Check out our sister project Gobot (

    Build Status Code Climate Test Coverage

    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.


    We're busy adding documentation to our web site at please check there as we continue to work on Cylon.js

    Thank you!


    For our contribution guidelines, please go to .

    Release History

    For the release history, please go to .


    Copyright (c) 2013-2015 The Hybrid Group. Licensed under the Apache 2.0 license.


    npm i cylon-hue


    DownloadsWeekly Downloads






    Last publish


    • andrewstewart
    • deadprogram