theedudenator Posted January 1, 2013 Share Posted January 1, 2013 I have outside lights I want to be on at dusk till 11pm, then only turn on with motion from 11pm to sunrise. Right now they stay on all the time... Here is my programs: If From Sunset To 11:10:00PM (same day) Then Set 'Outside Garage' On Disable Program 'Garage Outside Motion' Else Set 'Outside Garage' Off Enable Program 'Garage Outside Motion' Run Program 'Garage Outside Motion' (Else Path) If Status 'Outside Garage Motion-Sensor' is On Or Elk Zone 'Motion - Front' is Violated And From Sunset To Sunrise (same day) Then Set 'Outside Garage' On Else Wait 15 minutes Set 'Outside Garage' Off Link to comment
LeeG Posted January 1, 2013 Share Posted January 1, 2013 This Program needs parens If ( Status 'Outside Garage Motion-Sensor' is On Or Elk Zone 'Motion - Front' is Violated ) And From Sunset To Sunrise (same day) Then Set 'Outside Garage' On Else Wait 15 minutes Set 'Outside Garage' Off Also need to know what motion sensor options are in effect. Things like On Only mode can affect how a Program like this is coded. Link to comment
oberkc Posted January 2, 2013 Share Posted January 2, 2013 Given your program, this could also be caused by the configuration of the motion sensor. I believe thay can be set to send only "on" commands. If yours is set this way, your program would not turn the lights off (except at sunrise). I am also assuming your elk zone is not in a constand "violated" state. Link to comment
Xathros Posted January 2, 2013 Share Posted January 2, 2013 I do believe that the time condition of "From Sunset to Sunrise (Same Day)" may be a problem as well. I think you want "From Sunset to Sunrise (Next Day)" -Xathros Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.