aanthony Posted October 29, 2007 Posted October 29, 2007 Is there an easier way than creating 5 folder/programs for the following scenario? SW1 controls a porch light and FL1, FL2 control two different sets of floodlights. I want the following to happen: 1. Daytime(Sunrise to Sunset) -> if SW1 turned on -> wait 1 min and turn off (turned on accidentally). 2. Sunset to 11:00PM -> if SW1 turned on -> turn on porch light, flood1 and flood2 -> wait 20 min -> turn off porch, flood1 and flood2. 3. 11:31PM to Sunrise next -> if SW1 turned on -> turn on porch, flood1 and flood2 -> wait 20 min -> turn off ONLY porch 4. Sunset to 11:30 -> if SW1 turned off -> turn off porch and floods 5. 11:31 to Sunrise next -> if SW1 turned off -> turn off porch only. Thanks in advance Quote
Chris Jahn Posted October 30, 2007 Posted October 30, 2007 I think it is simplest to use 5 programs to do this. You don't need any new folders for this, although you might want to put them all in one folder just to keep things organized. Quote
upstatemike Posted October 30, 2007 Posted October 30, 2007 In program 1, why wait 1 min? Why not just turn it back off immediately? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.