Basic Variable Use - Store Light Colour


#1

So still new to using variables and haven’t done much with them so far. I am trying to store my Hue light colour/hue into a global variable which other Hue lights read from when they perform other pistons e.g. change colour when raining etc.

At the moment have set up global var as a ‘Dynamic’ with a ‘Value’ however it only ever says #000000 and never receives a colour.

Have tried ‘color’ and ‘cdcolor’ for the Var.

Global Var
33

Piston to store colour
20

Piston to read colour


#2

Have you tried setting it as a string?


#3

excellent thank you that worked