Lighting Hardware: Smart Bulbs, Relays, Dimmers, LED Strips, and Fixtures
Lighting Hardware: Smart Bulbs, Relays, Dimmers, LED Strips, and Fixtures
You have the room map from Lesson 1. Now you're going through hardware categories: how they physically work, what entities they create in Home Assistant, and when each category makes sense. This is a design guide, not a shopping catalog.
This lesson is a market survey, not an ad. Shelly, Philips Hue, IKEA, Aqara, SONOFF, Tuya, and Gledopto are given as examples of a category. Before buying, check the full model number, the HA integration, and compatibility with your own installation.
Plan on about 90 to 100 minutes. From here on, I'll shorten Home Assistant to HA.
A real-life problem: I bought everything, nothing fits
You bought five Hue bulbs for the ceilings, because "Hue is the standard." It turned out the hallway has a three-way switch and a guest regularly cuts power at it. For the kitchen you got a Tuya LED strip, but the power supply doesn't fit in the cabinet, and the controller doesn't support local control without the cloud.
For the bathroom you bought a relay requiring a neutral wire, because it was cheaper than the alternatives. The electrician checks the installation and finds there's no N wire in the box, so the chosen device can't be connected according to its own documentation. You need a different variant, a different mounting location, or a rewiring job.
Don't assume every device with a similar family name works without a neutral wire. Check the full model number for the specific unit.
This isn't a one-brand problem. It's a missing split into categories and layers. A smart bulb, a relay in a box, a dimmer, an LED strip, a battery remote, a motion sensor, and a Zigbee coordinator are different jobs. Each has different power requirements, different risk, and a different entity in HA.
A point, a circuit, a device, control, an entity
A light point is a physical location: the living room ceiling, a lamp over the table, countertop underlighting. A circuit is the wiring and protection feeding that point. An actuating device physically controls the light: a relay, a dimmer, a smart bulb, a strip controller. A control device is a switch, remote, or button. An entity in HA represents the function in the system: usually light or switch.
The integration usually decides whether a device initially shows up as light or switch. In some cases, Home Assistant lets you present a plain switch as a light, to make grouping and controlling lighting easier. This doesn't add functions the device doesn't physically have. An on/off relay won't start dimming or changing color because of it.
Consistent names help you find devices, but don't change their domains. If a living room has both light and switch entities, a scene can save the state of both, but a single light.turn_off action won't turn off a plain switch entity. Later in the module, you'll standardize how you control things, or use a scene and a script that covers both types.
First, define the light's function
Before you assign a hardware category, decide what a given point is for. The same LED strip can be decoration behind the TV or important countertop lighting in the kitchen. It looks similar, but has different requirements for brightness, power, and a Plan B.
The room's basic lighting. Should have simple manual control and can't depend solely on an app.
Lights a countertop, a desk, a mirror, or a work spot. Brightness, evenness, and accurate color rendering matter.
Helps you get around safely at night. Usually runs at low brightness and shouldn't blind someone coming out of a dark room.
Sets a mood, but shouldn't be the only light source in an important room.
Parameters to check before buying a light source
| Parameter | What it means | Why it matters |
|---|---|---|
| Lumens | The amount of light the source emits. | This is the main brightness parameter, not the wattage. |
| Watts | The device's power draw. | Needed for sizing the load, the power supply, and running cost. |
| Kelvin | The color temperature of the white light. | A lower value gives a warmer white, a higher one a cooler white. |
| CRI / Ra | Color rendering quality. | Matters over a kitchen counter, at a mirror, and at a work spot. |
| Beam angle | How widely the light spreads. | A narrow angle gives a spotlight effect, a wide one lights up the whole room better. |
| Dimmable | Whether the source can work with a dimmer. | A plain LED source doesn't become dimmable just by adding a dimmer. |
One point can use several categories at once
Categories aren't always alternatives to each other. A hallway light can have a relay as its actuating device, a battery remote as extra control, a motion sensor as a data source, and a Zigbee coordinator as infrastructure.
- What physically controls the light: a bulb, a relay, a dimmer, a strip controller, a smart plug, or a smart fixture.
- What a household member controls: a switch, a remote, a button, or a local panel.
- What supplies data: a PIR, mmWave, lux, or a contact sensor.
- What provides communication: a coordinator, a bridge, a hub, Wi-Fi, or a Thread border router.
Actuating devices
A smart bulb
A smart bulb (Hue, IKEA TRÅDFRI, Tuya E26/E27) has a Wi-Fi or Zigbee module, an LED driver, and the light source built in. In HA it shows up as a light entity with brightness, color, or color temperature.
When it makes sense: a floor lamp, a night light, a desk lamp, a fixture whose power can stay on all the time, a rented room. When to avoid it: a ceiling everyone uses a switch for; a multi-point fixture where you want a single brightness slider.
A smart bulb in a wall sconce has the same problem as one in a ceiling fixture, if the plain switch cuts its power. The bulb needs continuous 230V power for its radio to work. More on this in Lesson 3.
HA entity: usually light, with features depending on the model.
Manual control: a remote, a button, or a switch that doesn't cut the bulb's power.
Plan B: a remote locally paired with the lamp, or bridge-based control tested with HA turned off.
Not a Plan B: the app alone, a voice command, or a remote that only triggers a Home Assistant automation.
A relay in the box
A relay mounts behind the switch, in the box or in the panel. It breaks or closes the 230V circuit to the fixture. In HA it's usually a switch entity, or light if the integration or configuration maps it as a light.
When it makes sense: a ceiling, a hallway, a garage, a point with an existing switch. When to be careful: no neutral wire, a shallow or cramped box, a large number of wires and connectors, a three-way or four-way circuit, and no confirmed load type. An electrician does the diagnosis before you buy the device.
A relay doesn't dim on its own. It gives on/off. Market examples: Shelly 1 Mini Gen4, Aqara Dual Relay T2, SONOFF ZBMINI. 230V mounting: an electrician.
Watch out for generations: for instance, some of the newest Shelly generations can support several protocols. Don't permanently pin an entire brand to one protocol. Check the documentation for the specific model's full number, the verification date, and the manufacturer's source: models change faster than a course does.
A two-channel relay isn't automatically the best choice for two lights, blinds, or two independent circuits. Check the power arrangement, the load per channel, input modes, post-restart behavior, and support in ZHA or Zigbee2MQTT.
Don't pick a relay based only on a big amp number on the housing. Power supplies and LED drivers can draw a brief, much larger current on startup. Check the documentation for a separate limit for LED loads, and give your electrician the number and type of power supplies on the circuit.
- action: switch.turn_on
target:
entity_id: switch.living_room_ceiling
If the relay is presented in HA as a light, use light.turn_on with the correct entity ID. Don't just swap the word switch for light in your code until you've checked the entity actually created on your system.
Three different ways to dim
A 230V dimmer controls a compatible fixture or a dimmable LED source on the mains side. It has to match the load type and the source's electronics. In HA, a light entity with a brightness attribute.
A 12/24V strip controller regulates individual channels of the strip on the low-voltage side, usually via PWM. It's not a substitute for a dimmer mounted in the 230V circuit.
A smart bulb regulates its own brightness internally. It should have constant, non-dimmed power, unless a specific model's documentation clearly says otherwise.
When a 230V dimmer makes sense: a living room, bedroom, or dining room with a fixture built for dimmable sources. When not to choose one: when the LED source isn't marked dimmable, the manufacturer doesn't confirm compatibility, the load falls outside the dimmer's range, or you can't run a test on a single circuit. We cover bypass and flicker details in Lesson 5.
An LED strip and controller
A strip is a low-voltage source: a 12/24V power supply plus a controller. In HA it's often a light with rgb, rgbw, or color_temp. Three paths: a ready-made Zigbee kit (Gledopto, Tuya), a multichannel module (e.g. Shelly RGBW), or WLED on an ESP32 integrated into HA via the WLED integration.
A single-color strip mainly regulates brightness. CCT lets you blend warm and cool white. RGB creates colors, but doesn't always give a good white light. RGBW has a separate white channel. An addressable strip lets you control segments or individual diodes and usually works with controllers like WLED.
WLED and ESPHome are two different solutions. WLED specializes in controlling LED strips, especially addressable ones and effects. ESPHome is general-purpose firmware for building devices on the ESP32. Don't describe WLED as an ESPHome module. Each has its own integration in HA.
When it makes sense: kitchen underlighting, shelving, decorative stairs. When to avoid it: the only light point in a room with no Plan B, a long strip run on an underpowered supply. Watts per meter × length is just the starting point for sizing the power supply and controller. Details in Lesson 5.
A smart plug
A plug (Shelly Plug, SONOFF S26, Tuya) gives you a switch in HA. You plug in a floor lamp without touching the installation. When it makes sense: a lamp in a corner, a night light, holiday lights.
Don't exceed the rated load, account for the load type, and don't use a plug for devices where turning back on automatically after a power outage could be dangerous. A smart plug controls the lamp's power, but doesn't bypass its own switch. If the switch on the lamp's cord stays off, turning on the smart plug won't light it up.
An integrated fixture and a floodlight
An integrated fixture has the LED source and driver built into the construction. It doesn't have to be a smart device. A plain fixture can be controlled by a relay or a compatible dimmer. Only a model with its own Wi-Fi, Zigbee, or Matter behaves like a smart bulb and needs constant power for its electronics.
A floodlight can be a plain fixture controlled by a relay, a model with its own motion sensor, or a Wi-Fi/Zigbee device. Before buying, check serviceability: can you replace the driver, the LED module, or the whole source; what happens after the electronics fail; and does basic control work without the manufacturer's cloud.
Don't rely on one rule like "IP44 is enough for the bathroom." Requirements depend on the exact mounting location and the zone around the tub or shower. An electrician confirms the choice of fixture, supply voltage, and space for the power supply and controller, based on the installation and the devices' documentation.
Manual control: battery remotes and buttons
A battery remote doesn't control the 230V circuit directly. It can send commands to Home Assistant, to a manufacturer's bridge, or directly to a paired lamp or Zigbee group. Whether it works after HA is turned off depends entirely on how it's configured.
- Remote → an HA automation: flexible, but dependent on the server.
- Remote → a manufacturer's bridge: can keep local control without HA.
- A direct Zigbee pairing: can control a lamp without going through HA automation, as long as the devices and configuration support it.
Examples: Hue Dimmer Switch, IKEA STYRBAR/RODRET, Aqara Wireless Mini Switch, SONOFF SNZB-01P. This is a manual control layer that doesn't touch the box. In Lesson 9, you'll link clicks to scenes.
Sensors: motion and brightness
A sensor is a binary_sensor (motion) and sometimes a sensor (lux). It doesn't light up anything. It just informs an automation. Examples: Aqara Motion P1, Hue Motion, IKEA VALLHORN, SONOFF SNZB-03P.
A PIR sensor detects clear motion well, but can stop seeing a person sitting still or standing behind an obstacle. An mmWave sensor can detect finer movement, but isn't automatically better in every room. It needs proper zone setup, sensitivity, and mounting location, since it can pick up motion outside the area you actually care about. Lux keeps you from turning on lights during a bright day. Automations with sensors only come after manual control is in place (Lesson 11).
Infrastructure: a coordinator, a bridge, and a hub
These terms sound similar, but don't mean exactly the same thing.
- A Zigbee coordinator creates and manages a Zigbee network. It can be an adapter used by ZHA or Zigbee2MQTT.
- A manufacturer's bridge or hub handles devices from its own ecosystem and exposes them to Home Assistant through a local API, HomeKit, Matter, or another integration.
- Home Assistant doesn't automatically turn every manufacturer's hub into a universal coordinator for arbitrary Zigbee devices.
The Hue Bridge and IKEA DIRIGERA act as command centers for their manufacturer's devices. DIRIGERA can currently be integrated with HA via HomeKit Device or Matter, not through a simple integration named "IKEA DIRIGERA." Choosing a manufacturer's hub can give you simpler local control and keep some functionality after an HA failure. A direct HA coordinator gives you more freedom to mix brands, but ties manual remotes and automation more tightly to your Home Assistant configuration.
Zigbee, Wi-Fi, and Matter: three different decisions
The protocol alone doesn't tell you whether a device will be good. Two Zigbee products can differ in features, firmware quality, and compatibility with a given integration.
Needs one network with a coordinator. The coordinator can be an HA adapter or a manufacturer's hub. Mains-powered devices often extend the mesh, but not every device does it equally well.
The device connects to the home network. It doesn't need a Zigbee coordinator, but requires good coverage, stable DHCP, and checking whether control works locally without the cloud.
Standardizes how basic device functions are exposed. It can run over Wi-Fi or Thread, and a manufacturer's hub can expose its devices to HA as a Matter Bridge. You still check which functions of a specific model are actually available.
For lighting across a whole house, Zigbee often wins on the number of battery-powered buttons available. A Wi-Fi Shelly in the box can be simpler infrastructurally, since it doesn't need a Zigbee network or coordinator: the electrical mounting is still an electrician's job either way. Don't pick a protocol "because it's trendy." Pick it based on your Plan B and the number of devices.
How a device gets into Home Assistant
An official manufacturer or local-API integration: examples include Shelly and Philips Hue via the Hue Bridge. The Hue integration works locally through the bridge.
ZHA or Zigbee2MQTT: you pair the device directly with the coordinator HA uses. Before buying, check full-model support in your chosen solution. Zigbee2MQTT publishes its own compatibility database. In ZHA, features can depend on device-class support and quirks.
HomeKit Device or Matter: some manufacturer hubs, IKEA DIRIGERA among them, can expose devices to HA through one of these paths.
WLED or ESPHome: two separate solutions for ESP32-based devices. Each has its own integration and its own use case.
A decision table: when to choose what
A ceiling with a switch everyone uses → a relay in the box, not five smart bulbs.
A floor lamp in the corner → a smart bulb, or a plug plus a plain bulb.
Countertop underlighting → an LED strip + a DC controller, not an AC dimmer meant for a ceiling.
A hallway triggered by motion → a relay + a sensor (later), not a lone smart bulb with its power cut off.
A rented room → level 1 (a bulb/plug), reversible: no electrician needed only when the fixture and source are meant for self-service replacement and you're not modifying the installation.
A living room with an evening mood → a dimmer, or smart bulbs with a remote, but the switch has to leave the power on.
Assigning categories to rooms: three examples
Kitchen: ceiling → a relay (main light), since the switch gets used every day. Countertop → an LED strip + a controller in the cabinet (task light). Not an AC dimmer on a DC strip.
Bedroom: ceiling → a dimmer, if the fixture is built for dimmable LEDs; by the bed, a Zigbee remote for a "Night" scene (manual control).
Garage: a relay + a motion sensor later. A high-mounted smart bulb makes resetting, re-pairing, and replacing it harder. In a spot like this, it's worth preferring an easily accessible control module and a plain fixture.
For every assignment, note on the map: the light's function, its actuating category, how it's manually controlled, the protocol, the integration, lumens, white color temperature, dimming requirements, behavior after a power loss, serviceability, and whether the point needs an electrician.
Load, mounting, and power diagnostics
A module in a box needs an operating temperature suited to its surroundings. An LED strip is sized by watts per meter × length, but that's just the starting point for sizing the power supply and controller.
In HA, power monitoring (Shelly 1PM, a metering plug) is a separate sensor entity, not a light. Power measurement can help with diagnostics. If a relay reports an on state while the draw stays close to zero, that could mean the fixture is off or damaged: or it could just be a normally very low-power LED, standby electronics, or a lamp with its own switch. It's a clue that needs further checking, not a certain diagnosis.
The one-test-unit rule
Don't buy ten units of the same model before testing one. Check pairing, feature availability, behavior after a power loss, working without internet and with HA turned off, the reset procedure, and the actual brightness and color.
☐ All the claimed features are visible in HA.
☐ The state changes correctly after using the physical switch or remote.
☐ I checked behavior after a power loss and restoration.
☐ I checked whether it works without internet.
☐ I checked what still works after turning off HA.
☐ I know how to factory-reset the device.
☐ I accept the brightness, color range, latency, and build quality.
☐ Only after this test do I buy more units of this model.
What can go wrong
Buying a dimmer for a fixture that isn't built for dimming: flicker or a shortened lifespan. An LED strip run too long without a properly sized power supply: weak light at the far end. Buying a Wi-Fi device described as "works with the app" without checking for local integration can tie basic control to the manufacturer's cloud. App or voice-assistant compatibility alone doesn't mean local operation in Home Assistant.
A Tuya bundle "works with HA" without checking Zigbee2MQTT versus ZHA: the device ends up unsupported. Mixing categories at one point with no plan: a ceiling on a relay (switch), and a smart bulb (light) in the same group. A "Turn off living room" scene has to cover both domains, or a combined script.
A manufacturer's remote versus Home Assistant
A Hue Dimmer can control Hue bulbs through the bridge without HA. The Hue Bridge is an example of a local bridge, not cloud-dependent automation. After adding the Hue integration to HA, you can map that same remote to HA entities (device triggers). An IKEA RODRET in ZHA sends events to automations. This matters for a Plan B: whether a remote works when the HA server is down depends on the bridge and the configuration. Check this before mounting ten points.
What not to do
Don't pick smart bulbs as the default solution for the whole house without checking every switch, manual control, and outage behavior.
Don't confuse a relay with a dimmer, or an AC dimmer with a DC strip controller.
Don't install an LED strip without a plan for the power supply and its location.
Don't treat a manufacturer's app or an HA-dependent remote as a Plan B.
Don't add a motion sensor before manual control is settled.
Practical assignment and updating the map
☐ For every light point, note: the light's function, its actuating category, how it's manually controlled, the protocol, and the integration.
☐ Mark sensors and infrastructure (coordinator, bridge) separately. Don't assign a bridge as a light point's category.
☐ For three points, write down the HA entity (light/switch) and the Plan B.
☐ Write a "not buying right now" list with reasons.
☐ Mark the points that need an electrician before Lesson 4.
Key takeaways
Function before hardware: main, task, wayfinding, decorative.
Four layers: actuating, manual, sensors, infrastructure: not alternatives.
The entity: the integration decides initially; HA can map a switch to a light without adding functions.
A Plan B: a test of local control, not the name of the app.
One test unit before a bigger purchase.
What's next
Lesson 3 covers the most important buying decision: a smart bulb or a relay in the box. We'll physically explain why a wall switch kills a smart bulb, and what a Plan B looks like for each option.
If your Lesson 1 map is ready, you'll immediately write next to each category in this lesson: "living room ceiling = relay + switch, floor lamp = smart bulb, kitchen counter = LED strip." Before you order your first relay, review the map and count: how many points are level 1 (no electrician), how many are level 2 (boxes), and how many need no change at all this year.