LED Strip Controller for Home Assistant: Wired RGB+CCT on a DIN Rail
Most LED strip controllers are small WiFi boxes hidden next to the tape. This one sits in the panel, talks to the controller over a pair of wires, and can keep wall switches working when the network does not. Here is a real living-room installation, what it took in wiring terms, and what Home Assistant actually gets.
The short version. An RGB+CCT strip has five colour channels — red, green, blue, warm white and cool white — and every one of them needs its own dimmable output. The RGB-621-R1 RGB+CCT LED strip controller gives you those five PWM outputs with 12-bit, gamma-corrected dimming, two wall-switch inputs with scenes on the module itself, and one relay. It joins the RS-485 bus as a Modbus RTU device, and the ESPHome package on the controller turns it into a single RGB+CCT light in Home Assistant.
1. Wired vs WiFi LED Controller: What Changes in Home Assistant
A WiFi LED controller is a complete little computer per strip: its own radio, its own firmware, often its own cloud account. That is convenient for one strip behind a television. It gets less convenient at the fifth strip, when each one is another device on the WiFi, another thing to update, and another box sitting in a ceiling cove where nobody can reach it.
A wired controller moves the electronics to the panel. The strip gets cable from the panel, the module sits on the DIN rail next to everything else, and it talks to the controller over the same two-wire RS-485 bus as the rest of the installation. Three things change in practice:
The module has no radio of its own. It is a Modbus device on a wire. How the controller reaches Home Assistant is a separate choice — WiFi on the MicroPLC, Ethernet on the MiniPLC — but the lighting itself never depends on a radio link.
The wall switches belong to the module. Two dry-contact inputs run toggle, hold-to-dim and scenes on the module, so the lights answer the wall switch with the bus or Home Assistant down. More on that in section 5.
Everything is serviceable from the panel. Commissioning, firmware and settings go through USB-C on the front of the module, not through a ladder and a ceiling cove.
2. RGB LED Controller, RGBW or RGB+CCT: Which One Your Strip Needs
The strip decides the channel count, so it is worth being precise about what the names mean.
| Strip type | Channels | What it can do |
|---|---|---|
| Single colour | 1 | Brightness only |
| CCT (tunable white) | 2 — warm white, cool white | White from warm to cool |
| RGB | 3 — R, G, B | Colours; white is a mix and looks bluish |
| RGBW | 4 — R, G, B, one white | Colours plus a proper white at one colour temperature |
| RGB+CCT (RGBWW) | 5 — R, G, B, warm white, cool white | Colours plus white at any colour temperature |
The RGB-621-R1 has five channels, so it covers all of them: an RGB+CCT strip uses all five, an RGBW strip uses four, a CCT strip uses the two white channels. If the room needs white light most of the time and colour occasionally — which is most living rooms — RGB+CCT is the strip to buy, because the dedicated white LEDs give a far better white than mixing red, green and blue.
One requirement applies to every type: the strip must be a 12 V or 24 V common-anode strip. The module's outputs switch the negative side of each channel. Addressable strips with a data line (WS2812 and similar) are a different technology and do not belong on this module.
3. The Installation: One Cove, One Panel
The installation in the photos is a 24 V RGB+CCT strip in a ceiling cove around the perimeter of a living room. The panel holds a 24 V supply, a breaker, the MicroPLC controller and the RGB-621-R1, with the strip cable running from the panel to the cove.
What is actually wired here: one 24 V supply feeds both the module's 24 Vdc POWER input and its LED PS input; all six LED terminals — the common positive and the five colour channels — go through a terminal block to the strip cable; the RS-485 bus between the MicroPLC and the module is two wires, A and B. The relay and both wall-switch inputs are not connected: in this room the lights are controlled from Home Assistant only.
The division of work is simple. The RGB-621-R1 switches the LED current and runs the local logic. The MicroPLC polls it over RS-485 and bridges it to Home Assistant through ESPHome. The photos were taken on the first installation with early firmware; everything below describes the current firmware, v0.3.0.
4. Wiring the Strip: Two Supplies and One Current Limit
The module has two supply inputs, and they must not be confused. 24 Vdc POWER feeds the module's own electronics. LED PS takes the strip supply — 12 V or 24 V, matching the tape — and passes it straight to the common positive terminal of the strip. The module's own supply cannot power the strip.
Check the polarity of the LED supply before switching on. The LED PS input is fused and surge-protected, but it has no reverse-polarity protection: a supply connected backwards can destroy the outputs. The 24 V module input is protected; the LED input is not.
The current limit is per module, not per channel. The LED PS input carries a 10 A fuse, and that 10 A is shared by every channel in use. There is no separate ceiling per channel; the terminals and the board's heat dissipation set the practical limit below the fuse. Size the strip by length and watts per metre, add up every channel that can be on at once, and stay under 10 A.
That arithmetic is the main reason to choose 24 V tape for anything longer than a short run: the same power at 24 V is half the current of 12 V, which means half the voltage drop along the strip and twice the length before the far end looks dimmer than the near end.
5. Wall Switches, Scenes and Dimming on the Module
This is the part that a WiFi controller usually does not have, and the reason the lights still behave when Home Assistant is down.
Two wall-switch inputs. DI1 and DI2 take potential-free contacts — ordinary push-buttons or switches — wired between the input and the input GND. The module supplies the wetting current itself; no external voltage goes to the inputs. Each input can be momentary or maintained, and each can drive the RGB group, the white group, both, or the relay.
Gestures. A momentary input recognises single press, double press and hold. Out of the box, DI1 toggles the RGB group and dims it up on hold, and DI2 toggles the white group and dims it down on hold. Any gesture can instead recall one of four scenes stored on the module.
Dimming quality. Internally every channel runs at 12-bit resolution with gamma correction (2.2 by default), so low brightness steps are fine rather than coarse. Level changes fade over a configurable transition, 400 ms by default. Per-channel minimum and maximum trims set the lowest usable level and cap the brightest one, and a power-on setting chooses between off, on and restoring the last state after a power cut.
The relay. One SPST-NO contact, rated 3 A at 250 V AC. In Follow mode it closes when any of the watched channels is on and opens after an off delay (45 s by default) once everything is dark. Wired externally in series with the LED supply, it removes standby power from the strip supply while the lights are off. In Manual mode it is a free output for Home Assistant, a gesture or the bus.
All of this is set in WebConfig: plug a USB-C cable into the module, open the configuration page in Chrome or Edge, connect, and the settings apply live and are stored on the module. The same page has sliders for all five channels, which is the quickest way to prove the strip wiring before the controller is even connected.
6. The LED Strip Controller in Home Assistant
On the controller side there is no register map to write by hand. The module is added to the MicroPLC or MiniPLC configuration as one ESPHome package with a name prefix, and the package brings the Modbus definitions with it. The module's defaults are address 3, 19200 baud, 8N1; every module on the bus needs its own address, set in WebConfig.
In Home Assistant the result is one RGB+CCT light: colour wheel, brightness, separate warm-white and cool-white levels, and the usual scenes and automations on top. The relay appears as a switch and the inputs as binary sensors.
Two details are worth knowing before building automations:
Fades happen on the module. The package sends Home Assistant's final value, and the module fades to it over its own transition time. Home Assistant's transition setting therefore does not apply to this light; the fade length is the one set in WebConfig.
Local changes come back to Home Assistant. When somebody uses the wall switch or recalls a scene on the module, the light in Home Assistant follows, so automations see the real state rather than the last command.
The bus itself is the usual short list — one twisted pair plus COM, a terminator at each end, unique addresses — covered in Modbus RTU over RS-485 in ESPHome. Run COM to the module: the RS-485 port is not isolated, and COM is what keeps the common-mode voltage inside the transceiver's range. The panel in the photo runs the bus on A and B only, which works there because both modules sit on the same 24 V supply and share its 0 V; on a new installation, run COM anyway.
7. What This Is Not
Not a pixel controller. No data line, no per-LED effects. For addressable strips you need a different controller.
Not a mains dimmer. The outputs are low-voltage DC for LED tape. Mains lamps belong on a mains dimmer.
Not a switched positive. The outputs switch the negative side of each channel; the strip must be common-anode.
Not a power supply. The strip needs its own 12 V or 24 V supply on LED PS, and the module carries at most 10 A of it in total.
RS-485 is not galvanically isolated. Surge protection, which is not the same thing.
8. The Takeaway
The decision that matters is made before the plaster: a cable from every strip back to the panel. After that, choosing a wired LED strip controller is mostly about where you want the problems to be — in a WiFi box in the ceiling, or on a DIN rail where you can reach them.
Buy RGB+CCT tape if white light is the everyday use, prefer 24 V for anything long, add up the current against the 10 A limit, and put the wall switches on the module so the room works with or without the server. For the wider plan, wiring a new house for Home Assistant covers what to pull before the walls close.
Frequently Asked Questions
Can I use an RGBW strip instead of RGB+CCT?
Yes. An RGBW strip uses four of the five channels — red, green, blue and one white — and leaves one free. A CCT strip uses the two white channels. Any 12 V or 24 V common-anode strip works; addressable strips do not.
Do the wall switches work if Home Assistant is down?
Yes. The two inputs run toggle, hold-to-dim and scene recall on the module itself, so the lights answer the wall switch with Home Assistant or the bus offline.
How long a strip can one module drive?
The limit is current, not length: 10 A in total on the LED supply input, shared by all channels that are on at once. Add up the watts per metre of every channel, divide by the supply voltage, and stay under 10 A. At 24 V that is twice the power of 12 V for the same current.
Do I need a MiniPLC or MicroPLC?
Not for the lights to work: with wall switches the module runs standalone. For Home Assistant, a MiniPLC or MicroPLC with the ESPHome package is the ready-made route; any Modbus RTU master can also drive it.