ZHA Setup fails and crashes Home Assistant

I have a brand new empty instance of Home Assistant (OS 13.1, Core 2024.8.3) running on VirtualBox 7.20 (with Extension Pack) on Windows 10.

I have tried to load the ZHA Integration with the Sonoff Zigbee 3.0 USB Dongle Plus. Home Assistant crashes just after I begin the installation. The same thing happens when I try to use a Home Assistant Connect ZBT-1 dongle. This seems like it should be such a simple operation. Here are the details:

  • I install the dongle into a USB port with a USB extension cable.
  • I capture the USB port in VirtualBox and can see the Dongle in the Home Assistant Settings>Devices and services and in the VM Settings.
  • In Settings>Hardware>All Hardware>USB, I see: ttyUSB0/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_9cc386a031fded119f4c0b65024206e6-if00-port0
  • I select Add Integration and select Zigbee Home Automation.
  • I select the discovered Sonoff Zigbee dongle and press “Submit” in the dialog box that says for "Do you want to setup the “Sonoff Zigbee 3.0 USB Dongle Plus”
  • I select “Erase network settings and create new network” in the Network Formation dialog box. (I have also tried the “Keep radio network settings” with the same results.)
  • The dialog box says “loading next step for zha” and the icon just spins for 5-10 minutes. At the same time, the cursor in the Home Assistant CLI stops blinking. I can no longer ping the Home Assistant IP address and the VM becomes unresponsive
  • Eventually the dialog box says ERROR. At the bottom it says "Connection lost. Reconnecting.
  • I cannot shut down the VM gracefully and have to kill VirtualBox with Windows Task Manager
  • I restart the VirtualBox and the Home Assistant VM.
  • I check all the logs in Settings>System>Logs. I search for zha, sonoff and usb, but there is nothing helpful there.

Same problem here. OS/X, Virtual Box, similar circumstances, same device.

There will be nothing in the current log because the log file starts again when ha restarts. Look instead at home-assistant.log.1

I gave up and installed zigbee2mqtt which is working perfectly. It was a little harder to configure, but there are great YouTube tutorials.

I did figure out how to enable zha debug logs and saw a ton of info in log1 but decided to try the other path.

Exact same setup and same problem! I just installed core 2024.9.0. No help.

home-assistant.log.1 only shows:

2024-09-04 12:56:51.849 WARNING (Recorder) [homeassistant.components.recorder.migration] The database is about to upgrade from schema version 45 to 47
2024-09-04 12:56:51.953 WARNING (Recorder) [homeassistant.components.recorder.migration] Upgrade to version 46 done
2024-09-04 12:56:51.961 WARNING (Recorder) [homeassistant.components.recorder.migration] Upgrade to version 47 done

Supervisor log had more details but no errors and no mention of ZigBee or Sonoff.

With log level set to debug the core log shows:
2024-09-04 13:35:18.812 INFO (SyncWorker_3) [homeassistant.loader] Loaded zha from homeassistant.components.zha

2024-09-04 13:35:20.803 DEBUG (MainThread) [homeassistant.loader] Importing platforms for zha executor=[‘config_flow’] loop= took 1.98s