Switch and setup Philips Hue RGB lamp

I would like to turn on a Philips Hue RGB lamp using the Hue Light Node, part of node-red-contrib-huemagic. When turning on the lamp, the brightness should be 50% and the HEX color should be FF8800.

I probably have to do that with a function node, am I right? Can someone help me with the correct setup for that node?

Found the solution, maybe helpfull for others too:

msg.payload={
"on":true,
"brightness":50,
hex:"ff8800"
};
return msg;

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.