Closed redlefloh closed 9 months ago
Use the migration feature in HA or zigpy-cli
.
zigpy-znp
is for TI based adapters. SkyConnect is SiliconLabs/EZSP.
I would also recommend the ZHA migration button. These tools aren't necessary for normal use.
thanks, and just fyi, I actually haven't yet started the migration since just after I decided to migrate off SkyConnect, for the first time in a long time SkyConnect has been running stable without a crash since I posted this. So I'll give it a bit more time to observe further.
Okay, and only shortly after I wrote the above, the SkyConnect adapter failed again. I now migrated the radio to the Sonoff 3.0 which worked. Side comment, since I am running in a container but not in privileged mode, new USB devices that are plugged into the host computer do not automatically show up in the container and the migration therefore is not quite as straight forward as the migrate button flow suggests. In my case one first needed to map the USB port of the Sonoff adapter in addition to the SkyConnect adapter in the "devices:" section of compose.yaml, then recompose the container and then with both adapters plugged in restart. Then do the migration with the migrate button. Then afterwards remove the USB port mapping for SkyConnect in compose.yaml, then recompose the container again, then unplug the SkyConnect adapter and restart. After that everything worked again with the Sonoff 3.0 adapter. I will close this issue now. Thanks!
Just an update in case anyone still follows this issue. It's been a bit over 3 weeks since I migrated from SkyConnect to Sonoff 3.0 since unfortunately SkyConnect had caused problems with the USB port roughly once a day, making zha unreliable and unusable for me. Without any changes to the rest of my installation, after migrating to Sonoff 3.0, my system has been very stable ever since and I did not have a single zha issue so far. This means the issue is somehow caused by the combination of my system configuration and SkyConnect, but not by my system configuration and ZigBee in general. I'd love to use SkyConnect at some point again, but I am not sure what would need to change where to avoid the issues that I had.
I am trying to backup my SkyConnect adapter to then migrate to a SONOFF 3.0 stick due to issues I have with the SkyConnect adapter (see https://github.com/home-assistant/skyconnect.home-assistant.io/issues/73#issuecomment-1730808602) and to see if that helps stabalize my HA system.
Unfortunately the backup with the command:
stops with the following error: and the output file remains empty:
I did the following steps:
docker exec -it homeassistant /bin/bash
thenpip install zigpy-znp
then I disabled the Zigbee integration in HA
and then run
I am running HA Version 2023.9.2 in a docker container and the /dev/ttyUSB_SkyConnect port is mapped via /dev/serial/by-id/ in compose.yaml as:
A full log with -v is here. Any hint or help would be highly appreciated. Thank You!