Safe update Sonoff Zigbee dongle plus "Z-stack coordinator firmware"

Hi I am using sonoff zigbee 3.0 usb dongle plus with my HA and 40 zigbee devices. I would like to update firmware to latest Z-Stack_3.x.0 coordinator 20221226 form Koenkk. I don’t wanna lose paired device what is the best and safe way?

Stop Zigbee2mqtt, update firmware, start Zigbee2MQTT

2 Likes

I do not get it what you said! Your answer is to simple.

OK I can make something like that: Creat backup: ha > z2m > tools to json. Update firmware using Texas Instruments Flasher. Restore “I do not know how” jason backup in case of troubles.

I found your answer in different topic. If I use latest z2m higher than 1.20 it should not be any issiue after dongle firmware update. That means now all settings are stored in z2m?

Zigbee2mqtt stores the nvram if stopped, and restores it when started again (indeed, since 1.20, but that version is really old). So it is that simple.

Always the same procedure restores setting during ha reboot/start or z2m reboot into dongle memory?

When z2m is started. z2m does not know when HA restarts.

In your initial post you mentioned Zigbee, the answers all started talking about Z2M. Which are your devices running on?

There is a May 2023 update, just released. It’s file is:
CC1352P2_CC2652P_launchpad_coordinator_20230507.hex

It can be found here:
Latest Sonoff 3.0 Zigbee firmware

See

https://community.home-assistant.io/t/iteads-sonoff-zigbee-3-0-usb-dongle-plus-model-zbdongle-p-based-on-texas-instruments-cc2652p-20dbm-radio-soc-mcu/340705

and

https://community.home-assistant.io/t/itead-s-sonoff-zigbee-3-0-usb-dongle-plus-v2-model-zbdongle-e-based-on-silicon-labs-efr32mg21-20dbm-radio-soc-mcu/442695

There are two different “sonoff zigbee 3.0 usb dongle plus” models; ZBDongle-P & ZBDongle-E, which? Note that if you have ZBDongle-E model (a.k.a. Dongle-E) then that is the wrong firmware for it. Read:

https://community.home-assistant.io/t/iteads-sonoff-zigbee-3-0-usb-dongle-plus-model-zbdongle-p-based-on-texas-instruments-cc2652p-20dbm-radio-soc-mcu/340705

and

https://community.home-assistant.io/t/itead-s-sonoff-zigbee-3-0-usb-dongle-plus-v2-model-zbdongle-e-based-on-silicon-labs-efr32mg21-20dbm-radio-soc-mcu/442695

Are you using ZHA (Zigbee Home Automation) integration or Zigbee2MQTT (a.k.a. Z2M)?

Regardless, you need to manually stop or disable the Zigbee gateway solution before doing anything.

ZHA integration supports automatic backup + restore for both ZBDongle-P & ZBDongle-E so no issue.

Zigbee2MQTT only support automatic backup + restore for ZBDongle-P so if it is a ZBDongle-E then recommend do a manual backups with zigpy-cli and be prepared to restore it if upgrade wipe config:

https://github.com/zigpy/zigpy-cli

That is assuming that using Zigbee2MQTT and not the ZHA (Zigbee Home Automation) integration, and this forum was at least initially only about the native ZHA integration which third party integrations like Zigbee2MQTT use the forum for third party integrations (because as far as Home Assistant known Zigbee2MQTT communicate using MQTT) → https://community.home-assistant.io/c/third-party/15

It is also assumed that he has the ZBDongle-P model and not the ZBDongle-E model. Zigbee2MQTT does not currently support automatic backup for Silicon Labs based adapters → https://github.com/Koenkk/zigbee-herdsman/issues/319

No offence meant. I use both ZHA and Zigbee2MQTT myself, though I would not just assume that everyone posting in this subforum uses ZHA and Zigbee2MQTT as many do not consider this.