I am looking for a little guidance in using a relay switch, along with a regular toggle switch to control an light in a chicken coop. Basically, I want to have the relay on a timer to open and close at a set interval (on at 5:00 am, off at 6:00 pm +-.) In addition, I wanted to add a toggle switch to the wall to turn the light on or off if necessary e.g. I need to go out at 9:00 pm to check on things, I would like to turn on the light. Hope this makes sense, I am somewhat new to the Arduino and learning. I think I have the timer side down, but not sure how to put the code for the switch in the middle of the delay timer inside the loop.
Thanks!