home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.09k stars 31.09k forks source link

Can't use Conbee 2 for ZHA interation #128611

Open Ir0nhid3 opened 1 month ago

Ir0nhid3 commented 1 month ago

The problem

I tried to change from Deconz to ZHA and removed all devices, entities and add-ons. Unluckyly I had to try it serveral times with even less luck - the integration does not work with my conbee 2 anylonger. The device is not recognised anylonger. A couple of years ago it was no problem. grafik Could you please fix that? Some of my devices are not supported from deconz.

What version of Home Assistant Core has the issue?

2024.10.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

In the logs there is no information about the shown error.

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @dmulcahey, @adminiuga, @puddly, @thejulianjes, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `zha` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign zha` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)

puddly commented 1 month ago

How are you running Home Assistant? Docker? A VM?

Are you manually entering the serial port path or are you selecting the Conbee from the ZHA setup screen?

Ir0nhid3 commented 1 month ago

On Proxmox Container with that one: https://tteck.github.io/Proxmox/#home-assistant-os-vm

puddly commented 1 month ago

Try unplugging the Conbee, plugging it back in, and remapping it to the HA OS VM. It's common for the Conbee to "disconnect" after communication with it stops, breaking some hypervisors.

Ir0nhid3 commented 1 month ago

I will do that again, but in deconz it works fine.

puddly commented 1 month ago

Is the deconz addon uninstalled?

Ir0nhid3 commented 1 month ago

Is the deconz addon uninstalled?

Yep, so the device is not used elsewhere. In the first steps it is recognized fine, though. grafik

puddly commented 1 month ago

USB serial devices have two parts: the USB side and the serial port. The first step you see just shows the USB information, it doesn't try to communicate with the device in any way and doesn't know if the serial port is functional. When you continue, ZHA actually tries to communicate with the serial port. The error you see is because ZHA can't communicate with the Conbee 2.

We have many Conbee 2 users and this is the first issue reported for the Conbee 2 in months so I'm inclined to believe this is a Proxmox + Conbee issue with your setup.

Are you running deCONZ as Home Assistant OS addon or in another VM or container?

Ir0nhid3 commented 1 month ago

USB serial devices have two parts: the USB side and the serial port. The first step you see just shows the USB information, it doesn't try to communicate with the device in any way and doesn't know if the serial port is functional. When you continue, ZHA actually tries to communicate with the serial port. The error you see is because ZHA can't communicate with the Conbee 2.

We have many Conbee 2 users and this is the first issue reported for the Conbee 2 in months so I'm inclined to believe this is a Proxmox + Conbee issue with your setup.

Are you running deCONZ as Home Assistant OS addon or in another VM or container?

It could be, but it does not make sense in my eyes, if the same hardware runs in the same environment with another add on. I would not know why this does not work.

deCONZ runs as an addon. The hardware in Home Assistant is shown as expected. And even if that path ist manually used it does not work.

Ir0nhid3 commented 1 month ago

Update: the same USB port does not work. Another works from out of the box why so ever.

FloraFiat commented 1 month ago

I have the same issue. it happened after the new HA update and installing some add ons. when I try to reload as it states the firmware is incompatible. the repairs links empty and I can't see any firmware updates available on their website. any suggestions would be great! I have the Connect zb1 and bought it a week ago and worked fine until the HA update last night.

puddly commented 1 month ago

@FloraFiat this issue is about the Conbee II. If you're having issues with a ZBT-1, please open a new issue and attach diagnostic information for the ZHA integration and a debug log.