Migrate Zigbee Dongle with Zigbee2MQTT

I got a Zigbee Dongle with Ethernet, and here is my surprisingly effortless migration experience.

Migrate Zigbee Dongle with Zigbee2MQTT

I bought myself a new Zigbee Dongle, which works with ethernet and even POE, even if I do not have POE 😅

The SLIMLIGHT SLZB-06P7:

SLZB-06p7 Zigbee Ethernet PoE LAN USB WiFi Adapter CC2652P7 | Zigbee2MQTT | Home Assistant | SMLIGHT | SMLIGHT Official Homepage

My current dongle is a SONOFF Zigbee 3.0 USB Dongle Plus-P. The problem is, that the dongle is downstairs behind the TV where my Home Assistant Blue is running. I have 2 devices working as routers downstairs but none upstairs. So with the ethernet dongle, I could place that dongle upstairs, and my devices upstairs will hopefully not drop off the network all the time. This would allow me to move the Home Assistant Blue to a different location as well, when I want/need to.

After reading the Zigbee2MQTT, I realized I did not even need to repair all the devices! The Sonoff Dongle is a CC2652P chip and the new one has the CC2652P7, which is just a newer version. That sounds great!

Migrate with the IEEE address

For the migration, I have to copy the IEEE address of the old dongle to the new dongle. That process is described in the docs as well: Copying the ieee address of an adapter

You will get a value looking like this: 0x00124b0018e1afa8

Now you need to flash that with that number. But you need to reformat the number a bit. Just remove the 0x sections and add : after every pair of characters.

0x00124b0018e1afa8
00:12:4b:00:18:e1:af:a8

Converting the IEEE address to a mac address

Go to the interface of your SLZB-06P7 stick, put in the MAC address, and flash.

After a minute or two, the device should be back up.

Home Assistant

Now, I stopped my Zigbee2MQTT add-on and disconnected the Sonoff Dongle. Then, I powered down my routers (1 Phillips Hue bulb and an Aqara Pet Feeder).

🚨
The powering down of routers and the coordinator is important. At least, that is my feeling after doing a bit of research.

The web interface conveniently offers a copy-paste section for the Zigbee2MQTT add-on. When I restarted the add-on with the changed config, it crashed and the output still showed the old USB device path.

So, I had to edit the config configuration.yaml for that add-on directly. This is also stated in the copy-paste dialog:

# Pay attention, if you use the Z2M addon for HA, it is better to edit the yaml configuration file directly
serial:
# Location of SLZB-06P7
  port: tcp://192.168.178.134:6638
  baudrate: 115200
  adapter: zstack
# Disable green led?
  disable_led: false
# Set output power to max 20
advanced:
  transmit_power: 20

Zigbee2MQTT setting for SLZB-06P7

That was easy to do with the VS Code add-on.

After starting up the add-on, everything was up and running again.

Super happy with the migration!

Have a great day! 👋