Hi guys,
I have a Xiaomi Gateway and it worked well before “aqara” update and it seems to work well now, but I got this message all the time when I restart HA:
Failed config
General Errors:
- Component not found: xiaomi_aquara
- Setup failed for xiaomi_aquara: Component not found.
I don’t know whats wrong because everything works well. This is what in my configuration.yaml:
xiaomi_aqara:
discovery_retry: 5
gateways:
- mac: Gateway MAC address here
key: Gateway token here
This is the repeatedly error message in log file:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/xiaomi.py", line 113, in _retrieve_list
res = requests.get(url, timeout=5, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 518, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 639, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='192.168.31.1', port=80): Read timed out. (read timeout=5)
2017-10-27 08:09:28 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from xiaomi took longer than the scheduled scan interval 0:00:12
2017-10-27 08:09:30 ERROR (SyncWorker_9) [homeassistant.components.device_tracker.xiaomi] Connection to the router timed out at URL http://192.168.31.1/cgi-bin/luci/;stok=036ace34426fc19f588c6c2cb226eef9/api/misystem/devicelist
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/usr/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.6/http/client.py", line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
I can use my gateway light, xiaomi button, cube, sensors, everything. What’s wrong than?