20.03.2019, 09:21
(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
Sorry for all my questions, but i still got a bit to learn about scripting .-)
Daniel