Wrenchingonwheels
Chirping
Ok I caught up and looked everything over, your dpdt switch that is complicating everything is the simple solution! Lose the two 12v relays your switch will do their job. Pins #13 and #14 go to the photo sensor, pin #9 fused 12v positive and pin #12 12v negative as of there, with light you will have power out #5 ground out #8, without light you will have power out #1 and gound out #4.
Now for door down, pin#4 is 12v negative to motor and pin #1 is 12v positive to limiting switch then to motor you will have to test the motor to see which wire goes to which motor wire for the direction you desire. Now door up pin # 8 is 12v negative to motor on same wire that door down positive went, pin# 5 12v positive goes through limiting switch to motor wire that door down negative went. If you still struggle maybe JT can draw this one up or I can draw it up by hand
Now for door down, pin#4 is 12v negative to motor and pin #1 is 12v positive to limiting switch then to motor you will have to test the motor to see which wire goes to which motor wire for the direction you desire. Now door up pin # 8 is 12v negative to motor on same wire that door down positive went, pin# 5 12v positive goes through limiting switch to motor wire that door down negative went. If you still struggle maybe JT can draw this one up or I can draw it up by hand