Koenkk / zigbee2mqtt

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

network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby since I upgradesd my Sonoff dongle CC2652P again to 20240710 #23730

Open Nardol opened 2 months ago

Nardol commented 2 months ago

What happened?

I already updated to 20240710 durring test phase but thought firmwares could be different so I flashed again by downloading the firmware from the release page today. But since I upgraded, Zigbee2MQTT fails to start. I also tried to downgrade, and tried also with my old ZZH after updating because without update I had a ping timeout after 6000MS, unfortunately everytime with same result. I also tried another USB port, another USB extension cable but without success. Only solution I think about requires pairing again but I don't understand why it happens since it just worked before. I have changed the Zigbee channel to 25 with success but since I also restarted Zigbee2MQTT after Node update it worked, only today this issues started.

What did you expect to happen?

I expected that as usually, Zigbee2MQTT start again successfully.

How to reproduce it (minimal and precise)

Update twice to 20240710

Zigbee2MQTT version

1.39.1 (commit #e132316a)

Adapter firmware version

20240710

Adapter

Sonoff dongle P if I make no confusion with names

Setup

Plein on an Odroid N2+ under Raspbian

Debug log

zigbee2mqtt_2024-08-24.22-55-24.log

emillassen commented 2 months ago

I'm experiencing the same error after upgrading a tubeszb-cc2652p7-poe-2023 running CC1352P2_CC2652P_launchpad_coordinator_20230507 to CC1352P2_CC2652P_launchpad_coordinator_20240710. Downgrading to 20230507 does not fix the issue, and a reinstallation of zigbee2mqtt does also not work.

log.log

Nardol commented 2 months ago

I've set the channel back to 20, the channel I changed from last week and Zigbee2MQTT starts successfully. I have not tested to switch again to channel 25 yet, just want to enjoy a functional Zigbee network again. FYI I have to configure again the binding for my Hue dimmer switch (324131092621) but could be more related to the fact I tried some other things before E.G. doing without coordinator_backup.json which could have break it.

@Koenkk if you are interested in some experiments to see what could have caused it I would be happy to help but until that I will not touch anything except my Hue dimmer switch.

Nardol commented 2 months ago

OK, in fact it is not the binding which does not work but nothing is really connected. Zigbee2MQTT started but nothing can be used at all, timeout are logged when switching something on/off.

To avoid spamming I edit this comment: I switched back to channel 25 and it looks everything is working again after a quick check.

Koenkk commented 2 months ago

Do you have the old coordinator_backup.json file? (from the data folder). If yes, re-flash your new dongle, put the coordinator_backup.json in the data directory and start z2m

Cyclone411 commented 2 months ago

I am running into this same issue with the same adapter on a brand new setup. I've redriven GENERATE multiple times in the hopes it helps, but still stuck. Similarly, upgraded, downloaded firmware, all to no avail. I opened a separate issue at https://github.com/Koenkk/zigbee2mqtt/issues/23751 to not clutter @Nardol 's thread.

AThomsen commented 1 month ago

I experience the same with CC2652R (zzh): upgrading from CC2652R_coordinator_20230507 to CC2652R_coordinator_20240710.hex gives the error.

I've tried flashing with the previous version (multiple times) and restoring coordinator_backup.json to a version from yesterday. I now simply can't get the network back up.

z2m: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby (Error: AREQ - ZDO - stateChangeInd after 60000ms


Follow up: I ended up assigning a new panId and spend the day repairing all my devices 🥵