Controlling Philips Hue lights from Dynamo Studio

Now that we’ve seen a couple of posts showing how to query information about Hue lights via a Philips Hue bridge from Dynamo Studio, it’s time for the really fun stuff: controlling lights from Dynamo.

To make this happen some changes were needed to the zero-touch node that talks to the Philips Hue API on behalf of Dynamo, mainly to allow the setting of a light’s properties. The Philips Hue API allows this to be done either via Hue, Saturation and Brightness or by the XY offset in the CIE colour space. I ended up exposing the ability to set RGB values (which passes via CIE) or Hue, Saturation and Brightness directly. Both seem to work well enough, so the choice of which to use is left to you. The RGB approach won’t let you control brightness, so it may ultimately be beneficial to add a more direct control over that setting, in case you just want to dim (or undim) a light.

Anyway, here’s a look at the updated graph. You’ll see there’s a colour gradient control – with…

Read more