2) You don't need DynamicVariables=1 on the meter if you are changing an option with !SetOption. That bang will automatically make the destination "dynamic" for one update.
Edit: You DO need to use [SectionVariables]... There seems to be an anomaly with sections that are named starting with @ when they are used with IfCondition. I suspect it is due to the fact that there is a conflict with the @ used in "nested variables". Now I sorta wish I had chosen a different character to make those "template" measures stand out in the code...
Code: Select all
[MeasureSetColor]
Measure=Calc
DynamicVariables=1
IfCondition=[@CurrentTemperature] <= 19
IfTrueAction=[!SetOption CurrentTempRound1 LineColor "#TempColour1#"]
IfCondition2=([@CurrentTemperature] > 19) && ([@CurrentTemperature] < 23)
IfTrueAction2=[!SetOption CurrentTempRound1 LineColor "#TempColour2#"]
IfCondition3=[@CurrentTemperature] >= 23
IfTrueAction3=[!SetOption CurrentTempRound1 LineColor "#TempColour3#"]