I am making a device which turns the light in my room on and off. The way I am doing it uses a wireless remote which came with the light, which I control by bypassing the switch with a relay for a quarter second. Any longer than a second and the light starts to dim. I also have an arcade button on a wire spread across my room that, when pressed, bypasses the switch. I know the problem isn't there. The switch has about 4.9 volts running through it when pressed.
The problem I have is when the switch is bypassed it STAYS bypassed and the light keeps dimming up and down. Many times when I connect the remote if the light is off it will turn on and then proceed to dim up and down. When the light is dimming (when it isn't suppose to), about 50 micro volts are running through. Could anything electricity be getting through the relay (I know I have the relay put in the right direction, I did a continuity test)? I have checked for short circus with my multimeter and there are none. Is there a way to fix the problem? Possibly a resistor or voltage regulator, or a way to bring up the turn on voltage? Diode Maby???