Philips Hue Control

Philips’ Hue lighting system allows you to control the lighting in your home from a mobile app, or from any application you write yourself that can connect to the internet. The center of the system is the Hue hub, an Ethernet-connected device that communicates with compatible lamps through the ZigBee HA radio protocol. Philips makes a range of Hue-compatible lamps, and the GE Link lamps also work with the Hue system. Each Hue hub is its own HTTP web server, and can be controlled using the Hue REST API. There are libraries to control the Hue available in many programming languages. The tutorials in the repository referenced here are all in client-side JavaScript using P5.js, or server-side using node.js, or microcontroller-based for Arduino. For a detailed introduction to the Hue, see the hue-control repository.

The notes below add details for the ITP hubs’ setup only.

Connecting To the Network

All the Hue hubs ITP owns should be on the network, but if not, check with Marlon Evans. Their addresses are:,, and (on columns 3, 6 and 9, and xx.xx.xx.xx (column 12). The first three are controllable using the NYU Virtual Private Network (VPN), and the fourth currently offline.

See the hue-control repository for detailed instructions on controlling the hubs.

When you establish a username on any of the ITP hubs, use your netID as your devicetype. That makes it easy to maintain the user lists every year. 

When you’re done controlling any of the hubs, be polite to others and stop controlling them, others can get to them. If you’re using an Arduino, for example, upload a blank sketch so you’re sure it’s no longer running by mistake.

A good place to start is by downloading this p5.js sketch then opening the index.html file from your local drive. Enter the hub’s IP address and your username, and you should have a nice GUI for controlling the lights.