INTP:
And instead of having both the switch and the relay share light powering duties, let the relay do everything. Turn the switch into a switch on the Arduino and nothing more.
This is exactly what I'm trying to do but it don't work correctly...
I am trying to control the relay from the switch but the output of the switch gives random 1 and 0 when it's off and 0s when it's on... Is there a solution for this?....