This timer is used for Airwick electric air freshener. It starts working at 8:30 every day, powers on for 15min then powers off for 30min and repeats until 22:00 in evening.
Auto off after 15min
Rule1 on Power1#State=1 do backlog PowerOnState 3; PulseTime 900; endon
Rule1 1
Auto on after 30min
Rule2 on Power1#State=0 do backlog PowerOnState 5; PulseTime 1800; endon
Rule2 1
Enable in Morning
Timer1 {"Enable":1,"Mode":0,"Time":"08:30","Days":"1111111","Repeat":1,"Action":3}
Disable in Evening
Timer2 {"Enable":1,"Mode":0,"Time":"22:00","Days":"1111111","Repeat":1,"Action":3}
Morning/evening trigger to enable/disable "auto on" rule
Rule3 ON Clock#Timer=1 DO Backlog Rule2 1; Power1 1; endon ON Clock#Timer=2 DO Backlog Rule2 0; Power1 0; ENDON
Rule3 1
Timers 1