Sonoff Dongle Plus MG24 - change IEEE to migrate (zigbee2mqqt)

Upgrading the Sonoff Dogle-e to the new Dongle Plus MG24 is an obvious option if you need more RAM and ROM for your >100 devices like me. The most difficult part was the migration of the IEEE of the old dongle. Here how I did it on windows (HA is on a VM on a Qnap NAS)

After getting and writing down the IEEE of the old dongle of the running system in HA (open zigbee2mqtt → settings gear → about → Coordinator IEEE Adresse) follow the next steps:

  1. first you can flash the latest zigbee firmware on the sonoff dongle flasher site
  2. install python if you do not have it, do not forget to check the “add python path” in the installer
  3. start a cmd window as administrator and install silabs flasher in python by
pip install universal-silabs-flasher
  1. connect stick once again and check the COM port of it in device manager of windows (you need the drivers from here if you do not have it already)
  2. run this command in cmd to write the IEEE of the old stick, replace xxxxxxxxx (without 0x at the beginning) with the desired one, same goes to the COM port
python -m universal_silabs_flasher --device COM6 write-ieee --ieee xxxxxxxxxxxxxxxx

Now you can make the swap.

  1. stop the zigbee2mqtt addon
  2. unplug the old dongle and plug in the newly cloned MG24 (if in VM, don´t forget to forward it to the VM)
  3. check the port in Home assistant: system → hardware → all hardware → scroll down to the ttyUSB section and copy the mount path of the dongle like “/dev/serial/by-id/usb-SONOFF_SONOFF_Dongle_Plus_MG24_xxxxxx…” or similar
  4. go to zigbee2mqtt addon and configuration page, edit it in yaml and replace the path with the new one.
  5. start zigbee2mqtt