Transitioned from SD card to NVMe SSD on RPi 4 and Z-Wave Hub problems

Today, I transitioned from a SD card to NVMe SSD on a RPI4. I imaged the SSD to HAOS, booted the system, and then restored a backup from SD card based instance. Everything except the Z-Wave (ZWA-2 interface) stuff transitioned ok.

For “Z Wave JS”, have the error " Failed setup, will retry: None". Hopefully I can restore my Z-Wave configuration.

There is probably a step that I missed, but not sure how to proceed. Any help would be appreciated.

Thanks… Duncan

I would start looking at the logs. And also check serial port setup for z-wave js is still valid.

I returned to my SD card, and the adapter came up with all the Z-Wave devices.

I have a choice to " Back up or restore your Z-Wave adapter’s non-volatile memory (NVM). The NVM contains your network information including paired devices. It’s recommended to create a backup before making any major changes to your Z-Wave network."

Should I do this, then go back to the NVMe SSD and restore from the Z-Wave backup?

Thanks… Duncan

Since you switched back to the SD card, you might as well check whether this is a serial port issue as @fireplex mentioned above before attempting a restore:

  • Go to Settings > System > Hardware > All Hardware and take note of both the short device address (eg. /dev/ttyUSB0) and the longer serial by id address (eg. /dev/serial/by-id/usb-your_device_manufacturer_and_serial-if01-port0)

  • Confirm whether your Z-Wave integration is using the device address or the serial by id address. I don’t use Z-Wave so can’t help with that but it’ll probably be listed in your backup or if you download diagnostics.

  • Switch to the SSD, do a full reboot of HA and repeat the first step. If the short device address changed, that’s your issue - you need to change the Z-Wave settings to use the serial by id path:

  • If it didn’t change, then you are either looking at a USB3 interference issue or a power issue.

  • For USB3 interference, use a USB (2) extension cable for the stick, keep the Z-Wave stick well away from the SSD & try to only use USB2 ports (the black ones) on the Pi for both the SSD & the stick.

  • If it’s a power issue, that’s a bit more tricky to diagnose, but usually you’ll get “undervoltage detected” warnings in HA Host logs. Get a powered USB2 hub and use that to provide additional power for the SSD & Z-Wave stick.