Home Support
Post your interesting scripting code here. (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Post your interesting scripting code here.
|
sola (Admin)
Administrator
Posts: 26
|
|
Post your interesting scripting code here. 1 Year, 2 Months ago
|
|
|
Reply to this post with your own interesting automation rule. It just might help someone.
|
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
sola (Admin)
Administrator
Posts: 26
|
|
Re:Post your interesting scripting code here. 1 Year, 2 Months ago
|
|
|
This automation rule turns the door lamp on when the motion sensor (device 35) detects motion, but only on weekdays between 5:50am and 9:00 am and between 6:00pm and 10pm.
Event:
((time > 05:30 and time < 09:00) or (time > 18:00 and time < 22:00)) and day != sat and day != sun and device35.level > 0 and device35.level != lastlevel
Action:
DoorLamp Level On
|
|
|
|
Logged
|
|
|
Last Edit: 2009/06/15 17:48 By sola.
|
|
|
The administrator has disabled public write access.
|
|
|
|
|
|
|