The stairs to my basement has one light fixture at the bottom, and that casts a shadow on the rest of the stairs. I want to run a strip of LED lights up the crown molding or on top of the upstairs door to illuminate the whole area better. The plan is to aim them at the brightly painted walls for light diffusion.
I don't want the transformer to be showing though. In Massachusetts, I know low-voltage wiring is legal inside walls without a permit or inspection. And I'm confident in my abilities to run those wires safely.
My concern is piggy-backing the light fixture at the bottom of the stairs. Is it legal to strip the AC wires that go to the transformer and just wire them in with a wire nut, in parallel, to the existing wires? Or would I have to actually wire up an outlet and plug it in? Is it legal to have an in-wall outlet? Is there such a thing as in-wall rated 12V transformers?
Best Answer
Regarding your code question: no, you cannot hardwire the transformer.
I believe this falls under NEC 400.7:
At a stretch, if you could permanently attach the transformer, you could maybe consider this to be under 400.7(A)(8), but then you're still required to have a removable plug:
Additionally, I think this could be interpreted as violating 400.8:
So I'd say, no, you cannot just hardwire the transformer in any way.
Additionally, you need to ensure the transformer (and all connections) are accessible for servicing. Transformers also get hot and need cooling - failure to have adequate cooling could cause the transformer to prematurely malfunction and/or lead to all the other problems of hot things in contact with flammable materials like your walls.
I'd find some area (such as under the stairs) that is accessible and unfinished, and run a new receptacle there. Then you can plug in the transformer, run the low voltage wires back to the LED strips, and you're good to go.
It's quite common to remotely mount transformers -- eg, it's very common for low-voltage under-cabinet lighting in kitchens that the transformer is located in the basement near the electrical panel or other unfinished (serviceable) area.