DEV Community

Xingliao Smart Home
Xingliao Smart Home

Posted on

Your LED Lamp Glows When the Switch Is Off: Here Is Why

The two types of wall box, and why yours decides everything

A Wi-Fi switch module needs power even when the light is off. That single sentence explains almost every "my smart switch is flickering" complaint.

A neutral-wire (N+L) module draws its standby current between live and neutral. The return path never goes through the lamp, so the lamp sees a genuine open circuit. Nothing flows, nothing glows.

A no-neutral (single live) module has no neutral available. It must steal its own supply by letting a small current trickle through the lamp to complete the circuit. That trickle is typically well under a milliamp — nothing a filament bulb would notice — but LED lamps are not resistors. Their driver has an input capacitor, and that capacitor slowly charges from the leakage current until it reaches the strike voltage, discharges into the LED, and starts again. The visible result is a faint glow at night, or a blink every few seconds.

So the first thing to establish before buying anything is which of the two boxes you actually have.

Counting cables is not enough

Open the box and count. Two cables usually means live-in plus switched-live-out — a classic switch loop with no neutral at all. Three or more suggests a neutral is present, but you cannot conclude it from the count alone.

Reasons people get it wrong:

  • A bundle of neutrals passing through the box is not your problem to solve if it is capped. In many European installs the neutrals are joined in a connector block behind the switch plate and never brought out. Legally and practically, tapping that bundle is often allowed, and it converts the install into a neutral-wire one — but you are opening a permanent joint, and local code matters.

  • Old UK and older European wiring frequently has no neutral at the switch at all. The loop was run from the ceiling rose instead.

  • North American 1970s–90s cable runs often have the neutral spliced at the light fixture, leaving only two conductors at the wall.

The only reliable test is a proper voltage measurement between the candidate conductors, done with the circuit isolated and then re-energised under supervision. If you are not comfortable doing that, this is the exact point where an electrician costs you an hour and saves you returning three products.

Why the LED era broke it

Twenty years ago none of this was a problem, because the load was a filament. A filament is a resistor; a milliamp through a filament is nothing. Even early CFLs mostly survived it.

LED lamps changed two things at once. They consume a fraction of the power, so the leakage current is no longer negligible relative to their own draw. And their input is capacitive rather than resistive, so the leakage accumulates instead of flowing — which is precisely what produces the charge-and-strike cycle.

The practical consequence: the no-neutral problem scales inversely with lamp power. A 60 W equivalent can often absorb it silently; a 5 W decorative bulb in a hallway with three switch positions will blink all night.

Fixes, in the order you should try them

  1. Increase the load. Replacing one tiny bulb with two, or fitting a higher-wattage lamp on that circuit, often solves the glow outright. Ugly as a fix, it is free.

  2. Fit a bypass capacitor (bleeder) across the lamp. This is the accessory most manufacturers ship with single-live modules. It gives the leakage current somewhere to go that is not the LED driver's input stage. It must be installed at the lamp, not in the wall box — and in a closed luminaire it needs to be a component rated for that temperature, not a generic part.

  3. Check the module's minimum load rating. Every credible single-live product publishes one, usually somewhere between 3 W and 20 W. If your lamp is below it, no amount of adjustment will help and you need either a different lamp or a different topology.

  4. Switch to a neutral-wire module wherever a neutral exists. This eliminates the class of problem entirely rather than managing it.

Notice what is not on that list: buying a more expensive single-live module. Price does not change the physics. A premium module may have a lower minimum-load threshold or a better bleeder included, but it still steals current through your lamp.

The other thing nobody checks: box depth

Once LEDeyond the wiring question, the second-most-common return reason is that the module physically does not fit.

  • Standard EU square box: 86 × 86 mm face, typically 40–50 mm deep — and behind the plate sits the module plus all the cable you just could not fold neatly.

  • UK boxes follow the same 86 × 86 face with BS 1363 dimensions but are often shallower in older work.

  • North American 118-type boxes are a different shape altogether, with a rectangular face around 118 × 76 mm.

  • Pakistani and Middle Eastern installs often use the large 147 × 86 mm plate, which is comfortable by comparison.

Measure depth with actual cables pushed in, not empty. A module that fits in an empty box will not fit in the same box with four conductors behind it.

Also consider how many gangs

Multi-gang plates multiply the leakage. Three single-live modules in one plate each contributing a sub-milliamp trickle through three separate lamps is usually fine; three through one shared low-wattage fitting is not. If you are replacing a four-gang plate in a hallway, plan for either a neutral presence or bleeding capacitors on every circuit.

We build smart switch platforms on the OEM side, so read this as the failure list we see in sampling rather than neutral advice: the switch manufacturing range lists the current models by protocol and box type, and our video intercom range covers the entrance side of the same projects. The Tuya switch OEM page goes into the protocol and app-side choices.

The short version: a neutral in the box solves a whole category of problems that no amount of product tuning can. Establish which one you have before you spend money.


XingLiao builds smart switch manufacturing, Tuya switch OEM programmes and video intercom systems for OEM and ODM programmes. See XingLiao for platforms and specifications.

Top comments (0)