Project: pairing IKEA bulbs and remotes with Zigbee2MQTT, and fixing TRÅDFRI gateway errors in Home Assistant

Discuss the Ikea TRÅDFRI Smart Lighting Hubs
Post Reply
User avatar
ZerOne
Site Admin
Posts: 292
Joined: Sun Dec 13, 2020 8:21 am

Two practical IKEA jobs in one post: pairing IKEA Zigbee devices directly to Zigbee2MQTT with no IKEA hub, and fixing the common TRÃ…DFRI gateway errors in Home Assistant. It is based on the Zigbee2MQTT pairing guide, some device pages and the Home Assistant TRÃ…DFRI docs, as at October 2026. I have not run these exact steps, so use the device pages for your model.

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
  1. 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.
  2. Look up your model on the Zigbee2MQTT device page and follow its pairing note. If none exists, a factory reset usually does it.
  3. Watch the log for a message that the device was successfully interviewed.
Examples from the device pages I read:
  • 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.
Binding and groups are covered on the Zigbee2MQTT site, and the E1524 page notes that once a remote is bound to a group, editing the binding again needs a factory reset with the join window open. Before binding a remote to a light, decide whether you want it to work when Home Assistant is down (binding does) or to go through automations (it does not).

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.
Habits that help
  • 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.
Discussion: have you moved bulbs from the IKEA gateway to Zigbee2MQTT or Matter? What tripped you up, and which models were the fussiest?
Post Reply

Return to “Ikea TRÅDFRI Discussion”