This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Hue ledstrip with RGB and Tunable white
#12
(20.03.2019, 08:04)admin Wrote: Calculate the reverse color temp like this:
Code:
colortemp = math.floor(1000000 / item.state.ct)

Keep in mind that there might be a difference between set and status values due to precision loss during when converting between Mireks and Kelvins.

still dont understand how to get this working in my resident script Huh

Sorry for all my questions, but i still got a bit to learn about scripting .-)

Daniel
Reply


Messages In This Thread
RE: Hue ledstrip with RGB and Tunable white - by DanielB - 20.03.2019, 09:21

Forum Jump: