Closed kylepyke closed 3 months ago
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Bug description
Intermittently, some entities will appear as available, but HA is unable to communicate with them, giving the error "<EmberStatus.DELIVERY_FAILED: 102>". This happens every couple of days or so, and is never the same device, leading me to believe it is either a ZHA or SkyConnect issue.
Resetting the controller doesn't fix this issue, nor does re-adding the device tot the Zigbee network.
Steps to reproduce
¯\_(ツ)_/¯
Expected behavior
Devices should not lock up.
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]Device signature
Device signature
```json { "node_descriptor": "NodeDescriptor(logical_type=This is for the current non-functioning device.
Diagnostic information
Diagnostic information
```json { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.10.3", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "x86_64", "timezone": "America/Chicago", "os_name": "Linux", "os_version": "6.1.56", "supervisor": "2023.10.0", "host_os": "Home Assistant OS 11.0", "docker_version": "24.0.6", "chassis": "embedded", "run_as_root": true }, "custom_components": { "frigate": { "version": "5.0.0-beta.2", "requirements": [ "pytz==2022.7" ] }, "zha_toolkit": { "version": "v1.1.2", "requirements": [ "pytz" ] }, "favicon": { "version": "10.4", "requirements": [] }, "fontawesome": { "version": "2.2.1", "requirements": [] }, "dahua": { "version": "0.5.0", "requirements": [] }, "hacs": { "version": "1.33.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "webrtc": { "version": "v3.4.0", "requirements": [] }, "ge_home": { "version": "0.6.7", "requirements": [ "gehomesdk==0.5.10", "magicattr==0.1.6", "slixmpp==1.8.3" ] }, "smartthinq_sensors": { "version": "0.34.0", "requirements": [ "pycountry>=20.7.3", "xmltodict>=0.12.0", "charset_normalizer>=2.0.0" ] }, "pirateweather": { "version": "1.2.3", "requirements": [ "python-forecastio==1.4.0" ] }, "linkplay": { "version": "3.1.8", "requirements": [ "async-upnp-client>=0.27", "validators~=0.12", "chardet>=4.0.0" ] }, "teamtracker": { "version": "0.1", "requirements": [ "arrow", "aiofiles" ] }, "lightener": { "version": "v2.2.0", "requirements": [] }, "weatheralerts": { "version": "0.1.5", "requirements": [] }, "wiim_custom": { "version": "0.0.1", "requirements": [ "async-upnp-client>=0.31.2", "validators~=0.12" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "after_dependencies": [ "onboarding", "usb" ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "config_flow": true, "dependencies": [ "file_upload" ], "documentation": "https://www.home-assistant.io/integrations/zha", "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp", "universal_silabs_flasher" ], "requirements": [ "bellows==0.36.5", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.104", "zigpy-deconz==0.21.1", "zigpy==0.57.2", "zigpy-xbee==0.18.3", "zigpy-zigate==0.11.0", "zigpy-znp==0.11.5", "universal-silabs-flasher==0.0.14", "pyserial-asyncio-fast==0.11" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" }, { "type": "_uzg-01._tcp.local.", "name": "uzg-01*" }, { "type": "_slzb-06._tcp.local.", "name": "slzb-06*" } ], "is_built_in": true }, "data": { "config": { "zigpy_config": { "network": { "channel": 25, "channels": [ 15, 20, 25 ] }, "database_path": "/config/zigbee.db", "device": { "path": "/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_c02b6f0e9f18ec11b16bee9a47486eb0-if00-port0", "flow_control": "software", "baudrate": 115200 } }, "device_config": { "70:b3:d5:2b:60:01:4d:76-1": { "type": "switch" }, "70:b3:d5:2b:60:01:4d:76-2": { "type": "switch" }, "70:b3:d5:2b:60:01:4d:76-3": { "type": "switch" }, "70:b3:d5:2b:60:01:4d:76-4": { "type": "switch" }, "70:b3:d5:2b:60:01:4d:76-5": { "type": "switch" } }, "enable_quirks": true }, "config_entry": { "entry_id": "a2903d4fc181e167db073fe2a39b724a", "version": 3, "domain": "zha", "title": "SkyConnect v1.0", "data": { "device": { "path": "/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_c02b6f0e9f18ec11b16bee9a47486eb0-if00-port0", "flow_control": "software", "baudrate": 115200 }, "radio_type": "ezsp" }, "options": { "custom_configuration": { "zha_options": { "enhanced_light_transition": true, "default_light_transition": 2, "light_transitioning_flag": true, "always_prefer_xy_color_mode": true, "group_members_assume_state": true, "enable_identify_on_join": true, "consider_unavailable_mains": 7200, "consider_unavailable_battery": 21600 } } }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "usb", "unique_id": "**REDACTED**", "disabled_by": null }, "application_state": { "node_info": { "nwk": 0, "ieee": "**REDACTED**", "logical_type": 0 }, "network_info": { "extended_pan_id": "**REDACTED**", "pan_id": 63028, "nwk_update_id": 0, "nwk_manager_id": 0, "channel": 25, "channel_mask": 134215680, "security_level": 5, "network_key": "**REDACTED**", "tc_link_key": { "key": [ 90, 105, 103, 66, 101, 101, 65, 108, 108, 105, 97, 110, 99, 101, 48, 57 ], "tx_counter": 278528, "rx_counter": 0, "seq": 0, "partner_ieee": "**REDACTED**" }, "key_table": [], "children": [], "nwk_addresses": {}, "stack_specific": { "ezsp": { "hashed_tclk": "a8c8242724b0c3a1c352dc5866c0d0c6" } }, "metadata": { "ezsp": { "manufacturer": "Nabu Casa", "board": "SkyConnect v1.0", "version": "7.1.1.0 build 273", "stack_version": 9, "can_burn_userdata_custom_eui64": true, "can_rewrite_custom_eui64": false } }, "source": "bellows@0.36.5" }, "counters": { "controller_app_counters": { "broadcast_rx": { "__type": "Logs
Could be this:
Logs
```python [140397651165632] Error handling message: Unknown error (unknown_error) NAME from 192..xxx.x.xx (Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2023.7 (io.robbie.HomeAssistant; build:2023.471; iOS 16.6.1) Mobile/HomeAssistant, like Safari) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/zha/websocket_api.py", line 340, in websocket_permit_devices await zha_gateway.application_controller.permit(time_s=duration, node=ieee) File "/usr/local/lib/python3.11/site-packages/bellows/zigbee/application.py", line 877, in permit await super().permit(time_s, node) File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 1140, in permit await zigpy.zdo.broadcast( File "/usr/local/lib/python3.11/site-packages/zigpy/device.py", line 519, in broadcast return await app.broadcast( ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 916, in broadcast await self.send_packet( File "/usr/local/lib/python3.11/site-packages/bellows/zigbee/application.py", line 851, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to enqueue message after 3 attempts:Or this:
Logs
```python Logger: homeassistant.components.zha.core.cluster_handlers Source: components/zha/core/cluster_handlers/__init__.py:537 Integration: Zigbee Home Automation ([documentation](https://www.home-assistant.io/integrations/zha), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+zha%22)) First occurred: October 15, 2023 at 11:18:20 AM (15 occurrences) Last logged: 10:50:56 AM [0x83C5:1:0x0001]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message:Or this?
Logs
```python Logger: homeassistant.components.sensor.recorder Source: components/sensor/recorder.py:297 Integration: Sensor ([documentation](https://www.home-assistant.io/integrations/sensor), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+sensor%22)) First occurred: 10:50:10 AM (3 occurrences) Last logged: 10:55:10 AM Entity sensor.sinope_technologies_sp2610zb_summation_delivered_2 from integration zha has state class total_increasing, but its state is not strictly increasing. Triggered by state 18.679 (18.791) with last_updated set to 2023-10-17T15:49:58.285887+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22 Entity sensor.sinope_technologies_sp2610zb_summation_delivered_4 from integration zha has state class total_increasing, but its state is not strictly increasing. Triggered by state 5.5 (5.542) with last_updated set to 2023-10-17T15:49:58.198782+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22 Entity sensor.sinope_technologies_sp2610zb_summation_delivered_5 from integration zha has state class total_increasing, but its state is not strictly increasing. Triggered by state 16.929 (17.008) with last_updated set to 2023-10-17T15:50:05.175305+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22 ```Lastly, maybe this?
Logs
```python Logger: homeassistant.components.sensor Source: helpers/entity_platform.py:857 Integration: Sensor ([documentation](https://www.home-assistant.io/integrations/sensor), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+sensor%22)) First occurred: October 16, 2023 at 7:00:23 AM (11 occurrences) Last logged: 7:00:25 AM Updating amcrest sensor took longer than the scheduled update interval 0:00:10 Updating zha sensor took longer than the scheduled update interval 0:00:30 ```Additional information
No response