(I'm no electrician, but ...) I think this question is similiar to yours, and I found it on another Home Forum. If you would, take a minute to read it. It's very informative.
It's Motion Detectors / Lights. Best of luck. Certainly, if it's not the same, so you don't get left 'empty-handed' on your question, post a follow-up to my/your follow-up/question for 'proper' info. Best of luck to ya.