Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including thing-it-device-philips-hue with all npm packages installed. Try it out:

thing-it-device-philips-hue lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("thing-it-device-philips-hue/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

thing-it-device-philips-hue v0.1.38

[thing-it-node] Device Plugin for Philips Hue Bridge to control Philips Hue Light Bulbs and Philips Living Color Lamps.



[thing-it-node] Device Plugin for Philips Hue Bridge to control Philips Hue Light Bulbs and Philips Hue Living Color Lamps.

This allows you to

  • control Philips Hue Bulbs and Lamps over the Internet,
  • define complex scenes, storyboards and timer controlled execution

by means of thing-it-node and


Installation of NodeJS and [thing-it-node]

First, install nodejs on your computer (e.g. your PC or your Raspberry Pi).

Then install [thing-it-node] via

npm install -g thing-it-node

Initialization and Start of [thing-it-node]

The [thing-it-device-philips-hue] Plugin is installed with [thing-it-node], hence there is no need to install it separately.

The Plugin supports Autodiscovery, hence you only have to create a directory in which you intend to run the configuration, e.g.

mkdir ~/hue-test
cd ~/hue-test

and invoke

tin init

and then start [thing-it-node] via

tin run

Install the thing-it Mobile App from the Apple Appstore or Google Play and set it up to connect to [thing-it-node] locally as described here or just connect your browser under http://localhost:3001.

Philips Hue Setup

Connect your Philips Hue Bridge to the same network as the [thing-it-node] Node Box you have configured above and install all lighting.

Then push the Link Button on the Philips Hue Bridge.

On the [thing-it] Mobile App or in the browser, confirm the registration of the Philips Hue Bridge.

[thing-it-node] will automatically add all Light Bulbs and Living Color Lamps to your [thing-it-node] Configuration and you will be able control these from the [thing-it] Mobile App immediately.

Mobile UI

The following screenshot shows the Node Page of the sample configuration:

Where to go from here ...

After completing the above, you may be interested in


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free