Objective:
When back door unlocked for 30 minutes, wait of all expressions to be true and then lock the back door. IF any of the 3 expressions becomes false, the rule timer will start over.
IS this correct?
Objective:
When back door unlocked for 30 minutes, wait of all expressions to be true and then lock the back door. IF any of the 3 expressions becomes false, the rule timer will start over.
IS this correct?
The way the rule is written now, after the door is unlocked for 30 minutes, then once the last of the items listed (back porch light, back porch motion, pool motion and back door closed) is true for 30 minutes, then the door will lock.
So the door will not lock in less than 1 hour (I think the 30 minute timer only starts once the rule is triggered.)
Would there be a better way to write this ? Maybe with private Boolean ?
Your rule in plain language is:
Once the lock is unlocked for 30 minutes, then lock it 30 minutes after all the conditions are met.
@Sebastien is just pointing out that the rule will not lock the lock for a minimum of one hour after it is unlocked.
Is that what you want to do?
Maybe just remove the 30 minute duration for the wait event? Then once all of these are true, the door will lock. You could also just add a 1 minute delay to be on the safe side.
When adding the delay, after the 3 required expressions, would this allow for a restart if counter if one expression times to false ?
My reasoning for this is because the back porch is a pool area and when people are over and itās day time, the motion sensors should keep them from being locked out. If itās night time the light being on should add an extras layer, besides motion, to keep them from being locked out.
Slippery slope for sure.
As I understand it, the counter will only start when all the conditions are true, so in essence, it restarts every time one of the items becomes false.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.