Zigbee2mqtt coordinator upgrade. How to backup/restore devices

YES! No re-pairing! :joy:

1 Like

What device did you come from ?

Same device (Tube’s USB coordinator) just up’d the firmware.

Ok, new firmware on same device has never needed repairing.

1 Like

Was unsure.

Here we go, I found a few minutes earlier this evening. :smiley:

  • I stopped Z2M (addOn) and disabled “start at boot” and “watchdog”
  • shut down the rPi (just in case and I don’t like hot swapping)
  • pulled the old dongle (CC2531)
  • pushed the new one (Slaesh) in a different USB port
  • started the rPi
  • waited a few minutes, so HA was def. fully started
  • checked and changed the new USB port in Z2M config
  • started Z2M
  • waited a few minutes (read = felt hours, were seconds)
  • opened Z2M dashboard and checked
    • most devices were already there and online
    • just a few were kind of missing (eg showed up on the map, but weren’t connected in the map = no lines)
    • tried a new interview with one of them, didn’t change anything
    • no errors up to this point, whether in Z2M log, nor in HA log(s)
  • thought it is a good time to take a small walk with our puppy
  • came back after around half an hour and TADA :partying_face: :partying_face: :partying_face:
  • everything is working, reporting correct, is found on the map

So, to sum up: yep, the new “upgrade feature” works like a charme :smiley: Needless to say, always do a backup first. If you have one, you won’t need it, if you have none, you’ll want it! :wink:

3 Likes

Thanks for the information.

Thanks for the information. I have couple of questions though.

  1. Is there any reason why you plug to other USB port other than the previous zigbee stick port?
  2. Are you using USB 2.0 or USB 3.0 port?

Nope, no specific reason to change the USB port, I just thought, it might be giving trouble and I had one unused left, why not change. Normally it shoudn’t matter, as long as the port is correctly configured in Z2M.

I used the USB2.0 ports on the rPi4, for the old and new dongle. :slight_smile:

1 Like

I just tried to upgrade my CC2531 stick to CC2652P today by following your instructions. Unfortunately, my zigbee devices doesn’t joining to the new stick. How long does you have to wait actually for the device to join to the new stick?

Also, when I plug back my old CC2531 stick, all the devices rejoin instantly.

Regarding the pan_id, are you saying the zigbee2mqtt will actually update pan_id by itself when starts with the new stick? My pan_id is 6754 and when I notice it didn’t change when I start the zigbee2mqtt with the new stick. According to zigbee2mqtt doc, it seems we have to increment the pan_id when moving to new stick. Can you please confirm?

Thanks.

hello @nonyhaha, @francisp and everyone,

anybody can help me verify whether after upgrading the zigbee stick, one’s network is on 3.0?

thanks!

if your coordinator is zStack3xx, you’re on Zigbee 3

image

thanks a lot @francisp !! that is precisely what I see, however I can’t seem to be able to pair the few zigbee 3.0 devices that I have. I created an issue with z2M in github and I hope I will be following it up with Koenkk soon.
If you have the time, your feedback would be great: Lidl smart plug HG06337 not detected · Issue #6714 · Koenkk/zigbee2mqtt (github.com)

What Zigbee2MQTT version are you on ?

the latest

I can only offer my troubleshooting way with pairing issues :

  • restart Zigbee2MQTT
  • immediately after the restart pair very close to the coordinator.

Will try that leter when I’m back home. I do the pairing sitting next by the coordinator, but I will restart the add-on first!! :slight_smile:

Im having the same issue. Did you end up getting yours to work? or did you end up having to re-pair?

If you are using the latest zigbee2mqtt (>1.21.0), it will auto backup all the zigbee devices when you stopped the addon and it will load the configuration into the new stick.

I didn’t re-pair my zigbee devices. All the zigbee devices will re-join and it will take little longer at the first time. So just need to be patient. Also, the new CC2652P draw more current than the CC2531, so you have to make sure you are using a decent power supply. Or put the CC2652P stick into USB powered hub.

Thanks for the fast reply. I believe I have done all of this, and after 20 minutes the devices still arent connected. I am coming from a CC2531 running 1.2 firmware and going to the sonoff zibgee stick 3.0 which is CC2652P, which i have flashed with CC1352P2_CC2652P_launchpad_coordinator_20210708. Z2M is running version 1.22 and there are no errors in the log other than when I try to turn a light off and it times out on receiving a signal.

In your first post you mentioned that it didnt work, was it just a case of waiting?