I have a motion detector light on the front porch controlled by a switch. I checked the wiring at it is correct. With the switch off there is no voltage from the neutral to ground. However, I do get about 1 volt from hot to ground. With the switch on, I get 120v from hot to ground.
Problem is when I turn the kitchen light off or on, the porch light is triggered. I have to believe it is caused by a surge on the line.