The binary-through-bulbs-API demonstration was, indeed, intriguing. An entire video seminar, in fact, led by Dan Bradley '14, offers step by step instruction, entitled Light Your World (with Hue Bulbs).
As seen in the first week of lecture, Hue bulbs are light bulbs you
can control wirelessly. They can do pretty amazing things, if you know
how to program them properly. In this seminar, we’ll create a small
change their color. We’ll also more broadly touch on APIs and Ajax
Phillips HUE personal lighting site shows a range of apps by "HUE-loving developers." Comically enough their "where to buy" link is broken, but Apple store carries Philips Hue Connected Bulb - Starter Pack, well.. not cheaply. or Amazon.
Here's a complete list of CS50-2014 seminars.