I too am having the same issue
Logger: homeassistant.components.device_tracker
Source: components/linksys_smart/device_tracker.py:102
Integration: Device Tracker (documentation, issues)
First occurred: 8:38:49 (1 occurrences)
Last logged: 8:38:49
Error setting up platform legacy
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 234, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.8/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/local/lib/python3.8/http/client.py", line 950, in send
self.connect()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 200, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0x7f6a53b74f40>, 'Connection to 192.168.1.100 timed out. (connect timeout=10)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 573, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.100', port=80): Max retries exceeded with url: /JNAP/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f6a53b74f40>, 'Connection to 192.168.1.100 timed out. (connect timeout=10)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py", line 231, in async_setup_legacy
scanner = await hass.async_add_executor_job(
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/linksys_smart/device_tracker.py", line 25, in get_scanner
return LinksysSmartWifiDeviceScanner(config[DOMAIN])
File "/usr/src/homeassistant/homeassistant/components/linksys_smart/device_tracker.py", line 39, in __init__
response = self._make_request()
File "/usr/src/homeassistant/homeassistant/components/linksys_smart/device_tracker.py", line 102, in _make_request
return requests.post(
File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='192.168.1.100', port=80): Max retries exceeded with url: /JNAP/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f6a53b74f40>, 'Connection to 192.168.1.100 timed out. (connect timeout=10)'))
My config is exactly as per the documentation
- platform: linksys_smart
host: 192.168.1.100
192.168.1.100 is my router IP as per the instructions and I have turned off "Access via wireless” as required in the docs (which is a bit of a nuisance).
Anyone that has ever asked for advice has mentioned they had usernames/passwords in their config, which I do no. They have always been shot down for having even mentioned this with comments such as “no password, the docs you link mention nothing about a password.”.
HOWEVER, I do not understand from the documention how HA is passing a userid or password as per the note below, if its not being entered anywhere;
If “Access via wireless” is not disabled, a connectivity conflict arises because the Home Assistant integration is trying to pass userid and password, but the router is only expecting a password.
My Linksys router is the MX5300 Mesh system. Im aware it may not be confirmed as working on the integration page, maybe this is all peoples issue is? Is there anyway of checking if the router shoudl work?