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

Deserialization problems on read_attributes (EZSP 5) #19

Closed
rcloran opened this issue Jun 9, 2017 · 1 comment
Closed

Deserialization problems on read_attributes (EZSP 5) #19

rcloran opened this issue Jun 9, 2017 · 1 comment

Comments

@rcloran
Copy link
Collaborator

rcloran commented Jun 9, 2017

Exception:

DEBUG:bellows.ezsp:Application frame 63 (messageSentHandler) received
DEBUG:bellows.uart:Data frame: b'1556b157546f15b658944a24ab5593499c59d8770af29874f8de6782fcbf132d7e'
DEBUG:bellows.uart:Sending: b'82503a7e'
DEBUG:bellows.ezsp:Application frame 69 (incomingMessageHandler) received
ERROR:homeassistant.core:Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/zha/init.py", line 142, in async_device_initialized
discovered_info = yield from discoverendpoint_info(endpoint)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/zha/init.py", line 269, in discoverendpoint_info
allow_cache=True,
File "/opt/hass/.homeassistant/deps/bellows/zigbee/zcl/init.py", line 183, in read_attributes
for record in result[0]:
TypeError: 'uint8_t' object is not iterable

@rcloran
Copy link
Collaborator Author

rcloran commented Jun 9, 2017

Right. The frame from the log message encodes a Status.SOFTWARE_FAILURE inside a Default response. Probably the remote device didn't implement all of the attributes or something.

Bellows should probably raise an exception here.

rcloran added a commit that referenced this issue Jul 3, 2017
rcloran added a commit that referenced this issue Jul 3, 2017
rcloran added a commit that referenced this issue Jul 3, 2017
Adminiuga pushed a commit to Adminiuga/bellows that referenced this issue Sep 16, 2020
* Fixes zigpy#17 adds socket support

* better check for socket URL

* remove baudrate arg from create_serial_connection
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

1 participant