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
71.16k stars 29.83k forks source link

Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> #124516

Open ecchodun opened 3 weeks ago

ecchodun commented 3 weeks ago

The problem

Never had an issue and now I'm getting the following error on various Zigbee devices - Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

What version of Home Assistant Core has the issue?

core-2024.8.2

What was the last working version of Home Assistant Core?

core-2024.8.1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Zigbee

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.automation.new_automation_closet
Source: components/automation/__init__.py:776
integration: Automation (documentation, issues)
First occurred: 7:25:55 PM (1 occurrences)
Last logged: 7:25:55 PM
Error while executing automation automation.new_automation_closet: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

Additional information

This has occurred sporadically over the past few days. I did add a Nortek dongle along with my existing Zigbee dongle, but even after unplugging it I'm still getting this error.

home-assistant[bot] commented 3 weeks 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)

ufondu88 commented 3 weeks ago

I'm having the same issue. I have a group of Ikea blinds that I control. Some of the blinds are triggered, but some are not. The logs show the same error

puddly commented 3 weeks ago

This will likely be improved by https://github.com/zigpy/bellows/pull/646 (in the next beta) if your devices are battery operated. Note that nothing changed between 2024.8.1 and 2024.8.2 (and in many many months beforehand) so any issues you're experiencing are with your environment.

ufondu88 commented 3 weeks ago

My environment has not changed in many months. This issue started after the upgrade to 2024.8.2. And, yes, my devices are battery operated

puddly commented 3 weeks ago

My environment has not changed in many months.

If you haven't changed the stick firmware, something in your RF environment has changed. It doesn't mean that you changed something, just that it has changed. New neighbors (or old neighbors who added new equipment), wifi router moved its 2.4GHz network channel, temperatures changed and your device's battery voltage has dropped, new SSD nearby, etc.

This issue started after the upgrade to 2024.8.2

They may have started at the same time but if you downgrade to 2024.8.1, things will remain exactly the same.

ecchodun commented 3 weeks ago

I will say, that my environment did change in that in addition to my existing Silicon Labs Sonoff Zigbee dongle, I added a new Nortek Z-Wave/Zigbee to take advantage of the Z-wave frequency (the Zigbee is not active on the dual-device). It may have been coincidental that when I did so, I started to get the error, but yesterday I added a 10' USB extension cable to the Z-wave dongle (the Sonoff already had one) and I haven't had the error 3074 in over 24 hours. It could be a coincidence and I'll certainly keep this thread updated, but it's worth noting.

jamestalbot3 commented 3 weeks ago

I have also had this error pop up on IKEA battery operated blinds out of nowhere today. I haven't added or changed my zigbee devices in any way. They just refuse to communicate at all

ecchodun commented 2 weeks ago

Just got it again after not seeing it for over 24 hours - Error while executing automation automation.new_automation_closet: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

chicagoandy commented 2 weeks ago

Yes, also getting these starting yesterday. No network changes. There are enough people having this that rules our typical device incompatibility.

jgandhi19 commented 2 weeks ago

I started receiving these errors after upgrading as well. No other changes, this doesn't seem to be a coincidence that others are experiencing the same issues.

I will mention that the devices I'm seeing as failing are Sengled light bulbs, not battery powered.

chuckie007 commented 2 weeks ago

Also started getting this in the last few days. No changes in months to zigbee devices.

puddly commented 2 weeks ago

As mentioned above, there have been no changes to ZHA in the past few releases. More fundamentally, however, ZHA does not have control over routing to your devices. It asks the stick to send a message and the stick responds with the status code you're seeing. If this changed all of the sudden, this is 100% a result of your environment. You can verify by downgrading HA Core.

That being said, if downgrading helps, please enable ZHA debug logging, leave it running for half an hour and toggle some devices to generate log data, and disable debug logging to generate a log. Please do this on a version that works and one that does not and we can see what the difference is between the logs.

bryanklingner commented 2 weeks ago

Just here to say I experienced very similar symptoms:

I have seen other similar reports eg https://community.home-assistant.io/t/connection-problems-with-zha/762314

Seems too widespread to just be a coincidence for all of us. I'll try to get some logs to post.

rwarner commented 2 weeks ago

Also chiming in here with the same issue. Was not seeing this until upgrading to 2024.8.3 today. Some buttons have rendered completely useless all of the sudden after this update.

I keep getting Zigbee requests sort of "pooled together" after a few minutes when trying to turn lights on and off. Then they all of a sudden execute and this error pops up.

rwarner commented 2 weeks ago

FWIW, I rolled back to 2024.8.1 last night to hopefully resolve this but ran into the same issue. Which is weird because I didn't have this issue until moving to 2024.8.3.

I have an issue running my script with a Zigbee button to toggle some lights for some reason which hits this error:

sequence:
  - entity_id:
      - light.master_bedroom_lights
    action: light.toggle
  - delay:
      milliseconds: 250
  - condition: state
    entity_id: light.master_bedroom_lights
    state: "on"
  - continue_on_error: true
    data_template:
      entity_id: light.master_bedroom_lights
      brightness_pct: |
        {% if now().hour >= 21 %}
          30
        {% elif now().hour <= 7 %}
          30
        {% else %}
          100
        {% endif %}
      color_temp: |-
        {% if now().hour >= 21 %}
          470
        {% elif now().hour <= 7 %}
          470
        {% else %}
          350
        {% endif %}
    action: light.turn_on

toggle_bedroom_lights: Error executing script. Error for call_service at pos 1: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

I'll go to execute this script, then it won't work. So I'll go into Home Assistant to toggle the same lights, then that "pooling" action will happen and the lights will just turn on and off and on and off, etc..

Have also been getting a lot of zigbee devices notifying me they've gone "unavailable" suddenly

rwarner commented 2 weeks ago

I just downgraded to 2024.7.4 and do not run into this issue with my previous comment FWIW

puddly commented 2 weeks ago

Can you generate a debug log by enabling debug logging for ZHA, reloading the integration, and letting it run for half an hour while doing what you can to trigger the issue? Without a log from each version, it's hard to see what's different.

rwarner commented 2 weeks ago

Sure thing I can try to get you something hopefully soon. On the 2024.8.3 version? Or the 2024.7.4?

puddly commented 2 weeks ago

Both of them, if you could. One alone won't show what changed.

ecchodun commented 2 weeks ago

Here is my last log of it occurring from just today - Logger: zigpy.zcl Source: runner.py:190 First occurred: August 26, 2024 at 2:09:41 PM (5 occurrences) Last logged: 5:57:30 AM

[0x3E90:1:0x0020] Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 825, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 646, in check_in_response await self.fast_poll_stop() File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>
[0x7B00:1:0x0020] Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 825, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 646, in check_in_response await self.fast_poll_stop() File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>
bryanklingner commented 2 weeks ago

A bit more information:

I tried replacing the Nabu Casa SkyConnect with an old Sonoff Zigbee 3.0 USB stick, rebuilding my network from scratch. The flakiness and 3074 errors have disappeared.

So, at least anecdotally this may be an issue specific to the SkyConnect stick.

ecchodun commented 2 weeks ago

A bit more information:

I tried replacing the Nabu Casa SkyConnect with an old Sonoff Zigbee 3.0 USB stick, rebuilding my network from scratch. The flakiness and 3074 errors have disappeared.

So, at least anecdotally this may be an issue specific to the SkyConnect stick.

I have the issue with Sonoff Zigbee 3.0 USB stick. It's likely to pop up for you again.

rwarner commented 2 weeks ago

Both of them, if you could. One alone won't show what changed.

Sent you over the logs on Discord.

Of course, after I did the logging on 2024.7.4 and then upgraded my python installation to 2024.8.3 it has been working on 2024.8.3 just fine... haven't seen the error come back yet.

When going from 2024.7.4 to 2024.8.3 though I did get some pip errors and I'm curious if one of the libraries stuck to the old one or something. Got some of this:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. async-upnp-client 0.39.0 requires aiohttp~=3.9.1, but you have aiohttp 3.10.5 which is incompatible. aiohttp-fast-url-dispatcher 0.3.0 requires aiohttp<3.10,>=3.8.5, but you have aiohttp 3.10.5 which is incompatible. zha 0.0.30 requires bellows==0.40.3, but you have bellows 0.39.1 which is incompatible. zha 0.0.30 requires zha-quirks==0.0.118, but you have zha-quirks 0.0.117 which is incompatible. zha 0.0.30 requires zigpy==0.65.3, but you have zigpy 0.64.1 which is incompatible. zha 0.0.30 requires zigpy-deconz==0.23.3, but you have zigpy-deconz 0.23.2 which is incompatible. zha 0.0.30 requires zigpy-xbee==0.20.2, but you have zigpy-xbee 0.20.1 which is incompatible. zha 0.0.30 requires zigpy-zigate==0.13.1, but you have zigpy-zigate 0.12.1 which is incompatible. zha 0.0.30 requires zigpy-znp==0.12.4, but you have zigpy-znp 0.12.2 which is incompatible.

ufondu88 commented 2 weeks ago

I have to say, I have not encountered this issue in a while. I have not changed anything about my environment and I am still on 2024.8.3. It has now been a few days since I have gotten this error. I have no idea what could have fixed the issue

chicagoandy commented 2 weeks ago

Same with me. Over the weekend I was getting this everywhere, for no reason. I rebooted, both soft and hard. I "reconfigured network". I removed and readded devices. Nothing worked.
Then it got better with 2024.8.3, or perhaps HAOS 13.1. No idea what went wrong, but the most frustrating aspect was the large number of unhelpful comments about incompatible devices. I hope this is just a ghost that goes away, but overall - the general flakiness of ZHA is confirmed for me.

puddly commented 2 weeks ago

@chicagoandy Please attach debug logs and diagnostics information for ZHA.

Delivery failures are a symptom of a problem, they're not the problem itself. You could have unusually chatty Tuya sensors on your network that are flooding it with traffic. The temperature could have dropped and battery powered sensors/blinds that were just barely in range of their parent router are now unreliable. Your neighbors (or you) could have a 2.4GHz WiFi router that automatically changed channels and is now transmitting over your ZigBee network. The list is practically endless.

Without debug logs, there's no way to tell what specific issue you're having.

chicagoandy commented 2 weeks ago

To be clear, I am not having the issue anymore, it somehow was resolved for me with 2024.8.3 or HAOS 13.1 I have not had any issues since Monday. I can provide debug logs of everything working fine, if that helps.

ecchodun commented 2 weeks ago

12 hours without an error and then boom - If it is interference of some sort, why is it so random? This particular error looks similarly timed with a Door Sensor Checkin Event being fired.

Logger: zigpy.zcl Source: runner.py:190 First occurred: 5:03:51 PM (1 occurrences) Last logged: 5:03:51 PM

[0x3E90:1:0x0020] Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 825, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 645, in check_in_response await self.set_long_poll_interval(self.LONG_POLL) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

Firewolf1337 commented 2 weeks ago

Hi, I'm having this issue since 2024.8.x, I'm not exactly sure. I had not the time to investigate at that time and just auto updated to 2024.8.3. I'm also sure that in 2024.7.4 I hadn't the issue. And just from my feeling it startet with with 2024.8.0 because since then I have a movement sensor which was not recognizing that precisely than before and my 6 ceiling spots needed more time to turn on an (from 1-2s to 3-5s).
I think if the devices will be reconnected the issue for that device is gone for some time but move to an other device. I'm using a SONOFF ZBBridge with Tasmota. Zigbee channel: 26 Wifi 2.4GHz Channel: 9 Surrounding 2.4Ghz Channel: <=11

If further Logfiles are helpful, let me know.

TerminalAddict commented 2 weeks ago

not sure if related but I captures this:

[140184431381232] Unexpected exception

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2763, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2806, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 999, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 637, in async_handle_light_off_service
    await light.async_turn_off(**filter_turn_off_params(light, params))
  File "/usr/src/homeassistant/homeassistant/components/group/light.py", line 194, in async_turn_off
    await self.hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 2763, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2806, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1024, in entity_service_call
    raise result from None
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1610, in async_request_call
    return await coro
           ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 637, in async_handle_light_off_service
    await light.async_turn_off(**filter_turn_off_params(light, params))
  File "/usr/src/homeassistant/homeassistant/components/group/light.py", line 194, in async_turn_off
    await self.hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 2763, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2806, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1024, in entity_service_call
    raise result from None
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1610, in async_request_call
    return await coro
           ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 637, in async_handle_light_off_service
    await light.async_turn_off(**filter_turn_off_params(light, params))
  File "/usr/src/homeassistant/homeassistant/components/zha/helpers.py", line 1291, in handler
    raise HomeAssistantError(err) from err
homeassistant.exceptions.HomeAssistantError: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

and this

Uncaught error from Chrome WebView 127.0.6533.103 on Android 14 Error: Suspend promise not set v.suspend (/frontend_latest/core.ydYtuXnHVAs.js:1:38294) r.value (/frontend_latest/app.okM55PX7yEE.js:2:254585) HTMLDocument.<anonymous> (/frontend_latest/app.okM55PX7yEE.js:2:252872)

Only seen errors since 8.x update. Zero interference from 2.4, as there is no 2.4 for a kilometer ( FYI )

hardelone commented 2 weeks ago

Same issue. I have sky connect dongle and zha crashing every few hours.

Logger: homeassistant.components.automation.svetlo_noc_mala_kupelna Zdroj: helpers/script.py:2030 Integrácia: Automatizácia (dokumentácia, problémy) Prvýkrát sa vyskytol: 23:16:50 (6 výskytov) Naposledy prihlásený: 23:26:13

Svetlo noc izba kúpeľňa: Choose at step 1: choice 3: Error executing script. Error for call_service at pos 2: Failed to send request: device did not respond Svetlo noc izba kúpeľňa: Error executing script. Error for choose at pos 1: Failed to send request: device did not respond Svetlo noc izba kúpeľňa: Choose at step 1: choice 2: Error executing script. Error for call_service at pos 2: Failed to send request: device did not respond Svetlo noc izba kúpeľňa: Choose at step 1: choice 3: Error executing script. Error for call_service at pos 1: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> Svetlo noc izba kúpeľňa: Error executing script. Error for choose at pos 1: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

I tried usb 2.0, different place for dongle and nothing works. Everything was ok few days ago.

rwarner commented 2 weeks ago

Very strange, I have not gotten this error again after two more days after re-upgrading to 2024.8.3 will continue keeping an eye out. When they do a 2024.8.4 or 2024.9.1 will upgrade then and see if it re-appears. Haven't had any failing functionality like I had either.

(Previous upgrade path)

2024.7.x -> 2024.8.1 -> 2024.8.3 (Sudden issues) -> 2024.8.1 (Still issues) -> 2024.7.4 (Fixed) -> 2024.8.3 (Now, still working)

Python Core Installation, Ubuntu Server, with a Nortek HUSBZB-1 USB

TerminalAddict commented 2 weeks ago

@rwarner did you restore from backup to 2024.7.x ? or did you:

ha core update --version 2024.7.4
ecchodun commented 2 weeks ago

Just received it for the first time today. Funny thing is, I checked the time of the error and my log doesn't indicate any attempted contact with a Zigbee device at such time.

Logger: zigpy.zcl Source: runner.py:190 First occurred: 9:18:03 PM (1 occurrences) Last logged: 9:18:03 PM

[0x7B00:1:0x0020] Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 825, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 643, in check_in_response await self.checkin_response(True, self.CHECKIN_FAST_POLL_TIMEOUT, tsn=tsn) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

TerminalAddict commented 1 week ago

this morning I have:

ha core update --version 2024.7.4
ha core update --version 2024.8.1

and left it at that .. let's see how I go

ecchodun commented 1 week ago

How does one update just the Core? I tried to restore from a partial backup with an old version and lost a lot of my changes I made.

rwarner commented 1 week ago

@rwarner did you restore from backup to 2024.7.x ? or did you:

ha core update --version 2024.7.4

No I updated my HA core python virtual environment with that specific version using something like the following: pip3 install homeassistant==2024.7.3

FWIW still not seeing this error again over the weekend. Will update to the next version whenever that’s out and see if it comes back.

TerminalAddict commented 1 week ago

Well, my downgrade, and upgrade didn't work.

Error while executing automation automation.turn_on_garage_lights_when_motion_is_detected: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>
TerminalAddict commented 1 week ago

couldn't turn my lights off this morning. WAF = 0 this is not a fun time

dmulcahey commented 1 week ago

couldn't turn my lights off this morning. WAF = 0 this is not a fun time

https://github.com/home-assistant/core/issues/124516#issuecomment-2313383778

Perform these steps and attach debug logs.

dmulcahey commented 1 week ago

Just received it for the first time today. Funny thing is, I checked the time of the error and my log doesn't indicate any attempted contact with a Zigbee device at such time.

Logger: zigpy.zcl Source: runner.py:190 First occurred: 9:18:03 PM (1 occurrences) Last logged: 9:18:03 PM

[0x7B00:1:0x0020] Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 825, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 643, in check_in_response await self.checkin_response(True, self.CHECKIN_FAST_POLL_TIMEOUT, tsn=tsn) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

This is an automatic reply to a check in from the device. There are 0 functional issues from this particular log and it is safe to ignore.

dmulcahey commented 1 week ago

12 hours without an error and then boom - If it is interference of some sort, why is it so random? This particular error looks similarly timed with a Door Sensor Checkin Event being fired.

Logger: zigpy.zcl Source: runner.py:190 First occurred: 5:03:51 PM (1 occurrences) Last logged: 5:03:51 PM

[0x3E90:1:0x0020] Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 825, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 645, in check_in_response await self.set_long_poll_interval(self.LONG_POLL) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

Ditto with this one. Safe to ignore

dmulcahey commented 1 week ago

Here is my last log of it occurring from just today - Logger: zigpy.zcl Source: runner.py:190 First occurred: August 26, 2024 at 2:09:41 PM (5 occurrences) Last logged: 5:57:30 AM

[0x3E90:1:0x0020] Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 825, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 646, in check_in_response await self.fast_poll_stop() File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>
[0x7B00:1:0x0020] Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 825, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 646, in check_in_response await self.fast_poll_stop() File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

These are also a non issue

ecchodun commented 1 week ago

On a positive note, it's been about 48 hours without an error (did I just jinx it).

Firewolf1337 commented 1 week ago

@dmulcahey can you confirm that this is a new message (sl_Status.ZIGBEE_DELIVERY_FAILED: 3074) since bellows 0.40.0 which was bumped into zha 0.0.30 coming with HA Core in 2024.8.1

So that we are not insane 😅 and this message couldn't be seen prior? (I don't want to blame someone or discuss if that can be ignored, just want to know the cause)

dmulcahey commented 1 week ago

@dmulcahey can you confirm that this is a new message (sl_Status.ZIGBEE_DELIVERY_FAILED: 3074) since bellows 0.40.0 which was bumped into zha 0.0.30 coming with HA Core in 2024.8.1

So that we are not insane 😅 and this message couldn't be seen prior? (I don't want to blame someone or discuss if that can be ignored, just want to know the cause)

https://github.com/home-assistant/core/issues/107105#issue-2065527592

this has been happening all along. The only thing that changed is the actual error constant: <EmberStatus.DELIVERY_FAILED: 102> became <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> other than that this has been happening for years and it is innocuous. You can search closed issues if you don't believe me.

(I don't want to blame someone or discuss if that can be ignored, just want to know the cause)

The cause is the stack failed to deliver the message. There is nothing we can do about that.

vordenken commented 1 week ago

I too have massive problems with zha (Skyconnect stick on an extension cable) since updating to 2024.8.3 / 13.1... I did not change anything in my environment, no new devices etc. The biggest problem is that not only the battery powered devices are not working but all of my lightbulbs and smart sockets are broken too. Only reloading zha fixes the issue (temporary)...

Is it safe to downgrade to an older version? I have a backup as well but then my gathered statistics are gone.

rwarner commented 1 week ago

Okay so I’ve been running 2024.8.4 since I last posted and as of yesterday I ran into the same problematic issue I originally ran into earlier. Am getting all sorts of zigbee devices going offline suddenly. I have some new errors in the log here with devices not responding suddenly. Was fine for a few days and then this all happened suddenly. Can’t provide closer debug logs than this at the moment.

image
Logger: zigpy.zcl
Source: runner.py:190
First occurred: September 5, 2024 at 3:14:25 PM (57 occurrences)
Last logged: 3:42:03 PM

[0x6777:1:0x0020] Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/bellows/zigbee/application.py", line 822, in send_packet send_status, _ = await req.result ^^^^^^^^^^^^^^^^ asyncio.exceptions.CancelledError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/bellows/zigbee/application.py", line 821, in send_packet async with asyncio_timeout(APS_ACK_TIMEOUT): File "/home/homeassistant/.pyenv/versions/3.12.2/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__ raise TimeoutError from exc_val TimeoutError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 643, in check_in_response await self.checkin_response(True, self.CHECKIN_FAST_POLL_TIMEOUT, tsn=tsn) File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/home/homeassistant/.pyenv/versions/3.12.2/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 68, in wrap_zigpy_exceptions raise ZHAException("Failed to send request: device did not respond") from exc zha.exceptions.ZHAException: Failed to send request: device did not respond
[0xADD7:1:0x0020] Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/bellows/zigbee/application.py", line 825, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 643, in check_in_response await self.checkin_response(True, self.CHECKIN_FAST_POLL_TIMEOUT, tsn=tsn) File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/home/homeassistant/.pyenv/versions/3.12.2/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>
[0xEC2B:1:0x0020] Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/bellows/zigbee/application.py", line 825, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 643, in check_in_response await self.checkin_response(True, self.CHECKIN_FAST_POLL_TIMEOUT, tsn=tsn) File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/home/homeassistant/.pyenv/versions/3.12.2/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>
[0x6777:1:0x0020] Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/bellows/zigbee/application.py", line 825, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 643, in check_in_response await self.checkin_response(True, self.CHECKIN_FAST_POLL_TIMEOUT, tsn=tsn) File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/home/homeassistant/.pyenv/versions/3.12.2/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>
[0x6777:1:0x0020] Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zigpy/application.py", line 833, in request await self.send_packet( File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/bellows/zigbee/application.py", line 806, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to enqueue message after 3 attempts: <sl_Status.ZIGBEE_MAX_MESSAGE_LIMIT_REACHED: 3075> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/general.py", line 643, in check_in_response await self.checkin_response(True, self.CHECKIN_FAST_POLL_TIMEOUT, tsn=tsn) File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 83, in wrapper with wrap_zigpy_exceptions(): File "/home/homeassistant/.pyenv/versions/3.12.2/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/srv/homeassistant/homeassistant_venv_3.12.2/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 75, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to enqueue message after 3 attempts: <sl_Status.ZIGBEE_MAX_MESSAGE_LIMIT_REACHED: 3075>
image
Logger: homeassistant.components.automation.morning_reset_all_lights_to_default_brightness
Source: helpers/script.py:2030
integration: Automation (documentation, issues)
First occurred: September 6, 2024 at 1:00:09 PM (6 occurrences)
Last logged: 1:00:45 PM

MORNING - Reset all lights to default brightness: Error executing script. Error for call_service at pos 1: Failed to send request: Failed to enqueue message after 3 attempts: <sl_Status.ZIGBEE_MAX_MESSAGE_LIMIT_REACHED: 3075>
MORNING - Reset all lights to default brightness: Error executing script. Error for call_service at pos 2: Failed to send request: Failed to enqueue message after 3 attempts: <sl_Status.ZIGBEE_MAX_MESSAGE_LIMIT_REACHED: 3075>
MORNING - Reset all lights to default brightness: Error executing script. Error for call_service at pos 3: Failed to send request: Failed to enqueue message after 3 attempts: <sl_Status.ZIGBEE_MAX_MESSAGE_LIMIT_REACHED: 3075>
hardelone commented 1 week ago

My zigbee is dead. Home assistant sometimes recognize state of entity but I cant control anything. Reboot sw or hw not helping. They are not battery device which I jlhave problem. My smart home is totaly useless. I dont know what to do...

Logger: homeassistant.components.websocket_api.http.connection Zdroj: components/websocket_api/commands.py:245 Integrácia: Home Assistant WebSocket API (dokumentácia, problémy) Prvýkrát sa vyskytol: 16:18:44 (1 výskytov) Naposledy prihlásený: 16:18:44

[140387397687120] Unexpected exception Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 67, in wrap_zigpy_exceptions yield File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 85, in wrapper return await RETRYABLE_REQUEST_DECORATOR(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/util.py", line 136, in retry return await func() ^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/init.py", line 378, in request return await self._endpoint.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request await send_request() File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 834, in request await self.send_packet( File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 827, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/zha/helpers.py", line 1288, in handler return await func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/zha/light.py", line 181, in async_turn_on await self.entity_data.entity.async_turn_on( File "/usr/local/lib/python3.12/site-packages/zha/application/platforms/light/init.py", line 413, in async_turn_on result = await self._on_off_cluster_handler.on() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 84, in wrapper with wrap_zigpy_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/usr/local/lib/python3.12/site-packages/zha/zigbee/cluster_handlers/init.py", line 76, in wrap_zigpy_exceptions raise ZHAException(message) from exc zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/adaptive_lighting/hass_utils.py", line 62, in service_func_proxy await existing_service.job.target(call) File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 626, in async_handle_light_on_service await light.async_turn_on(**filter_turn_on_params(light, params)) File "/usr/src/homeassistant/homeassistant/components/zha/helpers.py", line 1290, in handler raise HomeAssistantError(err) from err homeassistant.exceptions.HomeAssistantError: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

TerminalAddict commented 6 days ago

Not cool that I can't turn my lights off at night. Or on in the morning. Rebooting HA fixes the problem for a few hours