Safety: switch bulbs off at the wall before changing fittings, and leave fixed wiring to a licensed electrician. Open the Zigbee network to new devices only when you are pairing, and close it afterwards.
Part 1: Zigbee2MQTT
- Open the network from the frontend with the permit join button (Zigbee2MQTT says this opens it for 254 seconds). You can also pick a specific router to pair through, which is useful for awkward devices.
- Look up your model on the Zigbee2MQTT device page and follow its pairing note. If none exists, a factory reset usually does it.
- Watch the log for a message that the device was successfully interviewed.
- Remote E1524/E1810: hold it close to the coordinator and press the pairing button next to the battery 4 times in 5 seconds. A red light flashes.
- Switch E1743: press the pair button under the back cover 4 times in a row.
- Bulbs LED1545G12 and LED1836G9: the pages describe a factory reset with 6 short on/off power cycles, waiting in the sixth ON state. They note that 7 sometimes fails. Keep the bulb close to the coordinator, then reset and it should connect itself.
Part 2: Home Assistant and the old gateway
When you add the TRÃ…DFRI integration, you enter the security key from the sticker underneath the gateway. Common problems from the docs:
- "Unable to connect": restart the gateway and try again. Give it a permanent IP address on your router.
- Fatal DTLS error: code 20: this may mean a missing or incorrect security key. Look carefully for confusion between capital "I" and lower-case "l".
- Fatal DTLS error: code 115 after a firmware update: remove the integration under Settings > Devices & services, restart Home Assistant, then add it again with the key.
- Keep the gateway on an IoT VLAN with a DHCP reservation. Only Home Assistant should be able to reach it.
- Do not run two controllers (for example the gateway and Zigbee2MQTT) for the same bulbs. Pick one place to pair each device.
- Name devices in Zigbee2MQTT before building automations, since renaming later can break them.
- Close permit join when you are finished pairing.