I am trying to replace a light switch with a neutral required motion sensor light. (occupancy sensor).
The motion switch has a black, red, white and green wire connected to it. Upon taking off the current switch, I have a blue and black wire connected.
In the box, I see two red wires connected by nut and what looks to be three white wires connected by nut. So no green ground but an extra color plus too many whites!
Any help will be appreciated.
Best Answer
There are not too many whites! All those whites have a job. They are "working for a living". You do need to add your switch's neutral wire to that bundle. Do so competently. All the whites must still be connected to each other when you are done!
The red wires are probably the other half of a multi-wire branch circuit. This is a serious complication. Because the black?Blue? wire will be on one circuit breaker, the reds will be on another breaker, and you must turn them both off in order to safely separate the neutrals.
The new switch will care very much which wire is the supply from panel and which is the onward wire to the light. In your box, one is black and one is blue. It's legal both ways, so we don't know what the installer did. Regardless, it is safe to experiment here: simply connect them black-black and red-blue. If that doesn't work, swap them.
You must wire a ground wire to this switch, as Patrick discusses. That is because the mounting screws can't make contact with the junction box through that wood-like material. In fact, you can't have burnable wood-like material like that be a "sleeve" for a junction box! That needs to be notched out (e.g. with an oscillating saw, those things are amazing lol) to fit either a box sleeve, or better, a steel box extension. That needs to be done everywhere that is like that. Otherwise a wiring problem in the box couls start a fire!