Is this a valid PLEG condition to fire an action at 18:00: (18:00:00; Now; 18:00:00)
Thanks
Is this a valid PLEG condition to fire an action at 18:00: (18:00:00; Now; 18:00:00)
Thanks
NO!
NOW is a interval timer that runs once a minute.
It can have any value from 18:00:00.000. To 18:00:59.999
There is an extremely small chance that it will be equal to 18:00:00 (which actually is 18:00:00.000 internally time stamps are mSec resolution)
You could use:
(18:00:00; NOW; 18:00:01)
But it is more efficient to create an input timer.
Are you sure your answer works?
what is NOW evaluates to 18:00:23
What I ended up doing is: (17:59:00; NOW; 18:00:01)
What is input timer? and how do I create it?
Thanks
[quote=“embeeded, post:3, topic:190996”]Are you sure your answer works?
what if NOW evaluates to 18:00:23
What I ended up doing is using a scheduled timer to run every day at 18:30 for 10 seconds and I check if its running to trigger the action
What do you think?
Thanks[/quote]
Oops i meant:
(18:00:00; NOW; 18:01:00)
Have you looked at Input Schedules ?
Have you read the getting started guide ?
Yes, I’m working closely with the PLEG guide.
Using Now is not that efficient so I ended up using a scheduled timer that will fire at 18:00 for 10 seconds.
Is this correct?
2 events will be fired right? one when the timer starts and one when it ends
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules