-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No device found after coordinator upgrade #15868
Comments
Ok eventually... I got it working. But it was quite a close call due to unfortunate event with my backups... Anyway, I'm pretty sure something went wrong the first time as I didn't erase the file manually with z2m, but somehow my database.db file got overridden. I do not have anything to prove this, so feel free to close the issue as I may honestly just be loosing my mind at this point. But I could swear I didn't touch the database file myself. So might be worth checking if somehow z2m might have written over it somehow after I flashed the coordinator 🤷 Unsure sorry! |
I'm apparently not the only one. See this: Koenkk/zigbee-herdsman#395 (comment) I know everyone should make regular backups but it's still a bit concerning IMO, hence why I'm keeping the issue open :) |
Z2M should not clear the database.db as long as the |
Yes for sure, I've got all the config files saved in my GIT, this file included and it didn't appeared as removed. Even when the database was empty I could still see |
Can you reproduce the issue? If yes, can you provide me the herdsman debug logging of this? See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable the herdsman debug logging. Note that this is only logged to STDOUT and not to log files. |
I'm afraid I won't be able to. Got back to work today so limited time for me and I only have 1 coordinator that I'd rather prefer not to mess up too much with, sorry. If that ever happens again though I'll do the herdsman debug. As I'm not helping meanwhile, feel free to close that issue if it's not possible to debug without a repro |
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 |
What happened?
Wanted to upgrade my SONOFF ZigBee 3.0 USB Dongle Plus, TI CC2652P Coordinator to latest firmware.
docker compose stop z2m
)git clone git@github.com:JelmerT/cc2538-bsl.git and cd cc2538-bsl
CC1352P2_CC2652P_launchpad_coordinator_20220219.zip
from https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/binwget
+unzip
the file abovecc2538-bsl.py
docker compose up -d
to start everythingExcept that now I do not have any device shown in z2m. Checked the logs and it says:
Zigbee2MQTT:info 2023-01-01 20:44:39: Currently 0 devices are joined
, nothing else really interesting.I've got 80 devices, including some in the attic, some behind my walls (to control lights and heaters). It'd be SO painful to have to pair them all again. I desperately hope there'll be a quick fix 🙏
What did you expect to happen?
I thought Z2M had a feature to automagically restore everything transparently after a coordinator upgrade.
Did I somehow misunderstood this? Is there anything else required?
How to reproduce it (minimal and precise)
Explained in first section
Zigbee2MQTT version
1.28.4-dev commit: 3481423
Adapter firmware version
20220219
Adapter
SONOFF ZigBee 3.0 USB Dongle Plus, TI CC2652P Coordinator
Debug log
The text was updated successfully, but these errors were encountered: