Monitor - Control - Automate

Home Support
Z-Command Forum
Welcome, Guest
Post your interesting scripting code here. (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Post your interesting scripting code here.
#63
sola (Admin)
Administrator
Posts: 26
graph
User Offline Click here to see the profile of this user
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 Logged  
  The administrator has disabled public write access.
#64
sola (Admin)
Administrator
Posts: 26
graph
User Offline Click here to see the profile of this user
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 Logged  
 
Last Edit: 2009/06/15 17:48 By sola.
  The administrator has disabled public write access.
Go to top