Accessing Philips Hue lights from Dynamo Studio Part 1

I mentioned in a recent post that I was chewing on how design apps might connect with building automation systems to display data via lights. My first step along this path was to see how Dynamo Studio might connect into my home’s Philips Hue bridge and get information about the “smart” lights it contains.

To do this I created a zero-touch node in C# that calls into the Philips Hue API exposed by my local bridge. (To make this piece work you need to follow the steps on this page that show how to create an authorised user ID for your app.)

The C# code defines a couple of nodes: one for the bridge itself and one for a light. This is just the beginning… the Philips Hue system supports a number of controls as well as some sensors, but you have to start somewhere. It’s also currently only read-only: the next step is to have the ability to change lighting based on the state of the Dynamo graph.

Here’s an image of how I was able to use this implementation to get the colours of the…

Read more