[Component] Experiabox V10A device tracker (KPN)

Error setting up platform legacy
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/urllib3/connection.py”, line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File “/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py”, line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File “/usr/local/lib/python3.7/socket.py”, line 752, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name does not resolve

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 677, in urlopen
chunked=chunked,
File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 381, in _make_request
self._validate_conn(conn)
File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 976, in _validate_conn
conn.connect()
File “/usr/local/lib/python3.7/site-packages/urllib3/connection.py”, line 308, in connect
conn = self._new_conn()
File “/usr/local/lib/python3.7/site-packages/urllib3/connection.py”, line 172, in _new_conn
self, “Failed to establish a new connection: %s” % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2b0f15150>: Failed to establish a new connection: [Errno -2] Name does not resolve

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 449, in send
timeout=timeout
File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File “/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py”, line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘mijnmodem.kpn’, port=443): Max retries exceeded with url: /login.htm (Caused by NewConnectionError(’<urllib3.connection.HTTPSConnection object at 0x7fa2b0f15150>: Failed to establish a new connection: [Errno -2] Name does not resolve’))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/device_tracker/setup.py”, line 64, in async_setup_legacy
self.platform.get_scanner, hass, {DOMAIN: self.config}
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/experiaboxv10a/device_tracker.py”, line 32, in get_scanner
return ExperiaBoxV10ADeviceScanner(config[DOMAIN])
File “/config/custom_components/experiaboxv10a/device_tracker.py”, line 58, in init
self.success_init = self._update_info()
File “/config/custom_components/experiaboxv10a/device_tracker.py”, line 96, in _update_info
page_initial = session.get(login_url_initial, timeout = 10, verify = self.ca_cert_bundle)
File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 543, in get
return self.request(‘GET’, url, **kwargs)
File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 530, in request
resp = self.send(prep, **send_kwargs)
File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 643, in send
r = adapter.send(request, **kwargs)
File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘mijnmodem.kpn’, port=443): Max retries exceeded with url: /login.htm (Caused by NewConnectionError(’<urllib3.connection.HTTPSConnection object at 0x7fa2b0f15150>: Failed to establish a new connection: [Errno -2] Name does not resolve’))
Verbinding verbroken. Opnieuw verbinden…

Since the host “mijnmodem.kpn” is probably served by the DNS server of the KPN box, can you verify that you are using the DNS server of your Experiabox?
If you are not, you could add an alias to your /etc/hosts for it?

Hi Frank,

i tried to get this working on Telfort with the experiabox v10a. But unfortunately no succes.
if filled in the ip-address as the host (mijnmodem.kpn or similar does not exist in telfort environment)
I don’t think the telfort software works with SSL as well. Could you guide me to achieve this?

Is this project still alive? I have tried to get it running, but i can’t (i get a platform not found error). Or is there a new way?

I’m also interested for somebody who has a experiabox. I only want to use it to see some traffic from the wan port.

Greetings Thetmar.

I was hoping I could use this tracker but I get the following error:

Configuration warnings

Platform error ‘device_tracker’ from integration ‘experiaboxv10a’ - Integration ‘experiaboxv10a’ not found.