Dimming Light and LED Strips: 230V Dimmer, Smart Bulb, or a 12/24V Controller

Module 20 · Lesson 5

Dimming Light and LED Strips: 230V Dimmer, Smart Bulb, or a 12/24V Controller

Lessons 3 and 4 settled bulb versus relay and checked the box for N, load, and switch type. Now you're entering a topic that ends in a returned package on smart-home forums: dimming. An LED strip isn't just another load for a mains dimmer: it's a separate path with its own power supply and a low-voltage controller.

This lesson doesn't replace an electrician at 230V. You're learning what to buy, what not to buy, and how to describe a light point on the map from Lesson 1. Before you order five units "because it was on sale," test one complete set: dimmer plus sources, a smart bulb, or a power supply plus controller plus strip.

Plan on about 95 to 100 minutes.

This lesson's rule
A 230V dimmer is not the same as a smart bulb's brightness, which is not the same as a 12/24V strip controller.
Test one unit before a bigger purchase. Someone with electrical qualifications does the 230V work in the box.

A real-life problem: a dimmer "compatible with LED"

You bought a Wi-Fi dimmer labeled "works with LED." The electrician mounted it in the ceiling box with four identical LED sources marked dimmable. At 30% brightness the light flickers. At the minimum it goes out and won't turn back on from the switch. A household member says "the smart home is ruining the light." Meanwhile the problem lies in matching the dimmer to the load, the regulation mode, and the source type: not in Home Assistant. HA can correctly send 30%, but the dimmer-driver-source combination may not be able to run stably at that level.

Or a different scenario: you wanted under-cabinet lighting in the kitchen. You bought a 230V dimmer instead of a 24V power supply and an LED controller. The result: the light turns on, but without smooth dimming or with visible flicker at low brightness. That's the wrong hardware category from day one.

One more common mistake: confusing the Hue Dimmer Switch, a remote for Hue bulbs, with a Shelly Dimmer in the box. The remote is a battery-powered device sending commands to bulbs. The in-box dimmer physically regulates the 230V circuit ahead of the fixture. Different category, different mounting, different Plan B.

Three dimming paths: don't mix them

Every light point on the map needs one path. Each one regulates light at a different location:

Path What it dims Typical case
230V wall dimmer A compatible source or LED driver in the circuit A ceiling with LED bulbs, a wall switch
Regulation inside a smart bulb Electronics built into the source A floor lamp, a sconce, constant power
12/24V strip controller Channels downstream of a constant-voltage supply A kitchen counter, a shelf unit, a dropped ceiling

An on/off relay isn't a dimmer
Using a 230V dimmer for a 12/24V strip is the wrong category from the start. You need a constant-voltage power supply and an LED controller.

What a 230V dimmer actually does

A wall dimmer doesn't work like a plain power supply with a voltage knob. It shapes the AC waveform delivered to a compatible source or LED driver. The fixture's electronics have to be able to correctly work with that method of regulation.

A source labeled dimmable is necessary but not always sufficient. Two products both marked "dimmable" can still interact with a given dimmer differently. Price doesn't decide compatibility: a more expensive source can still be non-dimmable or mismatched to a specific dimmer.

Leading edge and trailing edge

These are two ways a wall dimmer controls the load. You don't pick between them by name, price, or brand. You check which mode the dimmer supports and which regulation method the source or its LED driver works with.

If the manufacturer doesn't publish compatibility, you run a test with one complete set: dimmer, fixture, sources, and the actual quantity. The Shelly Dimmer Gen3 is an example of a trailing-edge dimmer with an option to run with or without N: the manufacturer specifies a bypass when running without N and a load under 20W. That's a threshold for a specific model, not a rule for every dimmer.

Flickering doesn't have one cause

Too small a load is only one possible cause. Flickering can also come from an incompatible LED driver, the wrong dimmer mode, too low a minimum level, mixing different source models, a damaged power supply, poor calibration, or the controller's own limits.

Don't fix a problem with a random bypass or an HA setting. First establish whether the whole set is compatible and whether the problem also occurs under local control without Home Assistant.

One dimmer, one tested source type

Don't mix random LED bulb models on one dimmed circuit. Different drivers can have different minimums, start up differently, and respond differently to the same regulation method. The safest approach is testing a complete set of identical sources, the ones you'll ultimately install.

Bypass: only per the specific device's documentation

A bypass is used only when the specific dimmer's instructions and the result of a test with the actual load call for it. An electrician installs it. Not every dimmer needs one. Not every flickering problem comes from a missing bypass.

A non-dimmable LED source
An LED source not marked "dimmable" shouldn't be connected to a dimmer. Even a dimmable label doesn't guarantee perfect interaction with every dimmer model.

A 1-100% slider doesn't guarantee a usable 1-100% range

Establish two minimums for every point. The first is the lowest level at which the light stays stable after coming down from a higher brightness. The second is the lowest level from which the light can reliably start up after having been off.

If the light only runs stably from 18% up, don't use 5% in scenes. Limiting the configuration to the real range is better than a slider whose lower end causes flicker.

A dimming test doesn't end after one minute

Visual observation is the foundation. Looking through a phone camera with auto-correction disabled can help spot flicker invisible to the naked eye: a camera still isn't a professional meter. Problems can appear after warming up, while transitioning between levels, or after a power outage.

☐ Turn the light on at 100% and leave it for at least 15 minutes.
☐ Check 75%, 50%, 25%, 10%, and the lowest stable level.
☐ Watch each low level for a few minutes.
☐ Transition smoothly between minimum and maximum a few times.
☐ Turn the light off for several minutes and check it doesn't glow afterward.
☐ Turn the light on from the lowest set level and check it starts every time.
☐ Check behavior after a power loss and restoration.
☐ Repeat the test with HA turned off, using local control.

After the standard test, manually run a low-brightness start: turn the light off for a few minutes, then turn it on directly at 10%. Coming down from 100% to 10% might work, while starting from zero at 10% might not. That reveals the minimum start level. Distinguish three things: the minimum level configured in the dimmer, the lamp's minimum stable level, and the value shown on the HA dashboard or in an automation: 5% in HA alone doesn't mean the dimmer is physically running at 5%.

How to choose a path for a point on the map

Scenario A: kitchen counter, strip under the cabinets. A constant-voltage 12 or 24V supply plus a CCT or RGBW controller plus strip in an aluminum profile. The profile helps dissipate heat, protects the strip mechanically, and improves the finish: not every thin channel provides enough cooling for a high-power strip. Over the counter, check CRI, evenness, the profile's diffuser, glare control, and a serviceable location for the power supply. RGB color effects are an extra.

Scenario B: a bedside lamp, the switch stays, the smart bulb has constant power. Regulation happens inside the source, not on the mains. Plan B: what happens after the circuit is physically switched off and back on.

Scenario C: living room ceiling, compatible LEDs, one switch, dimming without smart bulbs. An in-box dimmer, after verifying load, N, source type, and flicker on one circuit before buying in bulk. Mounting: an electrician.

LED strips: power supply, current, RGB, RGBW, CCT

Typical 12/24V strips need a constant-voltage supply matching the strip's voltage. Don't buy a random device just labeled "LED driver": some drivers are constant-current sources meant for different lighting modules entirely.

At the same wattage, a 24V system draws less current than a 12V one, which often makes it easier to limit voltage drop over a longer run. That doesn't mean every 24V strip will be suitable, though. Voltage, watts per meter, length, cut points, wiring, the power supply, and the controller all have to form one compatible set.

A rough estimate of a strip's power

You estimate a strip's power roughly as:

watts per meter × length = total strip power

Example: 9.6 W/m × 4 m = 38.4W. You don't size the power supply right at the 38.4W edge. You build in margin per the design and the manufacturer's guidance: for instance, 15-25% is a design example, not a standard for every power supply.

You calculate current as: current = power / voltage. Example: 60W at 24V = 2.5A; 60W at 12V = 5A. A controller has per-channel and total limits: check both. For RGBW and CCT, check whether the strip's rated power assumes all channels running at once, and check the common-wire type matches the controller.

RGB: color without a separate white channel. Decorative use, TV backlighting.

RGBW: color plus a separate white channel. Better than white mixed from RGB, but doesn't guarantee task-lighting quality: check the white channel's CRI and brightness.

CCT: a warm-white and cool-white channel, the controller mixes the proportions. At maximum brightness not every system runs both channels at full power: check the controller's combined limit.

An analog strip and an addressable one aren't the same
RGB, RGBW, and CCT usually control an entire run at once. Addressable strips (WS2812B and similar) let you control individual segments: that's the WLED path. A plain Zigbee RGBW controller won't produce segmented effects.

Powering a long strip needs a proper design

"Feed power from both ends" doesn't mean you can randomly wire two power supplies to one strip. How power is injected, the wire gauges, section splits, and protection have to be sized to the set's actual current. Addressable strips at full brightness can draw a very large current: wiring, protection, and a common ground have to be designed for it. An electrician handles the power supply's 230V input.

The strip's power supply needs a safe location

Don't force the power supply into a sealed space with no access or heat dissipation. The supply's input side carries mains voltage. An electrician chooses the enclosure, protection, wiring, and mounting location per the device's instructions.

If the strip will be used at a desk, in the kitchen, or on camera, check the controller's PWM quality and run both a camera test and a visual check at low brightness. Low voltage doesn't excuse a poor design.

Market examples: mechanics, not a shopping list

Shelly Dimmer Gen3

A trailing-edge wall dimmer in a 230V box. In HA it appears as a light with brightness. For the exact model, check: min/max load, LED type, N, bypass requirement, box dimensions. Parameters can differ between generations.

Shelly Plus RGBW PM

A low-voltage-side controller: an example verified against documentation available as of July 2026. It receives 12 or 24V DC power and drives strip channels. The documentation lists up to 4A per channel and 10A total. That measurement covers the device's low-voltage side: it isn't the same as measuring energy drawn by the power supply from the 230V mains. You don't put this in place of a wall dimmer for a ceiling with E26/E27 bulbs.

Gledopto and Zigbee CCT/RGBW controllers

Before buying, check the full model number, voltage, current per channel and total, common-wire type, behavior after power returns, feature availability in ZHA or Zigbee2MQTT, PWM frequency, and the minimum stable brightness. Test one unit before wiring the whole kitchen.

Philips Hue Lightstrip

A ready-made decorative strip with its own power supply and the Hue ecosystem. Separate: control through the Hue Bridge, a remote within the Hue ecosystem, control via HA, and physically cutting power to the supply. The set needs constant power to its electronics if it's meant to respond to radio commands: see also Lesson 3 on the wall switch.

WLED on an ESP32

WLED is a separate firmware specialized for driving LED strips, particularly addressable ones. Home Assistant has an official WLED integration: it requires WLED 0.14.0 or newer. It isn't an ESPHome module, and the two shouldn't be presented as one system. WLED makes sense for effects and segments, but needs proper power, a common ground, and a wiring plan. WLED effects shouldn't be the only lighting on a critical passage or staircase. For a beginner, a ready-made enclosed controller may be the better choice.

What entities you're watching in HA

A dimmer, a smart bulb, and a strip controller usually appear as entities in the light domain. A given entity might handle only brightness, or also color temperature, RGB, RGBW, RGBWW, and effects. Always check the device's actual feature list in HA.

Among the parameters that can appear with light.turn_on: brightness_pct, color_temp_kelvin, rgb_color, rgbw_color, transition, effect. Not every device supports every parameter. Transition doesn't behave identically across manufacturers and doesn't guarantee several devices move in sync: check local control too.

A dimming test card

Record the test result against a specific point on the map: not in one global switch for the whole house.

Room and point: ..................................................
Path: 230V dimmer / smart bulb / strip controller
Controller or dimmer model: ..................................................
Source or strip model: ..................................................
Number of sources / strip length: ..................................................
Strip voltage: 12V / 24V / other
Total power: ..................................................
Minimum stable level: ..................................................
Minimum start level: ..................................................
Flicker after warming up: yes / no
Buzzing or noise: yes / no
Glow after switch-off: yes / no
Works without HA: ..................................................
Behavior after power returns: ..................................................
Result: accepted / rejected / needs correction
Test date: ..................................................

A brightness test script

Only run the test after mounting and calibration by an electrician. Watch the light during the script. If you see flicker, buzzing, or instability, stop the test with normal manual control: don't keep going "because the script is almost done." The script doesn't pass the test automatically; you record the result on the point's card.

An optional helper for just this one point (Settings → Helpers or YAML: don't add it in both places at once):

input_boolean:
  dimming_test_living_room_done:
    name: Living room dimming test complete
    icon: mdi:check-decagram

Script: replace light.living_room_ceiling with your own entity:

test_dimming_living_room:
  alias: Living room brightness test
  description: >
    Manual test of basic brightness levels. Watch the light's behavior
    and stop the test if flicker, buzzing, or instability appears.
  mode: single
  sequence:
    - action: light.turn_on
      target:
        entity_id: light.living_room_ceiling
      data:
        brightness_pct: 100
    - delay: "00:00:10"
    - action: light.turn_on
      target:
        entity_id: light.living_room_ceiling
      data:
        brightness_pct: 75
        transition: 1
    - delay: "00:00:10"
    - action: light.turn_on
      target:
        entity_id: light.living_room_ceiling
      data:
        brightness_pct: 50
        transition: 1
    - delay: "00:00:10"
    - action: light.turn_on
      target:
        entity_id: light.living_room_ceiling
      data:
        brightness_pct: 25
        transition: 1
    - delay: "00:00:15"
    - action: light.turn_on
      target:
        entity_id: light.living_room_ceiling
      data:
        brightness_pct: 10
        transition: 1
    - delay: "00:00:20"
    - action: light.turn_off
      target:
        entity_id: light.living_room_ceiling

After the script, manually run a low-brightness start following a few minutes off. Only turn the helper on once the full test on the card is complete.

Plan B doesn't have to preserve every effect

After a Home Assistant failure, you don't need to preserve scenes, effects, and the exact color-temperature choice. Plan B has to provide the basic function: a household member can turn the light on to a useful level and back off again. Full local brightness control is a bonus, but it shouldn't be a substitute for simple on/off.

For an LED strip, separate: everyday manual control (the controller's own button, a remote, the power supply's input switch if the design allows it), an emergency shutoff, and a service disconnect. Record the behavior after power returns: especially with WLED and strip controllers, so a full rainbow effect doesn't fire up in the bedroom after an overnight outage.

Hands-on exercise

☐ From the map, pick every point where you genuinely need brightness control.
☐ For each one, choose a single primary path: 230V dimmer, smart source, or strip controller.
☐ Record the source, driver, dimmer, power supply, and controller model, if already known.
☐ For a strip, calculate the full run's power and the set's estimated current.
☐ Check each channel's limit and the controller's combined limit.
☐ Record the minimum stable level and the minimum start level.
☐ Check control without HA and behavior after power returns.
☐ Record the test result against the specific point, with a date.
☐ Don't buy more units before finishing the test of the target set.

Key takeaways

  • A 230V dimmer, a smart bulb, and a strip controller are three different regulation paths.
  • A source labeled dimmable doesn't have to work perfectly with every dimmer.
  • Flickering can come from the load, the driver, the dimmer's mode, calibration, or the source's quality.
  • You only use a bypass per the specific device's documentation.
  • A 12/24V strip needs a matching constant-voltage supply and a controller rated for the current.
  • RGB, RGBW, CCT, and addressable strips aren't the same thing.
  • WLED is a separate firmware with an official Home Assistant integration.
  • A 1-100% range in HA doesn't mean the light physically works correctly across that whole range.
  • You test one complete configuration after warming up, without HA, and after a power loss.
  • Plan B's main job is letting someone manually turn on a useful light.

In Lesson 6 we move on to blinds: roller modules, tubular motors, and what to check before buying. That's a different category from light: a motor, limit switches, an interlock.

Finished this lesson?