core: Trying to integrate Gardnea Smart Hub and getting error

Hi,

I receive a pop-up in Home Assistant asking to configure the HomeKit Accessory for my Gardena smart irrigation system.

Following the install steps it throws back an error.

This is what I get in the log. Any clue on how to solve that? I get that the smart sprinkler part may not be supported but there are sensor associated with the gateway that I would like to have. And as per the dock it seems to be supported.

Logger: aiohttp.server
Source: components/homekit_controller/config_flow.py:315
First occurred: 9:41:25 (2 occurrences)
Last logged: 9:41:43

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 123, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 163, in post
    return await super().post(request, flow_id)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 50, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 92, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 130, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 172, in _async_handle_step
    result: Dict = await getattr(flow, method)(user_input)
  File "/usr/src/homeassistant/homeassistant/components/homekit_controller/config_flow.py", line 315, in async_step_pair
    discovery = await self.controller.find_ip_by_device_id(self.hkid)
  File "/usr/local/lib/python3.7/site-packages/aiohomekit/controller/controller.py", line 92, in find_ip_by_device_id
    raise AccessoryNotFoundError("No matching accessory found")
aiohomekit.exceptions.AccessoryNotFoundError: No matching accessory found

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 47 (21 by maintainers)

Most upvoted comments

Have raised https://github.com/jstasiak/python-zeroconf/issues/236 for the AssertionError.