ZHA or CC2531 crashing HA - how to upgrade/migrate Zigbee coordinator?

This looks promising: zigpy-znp/TOOLS.md at e6e2c42981c8a04303db6d28ef503a6b0778d667 · zigpy/zigpy-znp · GitHub

Here is what I have done so far:

  1. Connected CC2531 to my Mac
  2. Identified the device in /dev/ - in my case it is called /dev/tty.usbmodemXX where the XX changes each time I connect the CC2531
  3. Installed zigpy_znp (pip3 install zigpy_znp)

I could then use the zigpy_znp commands to get a network backup from the CC2531. According to the doc linked to above, I can then restore this to the CC2652 as it is in Open Coordinator Backup Format.