vor 12 Minuten
to control HUE lamps from Loxone which works great when using Philips HUE RGB bulbs
But I've recently tried to control some Philips HUE Ambiance lamps (warm,natural,cool) lamps
I've setup my output of my Loxone lighting controller as RGB and when using the warm / natural / cool colour picker in the loxone app
I get the following information in node red:
Pendant : msg.payload : string
100 being the brightness - 2700 being the colour temperature
However the Philips Hue Ambianc lamps requires colour temperature in a different format:
From what I have researched the Hue lamps require the colour temperature in Mired format
All we need to know is that M = 1000000 / T where M is Mired and T is the light temperature in degrees Kelvin.
So for our 2700K equivalent ct value we get:
M = 1000000 / 2700 M = 370.37037037
Does anyone have a flow they can share that will convert the Loxone values to the Philips HUE required values ?
Thanks in advance