Electrical – LED light is on when it should not be

adapterelectricalledlightingwiring

I have 3 12v LED under cabinet lights that I plan to install. The final install goal is to have the line power (120v) controlled by a pre-installed light switch (1-way) which currently operates 4 pot lights above my kitchen sink. This means one switch will control 3 LED lights and 4 pot lights. I haven't gotten that far though, has I have hit a bump in the road. I removed the AC adapter module board from the wall adapter, so that I can discretely install it in the junction box with the switch and soldered two leads onto the board for attaching to the switch. I then terminated the soldered leads to the switch L to the hot wire and N to the switched wire, before I had the chance to test the operation my LED light turned on right away, but my 4 pot lights were off, I flipped the switch and the LED shut off and the pot lights turned on. I then reversed my two soldered leads, but it didn't make a difference. I'm not sure if this is common for LED lights, or if it is maybe some sort of electrical component on the module board that somehow only conducts to the load when the line has no power, but that doesn't make sense because its meant to plug into a wall socket, which is always live.

Why is my LED on when switched off but off when switched on?

Best Answer

What you have done is connected the LED lights in parallel to the switch. This way, when the switch is on, the LEDs are shorted out and power flows to the pot lights. When the switch is off, you end up effectively with the LEDs and the pot lights in series. Because the LEDs are so low power, the power flows through the pot lights without giving them enough power to visibly light.

Check your switch box to see if there is a neutral wire there (probably white if you’re in the US). If so, you can connect the LED driver between that and one side of the switch. If you don’t have a neutral wire there, you’ll need to run a cable from a pot light to the LED driver. Connect it in parallel with the pot light.

One more comment. I’m assuming that the LED driver board is not designed to be in a junction box. Doing what you’re doing is probably against the electrical code (at least in the US) and could be dangerous, especially if the board shorts out to the box. If this causes a fire, your insurance may have grounds to not pay, or at least to drop you afterwards.