-
Notifications
You must be signed in to change notification settings - Fork 292
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
Z-Stack 1.2 Backup & Restore #395
Conversation
Awesome work! Is there somewhere a howto convert from an existing CC2531 coordinator to e.g. slea.sh's CC2652RB? |
Found it myself thanks to the Discord channel and it worked!! 🥇 🥳 😎 🏆 |
@friebi You basically don't need to do anything. Properly shutdown z2m, remove the stick, put in the new stick (freshly erased and flashed) and start z2m. The backup should be restored onto new stick. |
@castorw Thanks for the answer! So that means the above process is already part of z2m startup if it detects a new coordinator (change the serial port in configuration.yaml of course)? Awesome! |
@castorw sorry if I was confusing. Yes, it is part of the latest z2m releases and that's why it got my attention. |
I can confirm this is in 1.21.0 indeed (see changelog: https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.21.0) |
Hi, I'm upgrading the my cc2531 to cc2652p stick. My zigbee2mqtt is the latest version. I follow the instructions from @castorw, but my zigbee devices doesn't seem to join back. The zigbee2mqtt is able to start and I did change the USB path in the configuration but I didn't change the pan_id. The pan_id was 6754. |
@ykcheow I did not change the pan_id and as far as I understood you'll definitely have to repair all your devices if you do. |
@friebi As I understand from the latest zigbee2mqtt release of v1.21.0, we don't have to re-pair all the devices if we are changing the cc2531(firmware not the latest) to cc2652p (with latest firmware). I'm confused with pan_id changes. |
I didn't have to repair all devices and I didn't change the pan_id. All I did was a manual backup and restore of the network, changing the serial port in the configuration and it worked. |
I have tested the new CC2652p stick at another HA which is dev. environment and it appears the stick is working good. I can pair motion sensor and the sensor is reporting the state correctly. So the new hardware is not a problem. Here are some additional info,
Thanks in advance. |
What do you see in the log when controlling devices after migrating to the CC2652p ? If you see errors like |
I can confirm the zigbee2mqtt v1.21.0 can migrate from cc2531 to cc2652p with the need of re-pairing all the devices. My problem is on the my HA RPi that's running with SSD. I suspect the USB does not have enough power for the cc2652p stick and causing the issue. And I still have no solution yet. I've verified the stick is actually working at another dev HA RPi which is running with SD card. |
Common problem, try connecting the SSD or stick through a powered usb hub |
Hi there @castorw Could you or anybody confirm whether zigbee 3.0 will be supported when running 1.21 on a CC2531 without the need of repairing thanks to this PR? Does one need to do any manual step? Any place I can read up what the instructions are? Thanks! |
Hi,I only change the port and all devices are working but when try parking news devices,the log dont show nothing and no paring |
Hey guys, I just tried to flash my sonoff coordinator to latest version as I was one behind. I had understood that everything was supposed to be automatic now so I just flashed the new version. Except that when I start z2m I don't have any device now 😅 ... I'm sweating a bit with 80 devices I've got, including some in my walls (for controlling the lights). It'd be massively painful to repair everything... I guess I should've gone with the safe way of doing a backup first, rookie mistake 🤦♂️ Any hope I can get it to work fine as before knowing that I do have my file |
I experienced multiple times, after a power failure, the database was empty. By restoring a backup of the database I almost always were able to recovery all devices. |
Hey thanks for the answer @reneklootwijk. I've got it working by doing just that but I had an unfortunate queue of events that nearly put me down with no working backups 😓 ... Anyway I've opened an issue here: Koenkk/zigbee2mqtt#15868 (comment) if you want to follow along as I think even though having backups is important, having the DB being dropped is a real issue |
Koenkk/zigbee2mqtt#11759 is related |
Tis PR adds ability to backup Z-Stack 1.2 adapters and restore them on newer Z-Stack versions:
Addressing Koenkk/zigbee2mqtt#6714.