McSmarty Posted February 1, 2014 Share Posted February 1, 2014 I am the Card Access relay on my garage with Lutron lighting system and have a programming question. If it is after sunset and before 1am my garage exterior light is on at 50%. When garage door opens if it is night time want the light go to 100% and 5 minutes after it shuts it to go back to 50% if before 1am and off if after 1am. Is there a way I can poll that status prior to going to 100% so it knows what level to go back to? I thought about a conditional variable saying go to 50% if after sunset but prior to 1am but couldn't figure how to nest the conditional in that way. How should i approach this? Current programming which will shut off the light instead of going back to 50%When garage door is openedIf time is night timeTurn garage exterior light on When garage door is closedDelay 5 minutesTurn off garage exterior light Link to comment Share on other sites More sharing options...
alf1096 Posted February 2, 2014 Share Posted February 2, 2014 Try something line this Current programming which will shut off the light instead of going back to 50% When garage door is opened If time is night time Turn garage exterior light on When garage door is closed Delay 5 minutes If between whatever time Set light to 50 percent Stop Turn off garage exterior light Then have a scheduler turn off the light at x time. Link to comment Share on other sites More sharing options...
jd318guy Posted March 5, 2014 Share Posted March 5, 2014 Not exactly the same, but maybe this will give you some ideas. We have lights on the patio which go on at sunset and go off at 2300.My wife likes to take an after dinner nap starting at 1900 so wanted the lights to go off then.The problem is that sunset happens after 1900 part of the year. My solution:7pm scheduler set to turn lights off at 1900, set variable OffBecause7pm to True.Noon scheduler to set variable OffBecause7pm to False.Sunset scheduler: If OffBecause7pm==False, turn on lights.11pm scheduler set to turn lights off. For what its worth... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.