Pairing IKEA Tradfri White Bulbs

I’m struggling to pair my Ikea Tradfri bulbs with my gateway. When I scan the bulbs are never found. These are the only Zigbee devices I have; an Arduino/IotWebConf piece of hardware I’m working on is fine and works well.

I’m running a Pi4 with version 0.10.0 gateway and the Conbee II adapter. The bulbs work with the Ikea remote and I’m certain I’ve reset the bulbs back to factory configuration; there was definitely a flash at the end of the switch-on/switch-off process and they no longer respond to the remote.

There’s nothing much I could see in the logs other that a “Permit Join: 0” flag which I wondered about. Here’s the relevant section(s):

2020-01-20 07:36:19.622 INFO   : zigbee: this.driver = DeconzDriver {}
2020-01-20 07:36:19.625 INFO   : zigbee: DeconzDriver: Using serial port /dev/ttyACM0
2020-01-20 07:36:19.637 INFO   : zigbee: DeConz Firmware version: 264a0700
2020-01-20 07:36:19.671 INFO   : zigbee: Kicking WatchDog for 3600 seconds
2020-01-20 07:36:19.689 INFO   : zigbee:          MAC Address: 00212effff04dd9f
2020-01-20 07:36:19.691 INFO   : zigbee:      Network PANID16: 237e
2020-01-20 07:36:19.693 INFO   : zigbee:       Network Addr16: 0000
2020-01-20 07:36:19.694 INFO   : zigbee:      Network PANID64: 00212effff04dd9f
2020-01-20 07:36:19.695 INFO   : zigbee: APS Designated Coordinator: 1
2020-01-20 07:36:19.697 INFO   : zigbee:        Scan Channels: 02000000
2020-01-20 07:36:19.698 INFO   : zigbee:          APS PANID64: 0000000000000000
2020-01-20 07:36:19.700 INFO   : zigbee:  Trust Center Addr64: 00212effff04dd9f
2020-01-20 07:36:19.701 INFO   : zigbee:        Security Mode: 3
2020-01-20 07:36:19.703 INFO   : zigbee:          Network Key: a45c769b18413ad3cc4adefcbb91ff00
2020-01-20 07:36:19.704 INFO   : zigbee:    Operating Channel: 25
2020-01-20 07:36:19.705 INFO   : zigbee:     Protocol Version: 267
2020-01-20 07:36:19.707 INFO   : zigbee:    Network Update ID: 0
2020-01-20 07:36:19.708 INFO   : zigbee:          Permit Join: 0
2020-01-20 07:36:19.709 INFO   : zigbee:         WatchDog TTL: 3600
2020-01-20 07:36:19.711 INFO   : zigbee:              Version: 264a0700
2020-01-20 07:36:19.713 INFO   : zigbee: ZigbeeNode created: addr64: 00212effff04dd9f addr16: 0000
2020-01-20 07:36:19.714 INFO   : zigbee: ----- Scan Starting -----
2020-01-20 07:36:19.716 INFO   : zigbee: ----- Nodes -----
2020-01-20 07:36:19.717 INFO   : zigbee: Node: 00212effff04dd9f 0000 Name: zb-00212effff04dd9f-Dongle       rebindRequired: true endpoints: []
2020-01-20 07:36:19.718 INFO   : zigbee: -----------------
2020-01-20 07:36:19.719 INFO   : zigbee: ----- Scan Complete -----
2020-01-20 07:36:19.722 INFO   : zigbee: ----- Nodes -----
2020-01-20 07:36:19.723 INFO   : zigbee: Node: 00212effff04dd9f 0000 Name: zb-00212effff04dd9f-Dongle       rebindRequired: true endpoints: []
2020-01-20 07:36:19.724 INFO   : zigbee: -----------------
2020-01-20 07:36:19.725 INFO   : zigbee: ----- Update Network Addresses Complete -----

and

2020-01-20 07:55:51.733 INFO   : Opened a new things socket
2020-01-20 07:55:51.945 INFO   : About to call startPairing on ThingURLAdapter
2020-01-20 07:55:51.946 INFO   : About to call startPairing on ZigbeeAdapter
2020-01-20 07:55:51.950 INFO   : zigbee: Pairing mode started, timeout = 60
2020-01-20 07:56:51.950 INFO   : Pairing timeout
2020-01-20 07:56:51.952 ERROR  : Thing was not added
2020-01-20 07:56:51.953 ERROR  : addNewThing cancelled
2020-01-20 07:56:51.955 INFO   : thing-url: Adapter: ThingURLAdapter id thing-url-adapter pairing cancelled
2020-01-20 07:56:51.956 INFO   : zigbee: Cancelling pairing mode

Any suggestions would be appreciated (and hopefully I’ve formatted the log text correctly).

Probably the same issue: https://github.com/mozilla-iot/zigbee-adapter/issues/173

Thank you @mstegeman. That will definitely be it as my bulbs also dim momentarily after the reset, not flash brighter like is seen on the videos.

Some final observations regarding this (and it’s mainly driven by the cost of things here in Australia).

  1. The Tradfri gateway is $AU49. I’ll get one in the hope that using the gateway adapter from @tim-hellhake will allow me to control up to 10 bulbs. The bulbs are going for $AU15 vs the Hue Extension Bulb for $AU21.
  2. The Hue Starter Kit doesn’t make much sense to me at $AU144 for 2 bulbs (presumably $AU21 separately), a Bridge ($AU89) and a power adapter. Still comes with a 10 bulb limitation.
  3. It seems like another viable option would be as many Hue extension bulbs as I like at $AU21, one remote (dimmer) to factory reset at $AU35. Is there a 10 bulb limitation here if they’re controlled directly by the gateway?
  4. Other hardware I’m developing will be controlled by ESP8266/32 and my rewrite of the Arduino IotWebConf library. This is a work in progress that I’ll release when I think it’s good enough for scrutiny.

I’m really looking for an extensible lighting solution that I can start with plain white bulbs and move to ambient later, without having to sign up to manufacturer gateways/accounts etc.