Goal: When Temp rise meets set point to fan on ; When Temp fall to set point turn fan off.
Problem: PLEG turns the fan on, but will not turn it off, even though it evaluate the condition FanOff condition true.
Goal: When Temp rise meets set point to fan on ; When Temp fall to set point turn fan off.
Problem: PLEG turns the fan on, but will not turn it off, even though it evaluate the condition FanOff condition true.
The answer is in your status report.
It met the condition to turn on the fan after it met the condition to turn off the fan.
But because the repeat is on for the fan off condition it should have received an updated time stamp.
I will have to check the code … The repeat with numerical operators may have a bug.
What is the proper way to do this?
Sent from my SCH-I545 using Tapatalk
I’m just not understanding this, now both are resolving true. I’m missing something fundamental in how these conditions work in PLEG.
PLEG is working properly …
FanOn is true because of Temperature.
FanOff is true because of Humidity.
Maybe you want
FanOff Computer_Room_Temp <= 84 AND Computer_Room_Humidity <= 69
So in cases where I’m monitoring a number (Say Temp) I need to use Repeat? I’m just not clear exactly when to use this.
Actions only fire when the condition goes from false to true.
If you want it to fire actions every time the condition evaluates to true, even if it’s already true, then you need to set the REPEAT flag.
Ok, I think I get it…
Thank you Richard for all your help.
Best Home Automation shopping experience. Shop at Ezlo!
© 2026 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules