hi i am newbie in PLEG program and i have problems with my project with the temperature device. In need to light on a lamp when the temperature drops below 15 degrees
I added at device properties, but when making the conditions to execute an action i?m lost because not know the parameters to do it.
I need to “translate”
if current temperature < 15
do lightlampon (turns on the lamp)
else
do lightlamp2on (turns on lamp2)
Can you help me? please? I read and read and not see the solution i only found this example but not work
Input: HeatSet when …
Condition:
ChangeDetected (HeatSet != OldHeatSet)
OldHeatSet HeatSet
Dummy NOW
It can be a starts but not work.
Thanks