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
70.46k stars 29.4k forks source link

[ZHA] [Conbee 3] Eurotronic Spirit Zigbee does not pair #105394

Closed merdok closed 5 months ago

merdok commented 8 months ago

The problem

I got myself a Conbee 3 recently and migrating everything from a deconz and Conbee 2 setup to Home Assistant zha! So i wanted to pair my Eurotronic Spirit Zigbee TRVs but that does not seems to work. I put the TRVs in pairing mode and they either get stuck at "Starting interview" in HA or they actually successfully show up as paired in HA, but in both cases the TRV itself still tries to pair and runs into an error timeout after some times. In HA when they appear as paired and i try to control them i get the following error:

Failed to call service climate/set_temperature. Failed to send request: Failed to deliver packet: <TXStatus.APS_NO_ACK: 167>

What version of Home Assistant Core has the issue?

2023.12

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

zha

Link to integration documentation on our website

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

Diagnostics information

zha-2e77803ea191c738f07993cb33390d51-Eurotronic SPZB0001-18b5e0a576320e7672bb6912e83b1a40.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Device reconfigure always fails, which makes sense as the device itself is not actually paired. Debug log of reconfigure: home-assistant_zha_2023-12-09T16-09-06.967Z.log

home-assistant[bot] commented 8 months 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)

merdok commented 7 months ago

@puddly can you please help out here? I am still not able to pair Eurotronic Spirit Zigbee thermostats...

xxLeoxx93 commented 7 months ago

Similar issue with the tuya fingerbot and conbee 3 strick for me! Same message and device doesn't get paired propperly. @merdok Did you find something out in the meantime?

Update from my side: Seems like all Tuya products have this issue with the conbee 3. went back to conbee 2 and pairing works just fine!

cigas4 commented 7 months ago

How did you managed to connect ConBee 3 to ZHA?

merdok commented 7 months ago

@cigas4 just plug it into the usb and it will be auto detected😅

@xxLeoxx93 unfortunately not. Still running a dual setup just for the thermostats to work...

@dmulcahey, @Adminiuga, @puddly, @TheJulianJES, can we expect any help from you?

puddly commented 7 months ago

can we expect any help from you?

Have some patience please.

Once higher-priority issues are resolved, I will look into buying this device so that I can investigate.

cigas4 commented 7 months ago

@cigas4 just plug it into the usb and it will be auto detected😅

I have tried it beginning of December and it failed to connect, had to revert back to conbee 2. I just tried it now in it is finally supported by ZHA! :D

Out of 30 existing zigbee devices I ran into a problem just with a single one (while switch from ConBee 2 to ConBee 3).. My Lumi Illiminance sensor can't properly connect. I perform 'add new device', long press button on the sensor button and it is detected by ZHA immediately. However, it keeps saying configuring, but never finishes to configure. Tried adding it again and again, but with no luck..

Interview complete Configuring lumi.sen_ill.mgl01 by XIAOMI IEEE: 04:cf:8c:df:3c:89:fd:ad NWK: 0x9e0d

I am using ConBee 3 with ZHA on latest HA version 2024.1.3. Also my ConBee 3 stick is updated to latest firmware: 0x264f0900 released on 12-Jan-2024.

merdok commented 7 months ago

@puddly thanks!

schwickster commented 6 months ago

Same problem here. I borrowed a Conbee 3 stick for testing and migrated. All devices migrated successfully. Before the migration a few devices were disconnected to I tried to repair them with the conbee 3. Got the same error. Here's some debugging logging with stacktrace:

024-01-31 19:43:14.657 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xAC65:11:0x0006]: 'async_initialize' stage failed: Failed to deliver packet: <TXStatus.APS_NOACK: 167> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/util/async.py", line 186, in sem_task return await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py", line 388, in async_initialize await self._get_attributes( File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py", line 490, in _getattributes read, = await self.cluster.read_attributes( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/zcl/init.py", line 524, in read_attributes result = await self.read_attributes_raw(to_read, manufacturer=manufacturer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/zcl/init.py", line 377, in request return await self._endpoint.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/endpoint.py", line 253, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/device.py", line 323, in request await send_request() File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/zigbee/application.py", line 530, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver packet: <TXStatus.APS_NO_ACK: 167> 2024-01-31 19:43:14.661 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xAC65:11:0x0008]: 'async_initialize' stage failed: Failed to deliver packet: <TXStatus.APS_NOACK: 167> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/util/async.py", line 186, in sem_task return await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py", line 388, in async_initialize await self._get_attributes( File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py", line 490, in _getattributes read, = await self.cluster.read_attributes( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/zcl/init.py", line 524, in read_attributes result = await self.read_attributes_raw(to_read, manufacturer=manufacturer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/zcl/init.py", line 377, in request return await self._endpoint.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/endpoint.py", line 253, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/device.py", line 323, in request await send_request() File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/usr/local/lib/python3.11/site-packages/zigpy_deconz/zigbee/application.py", line 530, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver packet: <TXStatus.APS_NO_ACK: 167>

mattkrau commented 6 months ago

Same here. Had to revert to conbee 2 from the new conbee 3. Devices would not pair (stuck at Interviewing) or zigpy.exceptions.DeliveryError: Failed to deliver packet: <TXStatus.APS_NO_ACK: 167> would be thrown.

schwickster commented 6 months ago

@puddly: any progress getting a Conbee 3 or anything we can do to assist?

puddly commented 6 months ago

I believe this is a firmware issue with the Conbee III. Check the firmware repo in a couple of days, a new one should be out soon: https://deconz.dresden-elektronik.de/deconz-firmware/?C=M;O=D

schwickster commented 6 months ago

I believe this is a firmware issue with the Conbee III. Check the firmware repo in a couple of days, a new one should be out soon: https://deconz.dresden-elektronik.de/deconz-firmware/?C=M;O=D

Will try once it's out and let you know

schwickster commented 6 months ago

I believe this is a firmware issue with the Conbee III. Check the firmware repo in a couple of days, a new one should be out soon: https://deconz.dresden-elektronik.de/deconz-firmware/?C=M;O=D

Latest firmware has been applied (0x26500900). Still can't pair my devices. Tried two different hue sensors. Full logging: home-assistant_2024-02-08T16-24-37.499Z.log Dianostics: config_entry-zha-2d4ce5a7029511ebbb3f111d42e919ee.json

schwickster commented 6 months ago

Correction: I am able to pair by direct doing "add device" but it won't pair by going to a Zigbee device and try to add device through a device.

@puddly: What's your guess, this zha thing or still firmware thing? If a firmware thing I'll make a bug report on the Conbee side of things.

merdok commented 6 months ago

That's some good news! I am not able to test myself currently with the new firmware as I am traveling but based on @schwickster reply it will be great if it indeed now works!

schwickster commented 6 months ago

@merdok did you get back from traveling and try it out yourself? @puddly, @dmulcahey @Adminiuga: Did you guys test it yourself using a Conbee 3 device with ZHA/zigpy and find anything?

I also posted on the Deconz forum to see if this might be a firmware problem https://forum.phoscon.de/t/conbee-3-pairing-devices-using-devices-does-not-work/4658

merdok commented 6 months ago

Not yet, will be back next week and will try it out then...

merdok commented 5 months ago

I finally did the firmware update and now indeed everything works as expected. The TRV's pair and work without any issues. From my point of view the issues is fixed!