Migrating from my HA Blue using Sonoff’s ZBDongle-P and Zigbee2MQTT as well as MariaDB failed.
I turned OFF the MariaDB add-on as suggested, performed a full backup, restored backup onto Yellow unit and MariaDB refuses to start. I could not get the Zigbee2MQTT add-on to see the new Zigbee module. I even tried the settings noted below:
data_path: /config/zigbee2mqtt socat: enabled: false master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777 slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5 options: "-d -d" log: false mqtt: base_topic: zigbee2mqtt serial: port: /dev/ttyAMA1 baudrate: 115200 rtscts: false adapter: ezsp
Found on Reddit
No luck, then tried plugging in the Sonoff dongle and updated its ID in the configuration and a bunch of messages showed up, but failed to start Zigbee2MQTT.
Also, I could not figure out why MariaDB refused to start.
BTW: I did set the Yellow to the same Static IP address as the HA Blue unit was set to and I did shut down the Blue and unplugged it during the migration.
I have gone back to the Blue for now and will have to restart the Yellow to capture the logs for MariaDB and Zigbee2MQTT.
Very disappointed that this was not a smooth process or that there is not a step-by-step process to successfully migrate these over…
At this point I’m willing to give up and start over with adding all my 40+ Zigbee units to the new Yellow, but I would rather use Zigbee2MQTT on the Yellow.
Still, however, need MariaDB to startup after the migration.