operating-system icon indicating copy to clipboard operation
operating-system copied to clipboard

Home Assistant OS 12.3 breaks ZHA on VM

Open capmlbpkel opened this issue 1 year ago • 2 comments

Describe the issue you are experiencing

After upgrade to 12.3, SkyConnect/ZHA is no longer working. Reverting the upgrade and restoring pre-12.3 backup does not solve the problem.

Seems to be very similar to https://github.com/home-assistant/operating-system/issues/3352. Maybe related to https://github.com/home-assistant/core/issues/117720.

What operating system image do you use?

ova (for Virtual Machines)

What version of Home Assistant Operating System is installed?

12.3

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. Upgrade from 12.2 to 12.3

Anything in the Supervisor logs that might be useful for us?

no

Anything in the Host logs that might be useful for us?

no

System information

Core version: 2024.4.4 Supervisor version: 2024.05.1

Additional information

I cannot find it anymore, but I remember some entries in the Core log similar to

[homeassistant.components.zha] Failed to set up ZHA

capmlbpkel avatar May 23 '24 13:05 capmlbpkel

I'm having an issue on 12.3 in a Proxmox vm with Z2M. I'll add logs later, will have to spin up a separate vm to let break so I can get them.

NodeJSmith avatar May 23 '24 13:05 NodeJSmith

Sorry, but we can't move forward without any logs. Even if you think there's nothing useful, there could be something. Could you please reproduce the issue again and get the Host logs, and possibly also Core logs that would show why exactly the ZHA setup failed? You can use ha host boot-slot other to quickly swap back and forth between OS versions.

sairon avatar May 23 '24 14:05 sairon

I just learned how to enable debug logging and was able to examine the logs in more detail. As it turns out, the SkyConnect usb device was not found on the HA host at all.

Deleting and re-adding the USB host device via VM management solved the issue.

capmlbpkel avatar May 27 '24 19:05 capmlbpkel

The issue that my Conbee II stick (which was hardware wise recognised within HA) was not working on Proxmox VM, it failed to initialise/connect, was solved with Core update 2024.6.3, maybe something to do with ZHA dependancy zigpy? https://www.home-assistant.io/blog/2024/06/05/release-20246/#202463---june-15

walterbressers avatar Jun 16 '24 16:06 walterbressers