I’m getting the following error consistently even when I don’t have netgear configuring under device_tracker.
> 16-05-06 12:29:07 pynetgear: Error talking to API
> Traceback (most recent call last):
> File
> "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py",
> line 142, in _new_conn
> (self.host,
> self.port), self.timeout, **extra_kw)
> File
> "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/connection.py",
> line 91, in create_connection
> raise err
> File
> "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/connection.py",
> line 81, in create_connection
> sock.connect(sa)
> OSError: [Errno 101] Network is unreachable
>
> During handling of the above exception, another exception
> occurred:
>
> Traceback (most recent call last):
> File
> "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py",
> line 578, in urlopen
> chunked=chunked)
> File
> "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py",
> line 362, in _make_request
>
> conn.request(method, url, **httplib_request_kw)
> File
> "/usr/lib/python3.4/http/client.py", line 1090, in request
>
> self._send_request(method, url, body, headers)
> File
> "/usr/lib/python3.4/http/client.py", line 1128, in _send_request
>
> self.endheaders(body)
> File
> "/usr/lib/python3.4/http/client.py", line 1086, in endheaders
>
> self._send_output(message_body)
> File
> "/usr/lib/python3.4/http/client.py", line 924, in _send_output
> self.send(msg)
> File
> "/usr/lib/python3.4/http/client.py", line 859, in send
> self.connect()
> File
> "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py",
> line 167, in connect
> conn =
> self._new_conn()
> File
> "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py",
> line 151, in _new_conn
> self, "Failed
> to establish a new connection: %s" % e)
> requests.packages.urllib3.exceptions.NewConnectionError:
> <requests.packages.urllib3.connection.HTTPConnection object at
> 0x71d83ed0>: Failed to establish a new connection: [Errno 101] Network is
> unreachable
>
> During handling of the above exception, another exception
> occurred:
>
> Traceback (most recent call last):
> File
> "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line
> 403, in send
> timeout=timeout
> File
> "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py",
> line 623, in urlopen
>
> _stacktrace=sys.exc_info()[2])
> File
> "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/retry.py",
> line 281, in increment
> raise
> MaxRetryError(_pool, url, error or ResponseError(cause))
> requests.packages.urllib3.exceptions.MaxRetryError:
> HTTPConnectionPool(host='routerlogin.net', port=5000): Max retries exceeded
> with url: /soap/server_sa/ (Caused by
> NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
> object at 0x71d83ed0>: Failed to establish a new connection: [Errno 101]
> Network is unreachable',))
>
> During handling of the above exception, another exception
> occurred:
>
> Traceback (most recent call last):
> File
> "/home/pi/.homeassistant/deps/pynetgear/__init__.py", line 113, in
> _make_request
> self.soap_url,
> headers=headers, data=message, timeout=10)
> File
> "/usr/local/lib/python3.4/dist-packages/requests/api.py", line 111,
> in post
> return
> request('post', url, data=data, json=json, **kwargs)
> File
> "/usr/local/lib/python3.4/dist-packages/requests/api.py", line 57, in
> request
> return
> session.request(method=method, url=url, **kwargs)
> File
> "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line
> 475, in request
> resp =
> self.send(prep, **send_kwargs)
> File
> "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line
> 585, in send
> r =
> adapter.send(request, **kwargs)
> File
> "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line
> 467, in send
> raise
> ConnectionError(e, request=request)
> requests.exceptions.ConnectionError:
> HTTPConnectionPool(host='routerlogin.net', port=5000): Max retries exceeded
> with url: /soap/server_sa/ (Caused by
> NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
> object at 0x71d83ed0>: Failed to establish a new connection: [Errno 101]
> Network is unreachable',))
> 16-05-06 12:29:07
> homeassistant.components.device_tracker.netgear: Failed to Login
> 16-05-06 12:29:07 homeassistant.components.device_tracker:
> Error setting up platform netgear
My configuration.yaml:
> device_tracker:
> - platform: owntracks
> max_gps_accuracy: 400
> track_new_devices: no
> interval_seconds: 12
> consider_home: 180
> - platform: nmap_tracker
> hosts: 192.168.13.2-254
> home_interval: 10
Anyone else running into this? Do I have something configured wrong?
Thanks,
Yang