zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Cannot pair new devices after removing others

Open glentakahashi opened this issue 8 years ago • 13 comments

I hit the 16 device limit, but even after successfully removing some devices from the network, I still cannot pair any other devices. I can re-add the same devices I just removed just fine, however new devices (xiaomi temperature sensors, switches, door sensors, etc.) cannot be paired. After re-flashing the entire stick I can re-add new devices again, however this was the only way I could get it to work.

This seems to be the exact same symptoms that @blakeblackshear was hitting in https://github.com/Koenkk/zigbee2mqtt/issues/308 as well

glentakahashi avatar Sep 13 '18 01:09 glentakahashi

That is correct. I experienced the same behavior. I reflashed, added some bulbs that serve as routers first, and then added my other devices successfully.

blakeblackshear avatar Sep 13 '18 01:09 blakeblackshear

@glentakahashi my understanding is that the device limit is hardware based (the memory of the cc2531) so reflashing as @blakeblackshear says is the only way

Sent with GitHawk

ryanbeaton avatar Sep 16 '18 14:09 ryanbeaton

Is there no way to tell the cc2531 to purge those slots from its memory without doing a whole reflash?

glentakahashi avatar Sep 16 '18 16:09 glentakahashi

What kind of devices did you remove?

It is a known issue that battery powered devices are not correctly removed due to sleeping.

Koenkk avatar Sep 16 '18 19:09 Koenkk

Ah yea, they were definitely battery powered. Door sensors and buttons were what I removed.

glentakahashi avatar Sep 16 '18 20:09 glentakahashi

Same issue here. Removing xiaomi battery driven sensors seems to work oke. But when trying to re-pair them they just don't show up. Whilst new device pop up almost instantly.

Is there another workaround possible other then reflashing the cc2531?

ABeumer525 avatar Sep 22 '18 07:09 ABeumer525

I'm sure of it now. I just added a 14th device to the cc2531 and now I get unsuccessful 17 error. So the cc2531 is full. With 2 to spare.

I reckon they are still paired, just not visible in the zigbee2mqtt config and database.

Is there anyway to do a remove failed node procedure? Because it would beat the alternative of reflashing the cc2531 (and repairing all those perfectly placed sensors).

ABeumer525 avatar Sep 22 '18 07:09 ABeumer525

With the new branch today pairing works like a charm! Thank you very much;-)

123trs avatar Sep 23 '18 16:09 123trs

@123trs Can you elaborate for people reading this issue? Which branch are you talking about? What did you do in terms of steps to get it working?

ciotlosm avatar Sep 27 '18 13:09 ciotlosm

I'm sure of it now. I just added a 14th device to the cc2531 and now I get unsuccessful 17 error. So the cc2531 is full. With 2 to spare.

I reckon they are still paired, just not visible in the zigbee2mqtt config and database.

Is there anyway to do a remove failed node procedure? Because it would beat the alternative of reflashing the cc2531 (and repairing all those perfectly placed sensors).

I have the same issue, I Think.

I have Xiaoi Aqara Temp/Hum/Pressure sensor that I removed through MQTT topic; then added again. It shows up in configuration.yaml / database.db but messages aren't received/processed through zigbee2mqtt. When trying to re-pair the device zigbee sheppard says the device is allready known. Where should I start searching in the sourcecode to fix this?

basmeerman avatar Sep 30 '18 20:09 basmeerman

data/database.db but I think you find it already :-)

lolorc avatar Oct 01 '18 09:10 lolorc

Thanks :-) Fixed it, see: https://github.com/Koenkk/zigbee2mqtt/issues/350#issuecomment-425838001 (for future reference).

basmeerman avatar Oct 01 '18 09:10 basmeerman

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 15 '18 19:12 stale[bot]