Jump to content

Flood Light Scenario


aanthony

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...