Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.22k stars 1.69k forks source link

Unable to pair devices with CC2652RB #14049

Closed martinushm closed 1 year ago

martinushm commented 2 years ago

What happened?

Spent about a weeks worth of time now trying to get Zigbee working so some help would be much appreciated. As my old setup stopped working out of nowhere, I started anew with a reinstall of HA on my RPI and with a new Zigbee coordinator (CC2652RB).

First I experienced '502 bad gateway error' for Z2M, which I fixed by changing 'localhost' in the 'server: mqtt://localhost:1883' to the IP-address (don't know why). Now Z2M is working without errors in the log, but I am unable to pair any device. I tried touchlink since I have Philips hue bulbs, but this caused the CC2652RB to crash. I fixed this by updating the firmware to the latest dev version 20220726. Now touchlink does not crash the coordinator, but the inability to pair devices remains.

Everything is up-to-date, there are no logs showing issues. I've read some similar threads about this and tried all the provided solutions - but no luck.

What did you expect to happen?

When pairing is initiated for the interview process to begin and the device to join the network as visible in the Z2M frontend.

How to reproduce it (minimal and precise)

  1. Enable joining
  2. Put device in pairing mode
  3. See nothing happen

Zigbee2MQTT version

1.27.2

Adapter firmware version

20220726

Adapter

Slaesh's CC2652RB stick (with USB-cable)

Debug log

Archief.zip

Koenkk commented 2 years ago

Did you migrate from a CC2531 -> CC2652RB without repairing all devices?

martinushm commented 2 years ago

Yes, but did a full reinstall of HA afterwards.

Koenkk commented 2 years ago

A reinstall of HA doesn't matter, if you did not repair all your devices after migrating from CC2531 -> CC2652RB I suggest to do this.

martinushm commented 2 years ago

I might have misunderstood what you mean with 'repairing all devices'. Do you mean 'to re-pair', as in 'pair again'; or 'to repair', as in 'fix something that's broken'?

If you are talking about the former, I don't understand how that would be possible - since I am unable to pair devices now.

I have however followed the procedure here: https://www.zigbee2mqtt.io/guide/faq/#how-do-i-migrate-from-one-adapter-to-another, still no change.

Koenkk commented 2 years ago

I mean pair again. Does the device pair when you hold it very close to the coordinator?

martinushm commented 2 years ago

It does not. I tried it with multiple different smart devices, including an Aqara temperature/humidity sensor that I can hold very close to the coordinator.

Koenkk commented 2 years ago

Then I suggest to power down all Zigbee routers and try to pair again. If that doesn't help, reflash your coordinator, remove your coordinator_backup.json and do a full re-pair (all devices)

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

martinushm commented 2 years ago

Currently very busy, will attempt to fix this later.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

martinushm commented 1 year ago

Been giving this another crack after updating to the new versions of HA and Zigbee2MQTT. I have now been able to pair one Aqara sensor, which gives accurate data and works. For some strange reason I cannot pair others of the same model (or any other device for that matter).

I am currently trying to pair Philips Hue bulbs, which I am able to connect with via TouchLink and then factory reset. I also factory resetted bulbs by using the hue dimmer switch (holding on and off button 10 seconds while close to bulb). Weirdly enough, after the factory resetting and permit join on they do not show up. Also tried unplugging and plugging again while searching, but to no avail.

Any suggestions would be much appreciated.

martinushm commented 1 year ago

Solved by switching the zigbee channel to 25. Issue probably caused due to interference on channel 11 with old devices and my wifi router.