Cannot pair new devices after removing others
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
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.
@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
Is there no way to tell the cc2531 to purge those slots from its memory without doing a whole reflash?
What kind of devices did you remove?
It is a known issue that battery powered devices are not correctly removed due to sleeping.
Ah yea, they were definitely battery powered. Door sensors and buttons were what I removed.
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?
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).
With the new branch today pairing works like a charm! Thank you very much;-)
@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?
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?
data/database.db but I think you find it already :-)
Thanks :-) Fixed it, see: https://github.com/Koenkk/zigbee2mqtt/issues/350#issuecomment-425838001 (for future reference).
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.