rainbowValue for kelvin units for tunable white bulbs?


#21

thanks for asking this question. included the function here as well:

https://community.webcore.co/t/rooms-manager-smartapps-and-rooms-occupancy-dth-now-with-support-for-rules/1813/197?u=bangali


#22

I’m trying to do this too, but I want it to change kelvin value according to the outside temperature. Is this possible? I’ve been trying to figure out the rainbowValue but don’t know how to do kelvins instead of color hex codes. Any help would awesome. Thanks in advance.


#23

rainbowvalue wont work for it. a simple formula to calculate the kelvin based on temperature should work.


#24

Thanks for the reply.

You say “simple”…I say “wuh…?” :wink:

I’m not sure how to do that.


#25

try the following piston by restoring it using piston code 7ns4 and selecting the devices when prompted. i have tried to write this so its easy to change and follow … but please dont hesitate to ask questions.

also see this: :slight_smile:


#26

Thanks for the piston and the reply. Also, thanks for the info about the reply buttons. :slight_smile: I’ll give this a try and let you know what i find. Thanks!