Pleg Variable

Hi!

I use a condition to average two temperature sensor. This give me a variable has result for this condition. I want to create an action that set another device with this value. Is it possible?

Of course …

Say you have a condition:

Sum (Sensor1 + Sensor2) / 2

In the actions for Sum you can:

Specify some action that has a variable value, i.e. set the temperature set point of a thermostat to 50.
Then go into the advanced editor and change the 50 to {(Sum)}

Or if there is not an appropriate action and you want to set some arbitrary device variable:
then in the advanced editor for actions … use the SetVariable action for the current PLEG.
You will have to specify the target device, serviceId and variable name, then use a value of {(Sum})

Super! working #1 thank you:)