I'm installing recessed lighting in my basement. Each of the recessed lights I've installed has an exterior can attached for connecting the wires to the lights. When the ceiling drywall is install, these boxes will become "hidden". I always thought that hidden connections in a box within a wall was not allowed by building codes?
If the boxes are legal, can I make the power connection from the breaker panel to the box attached to the light and then run a pair of wires to the switch to control the light or must the power source connection be made in the switch box?
If the boxes are legal, can I make the power connection from the breaker panel to the box attached to the light and then run a pair of wires to the switch to control the light or must the power source connection be made in the switch box?