Set Lamp Color Based on Temperature


#1

Hey folks, has anyone got anything already prepared that will set colors on a lamp according the outside temperature? I really thought this would have been done already but a search here and over at ST didn’t reveal anything.

I am playing with my first LED strip (controlled via a Fibaro and custom DTH). One of the things I’d like to do is have the colors set based on the temp from Smart Weather. I can have a go at this but I’m feeling lazy and wondered if anyone has something similar already.

Thanks


#2

Scroll down a few posts until you see someone use “rainbowvalue”. That’s what you’re after.


#3

Thank you!


#4

I didn’t like the results from Rainbow value, so I wrote my own expression to do it… So I now use basically the Reverse HSV Gradient shown here:


#5

I’m going to try things out and see what I like. At least I have a basis to work from now.

Thanks.


#6

Would you mind sharing? I’m wondering about using IFTTT for my WeatherFlow Weather Station to guide bulb color. Thanks