Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get Cluster Attributes #17

Open
met67 opened this issue Oct 13, 2021 · 1 comment
Open

Can't get Cluster Attributes #17

met67 opened this issue Oct 13, 2021 · 1 comment

Comments

@met67
Copy link

met67 commented Oct 13, 2021

When I try to read an attribute (e.g. app_version from Aqara Weather sensor)
image
I constantly get the following error in Home Assistant log:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/zha/api.py:679
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 9:19:53 AM (4 occurrences)
Last logged: 9:26:11 AM

[547770400288] Error handling message: Unknown error
[547681024800] Error handling message: Unknown error
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/api.py", line 679, in websocket_read_zigbee_cluster_attributes
    success, failure = await cluster.read_attributes(
  File "/usr/local/lib/python3.9/site-packages/zigpy/zcl/__init__.py", line 297, in read_attributes
    result = await self.read_attributes_raw(to_read, manufacturer=manufacturer)
  File "/usr/local/lib/python3.9/site-packages/zigpy/device.py", line 287, in request
    raise zigpy.exceptions.DeliveryError(
zigpy.exceptions.DeliveryError: [0x2513:1:0x0000]: Message send failure

Don't know if it is a problem in HA, in ZBGW or what... 😃

@MattWestb
Copy link

Your weather sensor is one sleeping end device.
Its being in deep sleep 95% of the time and then you is trying sending somthing to it it cant receiving it so ZHA getting time out / message send failure then not getting any response from it.

So you need waking it up then trying to sending somthing it it.
Do that with pressing the small button on the over side shortly and clicking read attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants