Unable to pair IKEA Tradfri bulbs with ZHA using Sonoff ZBBridge

I can’t get my IKEA Tradfri lights to pair with my ZHA instance. I’ve been able to setup zigbee sensors using ZHA successfully, a couple of Sonoff and Tuya sensors. I have been able to pair the light bulbs to the original IKEA gateway. So I know the lightbulbs are working correctly. I’ve then reset them into pairing mode.

Logs - when I try to add a light bulb device

[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
[0xb4a4:1:0x0405] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=77 command_id=Command.Report_Attributes>
[0xb4a4:1:0x0405] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=5450>)]]
[0xb4a4:1:0x0405] Attribute report received: measured_value=5450
[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
[0xb4a4:1:0x0402] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=78 command_id=Command.Report_Attributes>
[0xb4a4:1:0x0402] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=int16s, value=1845>)]]
[0xb4a4:1:0x0402] Attribute report received: measured_value=1845
[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
[0x5461:1:0x0001] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=234 command_id=Command.Report_Attributes>
[0x5461:1:0x0001] ZCL request 0x000a: [[Attribute(attrid=32, value=<TypeValue type=uint8_t, value=32>)]]
[0x5461:1:0x0001] Attribute report received: battery_voltage=32
[0x5461:1:0x0001] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=235 command_id=Command.Report_Attributes>
[0x5461:1:0x0001] ZCL request 0x000a: [[Attribute(attrid=33, value=<TypeValue type=uint8_t, value=200>)]]
[0x5461:1:0x0001] Attribute report received: battery_percentage_remaining=200

My hardware setup

  • IKEA tradfri gateway — I have some other IKEA lights paired to this still.
  • IKEA tradfri wireless dimmer switch
  • Sonoff ZBBridge flashed with tasmota and setup with ZHA as an integration in Homeassistant.

What I’ve tried so far

  • Tried moving the Sonoff ZBBridge closer to the lightbulb, within 30-40cm.

I’ve seen these posts, but unable to get their solutions to work

Bump. I’m still unable to pair my IKEA bulbs with ZHA. Can anyone help?

I have a sonoff flashed ZBBriidge and I also do not success into pairing a Tradfri bulb and ZHA.

I’m not sure what to say but I managed to get all of mine paired. Try putting the device in pairing mode while the scan is running on the ZHA side.

I have one ikea light as well, that i cannot get to respond with my sonoff zbbridge. Log seems pretty similar. I’m able to pair it with a ikea remote control, but not with hassio through ZHA.

0xb20d:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=74 command_id=66>
[0xb20d:1:0x0006] ZCL request 0x0042: [0, 1800, 0]
[0xb20d:1:0x0006] No handler for cluster command 66
[0xB20D:1:0x0006]: received 'on_with_timed_off' command with [0, 1800, 0] args on cluster_id '6' tsn '74'
[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
[0x274d:11:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=96 command_id=Command.Report_Attributes>
[0x274d:11:0x0000] ZCL request 0x000a: [[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=66>)]]
[0x274d:11:0x0000] Attribute report received: app_version=66

I resolved the original issue in the end. The mistake I was making, was that I wasn’t fully resetting the bulbs correctly. I think the instructions to reset them are slightly confusing. However, re-read the instructions, I think it was 6x on-off switches, the light needs to be turned on to begin with. You’ll know when the light is in the correct pairing mode because it flashes on and off like a heartbeat continuously (from what I remember).

1 Like

Yes, pairing mode is hard to find at times.

My Lidl lights have this weird pattern.
start with power_on:
(2s power_off following with 0.2s power_on)*3 is hard for the brain after pairing ikea lights with fast on/off.

This light of mine i have been able to connect earlier. I manage to get all the other lights pair just fine, but this one light i can not get to pair anymore. It works just fine with ikea’s own switch, but not with the ZHA/hassio anymore.
Maybe it has something to do with the app_version.

I just left it out of my setup for now.

Guys I would like to ask a question about these Ikea bulbs.

I am interested to buy but I see in the description that they support 2200K, 2700K and 4000K.

When paired with zdbridge can you adjust the chromaticity on other kelvin values?

I would like to have about 3500K. The builds I am interested to buy are these ones:

Thanks