Hi Guys,
I’ve got a problem with pairing my homebridge devices with HA.
I’ve installed HA on my Ubuntu 18.04 machine using this tutorial https://www.home-assistant.io/hassio/installation/
To be more precise, with:
curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -s
HA have installed fine. After that I wanted to control my homekit devices (accessible via homebridge) from HA.
In order to do that I’ve added
discovery:
enable:
- homekit
to my configuration file, and waited for homebridge to show up in the HA dashboard.
unfortunately I can’t add my homebridge to HA, because after inserting required PIN code, I’m getting an error describing that configurator/configure command have failed.
From the logs I’ve extracted this error log:
2018-12-21 00:04:51 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140314975792712] Error handling message: {‘type’: ‘call_service’, ‘domain’: ‘configurator’, ‘service’: ‘configure’, ‘service_data’: {‘configure_id’: ‘140314944670072-2’, ‘fields’: {‘code’: ‘031-45-154’}}, ‘id’: 15}
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/decorators.py”, line 16, in _handle_async_response
await func(hass, connection, msg)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/commands.py”, line 148, in handle_call_service
connection.context(msg))
File “/usr/local/lib/python3.6/site-packages/homeassistant/core.py”, line 1121, in async_call
self._execute_service(handler, service_call))
File “/usr/local/lib/python3.6/site-packages/homeassistant/core.py”, line 1143, in _execute_service
await handler.func(service_call)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/configurator.py”, line 221, in async_handle_service_call
call.data.get(ATTR_FIELDS, {}))
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/homekit_controller/init.py”, line 192, in device_config_callback
pairing_id)
File “/usr/local/lib/python3.6/site-packages/homekit/protocol.py”, line 76, in perform_pair_setup
assert TLV.kTLVType_State in response_tlv, response_tlv
AssertionError: {}
Does anyone here have any idea how to tackle this issue?