Working with PLEG. The documentation is thorough but I am just not grasping all of the awesomeness of PLEG.
More examples could def help newbies like me.
My goal run a scene in the morning hours during the work week, after a sensor is tripped, 1 time.
Here is my setup:
[code]Triggers
Name Description
barm Whenever the Bar Motion is tripped
Schedules
Name On Type On Time On Days Random On Delay Off After Type Off Time Off Days Random Off Delay
s1 Weekly 00:00:00 1,2,3,4,5 None None None
Conditions
Name Repeat Expression
c1 No (06:00:00; barm; 11:00:00) and (c1; barm > 5:00:00) and (s1)
Actions
Why not have the s1 schedule run from 6 to 11, M-F? Then the c1 sondition would just be barm and s1 and (s1; barm) and (c1; s1). With c1 refering to itself however, we need a pdf status report to tell if it has a valid timestamp (has been true before). You can’t use a null timestamp in a sequence expression.