For example, dark blue under 3°c, light blue between 3 and 15, white between 15 and 22, yellow between 22 and 27, orange between 27 and 33 and red above 33.
It's possible?
I use this code, but work only when temperature increase, not work when decrease
Code: Select all
[MenoDi3Gradi]
Measure=Calc
Formula=MeasureNowWeatherTemp <= 3 ? 1 : 0
IfEqualValue=1
IfEqualAction=!SetVariable FontColorTemp 0,115,250,255
DynamicVariables=1
[Piudi3Gradi]
Measure=Calc
Formula=MeasureNowWeatherTemp > 3 ? 1 : 0
IfEqualValue=1
IfEqualAction=!SetVariable FontColorTemp 98,184,246,255
DynamicVariables=1
[PiuDi15Gradi]
Measure=Calc
Formula=MeasureNowWeatherTemp >= 15 ? 1 : 0
IfEqualValue=1
IfEqualAction=!SetVariable FontColorTemp 255,255,255,255
DynamicVariables=1
[PiuDi22Gradi]
Measure=Calc
Formula=MeasureNowWeatherTemp >= 22 ? 1 : 0
IfEqualValue=1
IfEqualAction=!SetVariable FontColorTemp 252,241,60,255
DynamicVariables=1
[PiuDi27Gradi]
Measure=Calc
UpdateRate=2700
Formula=MeasureNowWeatherTemp >= 27 ? 1 : 0
IfEqualValue=1
IfEqualAction=!SetVariable FontColorTemp 250,130,140,255
DynamicVariables=1
[PiuDi33Gradi]
Measure=Calc
Formula=MeasureNowWeatherTemp > 33 ? 1 : 0
IfEqualValue=1
IfEqualAction=!SetVariable FontColorTemp 255,0,0,255
DynamicVariables=1
SOrry for my bad English, I'm Italian