GLEDOPTO with Home Assistant & Zigbee2MQTT
Integrate GLEDOPTO Zigbee LED controllers into Home Assistant using Zigbee2MQTT – for locally controlled smart lighting that needs no manufacturer-specific cloud connection for normal operation.
Mosquitto plus the MQTT integration in Home Assistant.
Connect it to the broker and your coordinator.
Wire the strip and select the right LED mode.
Permit join, pair, then use the light in Home Assistant.
How it worksHardwareExample setupSoftware setupPair & controlCommon mistakesFAQ
How Home Assistant, Zigbee2MQTT and GLEDOPTO work together
The setup consists of four components, each with a specific role:
Home Assistant → MQTT Broker ↔ Zigbee2MQTT → Zigbee Coordinator → GLEDOPTO Zigbee Controller
What does Home Assistant do?
Home Assistant is the central smart home platform. It provides the user interface, dashboards, scenes and automations, and lets your lighting interact with other devices such as:
- Motion and presence sensors
- Wall switches
- Door and window sensors
- Time schedules
- Alarm systems
- Other smart home integrations
What is Zigbee2MQTT?
Zigbee2MQTT talks to the Zigbee network through a compatible coordinator and translates device data into MQTT messages. With Home Assistant integration enabled, supported devices appear automatically via MQTT Discovery.
For a GLEDOPTO LED controller this can provide entities for:
- On / off and brightness
- Color temperature and white channels
- RGB color control
- Effects
- Power-on behavior
The available functions always depend on the specific controller and its Zigbee2MQTT device definition.
Home Assistant does not replace the Zigbee radio hardware. You still need a Zigbee coordinator. New to Zigbee? Read What is Zigbee?
What hardware do you need?
A typical installation requires four building blocks:
1. Home Assistant
For example on:
- Home Assistant Green
- Raspberry Pi
- Mini PC
- Server or virtual machine
Home Assistant OS and Home Assistant Supervised installations can run Zigbee2MQTT as an add-on.
2. Zigbee coordinator
The coordinator creates and manages the Zigbee network. Zigbee2MQTT officially supports several coordinator platforms, including adapters based on:
- Texas Instruments zStack
- Silicon Labs EmberZNet
- Dresden Elektronik deCONZ
USB and supported network-connected coordinators can be used.
3. MQTT broker
Zigbee2MQTT communicates with Home Assistant through MQTT. For Home Assistant installations, the Mosquitto Broker app is the recommended and simplest option.
The MQTT integration must also be enabled in Home Assistant.
4. GLEDOPTO Zigbee controller
The controller connects the smart home system to the LED strip. Depending on model and selected operating mode, GLEDOPTO controllers can drive:
- Single color / DIM
- CCT / tunable white
- RGB
- RGBW
- RGB+CCT
One coordinator, one Zigbee application. There is only one coordinator per Zigbee network, and the coordinator used by Zigbee2MQTT cannot be controlled by another Zigbee application at the same time – for example, you cannot use the same coordinator for ZHA and Zigbee2MQTT simultaneously.
Example setup: RGB+CCT LED strip
A typical RGB+CCT installation looks like this, from top to bottom:
| Layer | Component | Role |
|---|---|---|
| Platform | Home Assistant | Dashboards, scenes and automations |
| Messaging | Mosquitto MQTT Broker | Passes messages between Home Assistant and Zigbee2MQTT |
| Bridge | Zigbee2MQTT | Translates Zigbee device data into MQTT |
| Radio | Zigbee coordinator | Creates the Zigbee network |
| Zigbee | GLEDOPTO 5-in-1 Zigbee controller | Joins the Zigbee network and drives the LED channels |
| Light | RGB+CCT LED strip | Connected to the controller outputs |
No Wi-Fi connection to the controller. The LED controller does not connect directly to Home Assistant over Wi-Fi. It joins the Zigbee network created by the coordinator; Zigbee2MQTT talks to the controller and makes its supported functions available to Home Assistant through MQTT.
Software setup: broker, Zigbee2MQTT and coordinator
Home Assistant needs an MQTT broker to communicate with Zigbee2MQTT. For Home Assistant OS or Supervised installations, Mosquitto Broker is the recommended option.
Then enable the MQTT integration under Settings → Devices & services → MQTT. Home Assistant normally detects the broker automatically when you use the official broker app.
Install Zigbee2MQTT and connect it to the MQTT broker. Supported platforms include:
- Home Assistant add-on
- Linux
- Docker
- Windows
For Home Assistant OS or Supervised, the Zigbee2MQTT add-on is normally the most convenient method.
Zigbee2MQTT must know which coordinator to use. A USB coordinator typically uses a serial device path, an Ethernet coordinator a TCP connection. Check that your coordinator is officially supported by the current Zigbee2MQTT version and which adapter type it requires.
Typical structure for a USB coordinator:
serial: port: /dev/serial/by-id/... adapter: ember
or, for a supported network coordinator:
serial: port: tcp://192.168.1.50:6638 adapter: ember
These values are examples only. The correct port and adapter type depend on your hardware.
Enable Home Assistant support in Zigbee2MQTT:
homeassistant: enabled: true
MQTT Discovery then creates supported devices and entities in Home Assistant automatically – creating individual light entities by hand is normally unnecessary.
Prepare, pair and control the GLEDOPTO controller
Before pairing, make sure that:
- the controller matches the LED strip voltage,
- the LED strip is connected correctly,
- the correct controller mode is selected,
- the controller is powered correctly.
This matters most with multi-mode controllers: a 5-in-1 controller can run as DIM, CCT, RGB, RGBW or RGB+CCT. Select the required mode before pairing.
In Zigbee2MQTT:
- Open the Zigbee2MQTT frontend.
- Enable Permit join.
- Put the GLEDOPTO controller into pairing/reset mode.
- Wait until Zigbee2MQTT discovers the device.
- Give it a useful name, e.g. Kitchen_LED.
The reset procedure differs between controller generations and models. Always follow the instructions for your product – see GLEDOPTO Zigbee pairing & reset. For supported 5-in-1 Pro models such as the GL-C-001P, GL-C-201P or GL-C-301P, Zigbee2MQTT documents the pairing/reset procedures and the individual controller modes.
GL-C-301P: on models such as the GL-C-301P, changing the operating mode also clears existing Zigbee and RF connections. Set the mode first, then pair.
Step 7 – Control the light in Home Assistant
Once pairing and MQTT Discovery are complete, the controller appears as a device in Home Assistant and can be used like any other light. Depending on the controller mode, an RGB+CCT light entity can offer power, brightness, color, color temperature, effects and power-on behavior.
Automation
Motion detected → turn the LED strip on at 30% brightness
Automation
After sunset → set warm white to 2700 K
Scene
Movie scene activated → set RGB lighting to the configured scene color
Using WLED controllers as well? See WLED with Home Assistant.
Common setup mistakes
| Mistake | What happens and how to fix it |
|---|---|
| Using the same coordinator for ZHA and Zigbee2MQTT | One coordinator cannot be controlled by both systems at the same time. Choose either ZHA or Zigbee2MQTT for it. Running both is only possible with separate dedicated coordinators and separate Zigbee networks. |
| Forgetting the MQTT broker | Zigbee2MQTT does not communicate directly with Home Assistant – an MQTT broker is required between them. |
| Incorrect controller mode | A multi-mode controller must be set to the connected LED type, e.g. RGB+CCT strip → RGB+CCT mode. The wrong mode results in missing or incorrect light functions. |
| Device was previously paired | A Zigbee device can only belong to one Zigbee network at a time. If the controller was connected to another gateway before, it normally must be reset before it can join Zigbee2MQTT. |
| Poor coordinator position | A USB coordinator right next to a computer, USB 3.0 device, SSD or Wi-Fi equipment can lose radio performance. Moving it away with a USB extension cable is one of the first troubleshooting steps recommended by Zigbee2MQTT. |
Frequently asked questions
Do I need a cloud account to use GLEDOPTO with Home Assistant?
No. With Zigbee2MQTT the lighting is controlled locally and needs no manufacturer-specific cloud connection for normal operation.
Does the GLEDOPTO Zigbee controller connect to my Wi-Fi?
No. It joins the Zigbee network created by your coordinator. Zigbee2MQTT then makes its functions available to Home Assistant via MQTT.
Can I use ZHA and Zigbee2MQTT at the same time?
Not on the same coordinator. Running both requires separate dedicated coordinators and separate Zigbee networks.
Which MQTT broker should I use?
On Home Assistant OS or Supervised, the Mosquitto Broker app is the recommended and simplest option. Remember to enable the MQTT integration as well.
Do I have to create light entities manually?
Normally not. With homeassistant: enabled: true in Zigbee2MQTT, MQTT Discovery creates supported devices and entities automatically.
Why are some light functions missing?
Check the LED mode of the controller – it must match the connected strip. The available functions also depend on the controller's Zigbee2MQTT device definition.
Build local Zigbee lighting with Home Assistant
Pick a GLEDOPTO Zigbee controller that matches your LED strip, pair it with Zigbee2MQTT and automate your lighting together with sensors, switches and schedules – all running locally.