core: Homekit controller fatal error protocol data received
The problem
I have connected the (new) Netatmo video doorbell via Homekit controller to HA. I receive now following error:
Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:93
First occurred: 3:12:25 PM (4 occurrences)
Last logged: 3:13:15 PM
Error doing job: Fatal error: protocol.data_received() call failed.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 862, in _read_ready__data_received
self._protocol.data_received(data)
File "/usr/local/lib/python3.8/site-packages/aiohomekit/controller/ip/connection.py", line 201, in data_received
super().data_received(decrypted)
File "/usr/local/lib/python3.8/site-packages/aiohomekit/controller/ip/connection.py", line 95, in data_received
data = self.current_response.parse(data)
File "/usr/local/lib/python3.8/site-packages/aiohomekit/http/response.py", line 56, in parse
self.version = line[0].decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 1: invalid start byte
What is version of Home Assistant Core has the issue?
core-2021.2.3
What was the last working version of Home Assistant Core?
new error
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Netatmo via Homekit-controller
Link to integration documentation on our website
https://www.home-assistant.io/integrations/homekit_controller
Example YAML snippet
# Put your YAML below this line
Anything in the logs that might be useful for us?
# Put your logs below this line
Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:93
First occurred: 3:12:25 PM (5 occurrences)
Last logged: 3:17:24 PM
Error doing job: Fatal error: protocol.data_received() call failed.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 862, in _read_ready__data_received
self._protocol.data_received(data)
File "/usr/local/lib/python3.8/site-packages/aiohomekit/controller/ip/connection.py", line 201, in data_received
super().data_received(decrypted)
File "/usr/local/lib/python3.8/site-packages/aiohomekit/controller/ip/connection.py", line 95, in data_received
data = self.current_response.parse(data)
File "/usr/local/lib/python3.8/site-packages/aiohomekit/http/response.py", line 56, in parse
self.version = line[0].decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 1: invalid start byte
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (11 by maintainers)
Maybe this fixes it? https://github.com/Jc2k/aiohomekit/pull/37