Z2M Can't add more devices. How to debug?

Hi!
First of all, I already have ordered a new dongle with CC2652P chip. But I would like to know what’s going on here.
I’m currently using CC2531 dongle and I have exaclty 20 devices, but not all direct connected to my coordinator, only 4 directly connected.
The problem is that I can’t connect any devices to network, either on coordinator or any other router in network. Why? And how to debug this?
I’ve already set log to ‘debug’, but nothing related to pairing is displayed there, only ‘normal’ logs.
Also, the devices that I’m trying to join the the same that I already have, including one DIY flower sensor that I’ve build and burned the firmwate (that’s why I’m sure I’m using the same firmware that is working with another device already joined network).

Another thing that I have noticed is that my coordinator is not displayed anymore in ‘join’ select box, only other routers. I’ve tried with one specific router and with “All”, same results: nothing on z2m, not even an error while trying to join.

Coordinator type: ZStack12
Coordinator revision: 20180507
Z2M version: 1.20.0-dev commit: cd033c8

My network:

Upgrade firmware. From the changelog :

20201127/20201128

    Fix join failing after some uptime
    Support PGC410EU
    Fix incorrect route usage with source routing firmware

And while you are at it, use the source routing firmware.

Updated as recomended, with source firmware. Still the same problem, cant add more devices :frowning:
Theres something else happening. I have build a third device ( flower sensor) using exactly same firmware, cant join, no error at all. But testing in another setup ( with only this device), it works…so the device is ok.

Why does my device not or fail to pair? #

This problem can be divided in 2 categories; no logging is shown at all OR interview fails.

No logging is shown at all #

  • Make sure joining is enabled by setting permit_join: true in the configuration.
  • There can be too much interference, try connecting the coordinator USB through an USB extension cable. This problem occurs a lot when used in combination with a Raspberry Pi 4.
  • If you are using a Raspberry Pi, try disconnecting any other USB devices. If after that pairing works, try connecting the USB devices via a powered USB hub.
  • Make sure that any other Zigbee networks/hubs are powered down. When you e.g. want to pair an IKEA bulb which was first paired to the IKEA gateway make sure to power down the IKEA gateway. If that doesn’t help also try powering down all devices that are connected to the IKEA hub.
  • If it’s a battery powered device, try replacing the battery.
  • You’ve hit the device limit of the coordinator, especially occurs when using the CC2531 or CC2530 in combination with the source routing firmware. Try reflashing the coordinator and immidiately pair the device after starting Zigbee2MQTT.
  • Try pairing the device closer to the coordinator.
  • If it’s a battery powered device, try replacing the batery with a new one.
  • CC2531/CC2530 coordinator only:
    • Stop Zigbee2MQTT, unplug the coordinator, wait 10 seconds, plug the coordinator, start Zigbee2MQTT and try to pair the device again.
    • If none of the above helps, try to reflash the coordinator (does not require repairing of already paired devices).

Interview fails #

  • Try pairing the device closer to the coordinator.
  • There can be too much interference, try connecting the coordinator USB through an USB extension cable. This problem occurs a lot when used in combination with a Raspberry Pi 4.
  • If it’s a battery powered device, try replacing the battery. Try to keep the device awake by pressing the button of the device (if any) every 3 seconds.
  • Try repairing the device again for 2 or 3 times.
  • This might be a Zigbee2MQTT bug, Create a new issue with the zigbee-herdsman debug logging attached to it. How to enable zigbee-herdsman debug logging.
  • If device joins with 0x000000000000000 as ieeeAddress (you will see: Starting interview of '0x0000000000000000' in the Zigbee2MQTT log) your CC253X might be broken. See issue #2761.
  • In case the device is a bulb, try resetting it through Touclink
  • Try pairing close to a bulb (light) router instead of the coordinator.