‘Hacking’ the Hue: Control Interface for the API

I have Phillips Hue at home, so using the nice instructions from ITP Light & Interactivity I was able to connect to my home’s hue setup as a developer. Here is a snapshot of my home’s current setup (collected through a GET request after connected):

5 lights and a bunch of scenes

I was able to manipulate individual lights through the clip.html debugger.

My 5 bulbs are of the following types:

Light Type White Lamp Color candle Color temperature light
Light No. 1 2 3 4 5
Brightness
Temperature
Hue
Saturation

So I outlined a simple interface for the 5 light environment I have:

forgive me, this was drawn with a stylus on an iPad

As of now I have stood up the express app for this and begun making the controls. Depending on which bulb is being controls, POSTs and PUTs must be submitted with different fields and values. This is well-described in Phillips Hue documentation here.

The inputs on the GUI below should be able to link to such controls:

Bare bones GUI – v0.5 without functionality

Leave a Reply

Your email address will not be published. Required fields are marked *