Platform name for BT Smart Hub

There are instructions on how to set up a BT Home Hub 5 (https://home-assistant.io/components/device_tracker.bt_home_hub_5/) but none on setting up a BT Smart Hub.
Any ideas on what the platform name is for the BT Smart Hub please? I have tried bt_smart_hub and bt_home_hub_6 but these are not recognised.
TIA

I don’t think there’s support for Home Hub 6 yet, unless Home Hub 5 works (bt_home_hub_5), try that if you haven’t.

Thanks for the quick reply. I changed the config to bt_home_hub_5 and the file is now working. But there is a massive error in the log file. I’m a complete novice with this so I have no idea what this means. Thanks for your help.

2017-10-25 07:48:32 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform bt_home_hub_5
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connection.py”, line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py”, line 83, in create_connection
raise err
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py”, line 73, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”, line 600, in urlopen
chunked=chunked)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”, line 356, in _make_request
conn.request(method, url, **httplib_request_kw)
File “/usr/lib/python3.5/http/client.py”, line 1106, in request
self._send_request(method, url, body, headers)
File “/usr/lib/python3.5/http/client.py”, line 1151, in _send_request
self.endheaders(body)
File “/usr/lib/python3.5/http/client.py”, line 1102, in endheaders
self._send_output(message_body)
File “/usr/lib/python3.5/http/client.py”, line 934, in _send_output
self.send(msg)
File “/usr/lib/python3.5/http/client.py”, line 877, in send
self.connect()
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connection.py”, line 166, in connect
conn = self._new_conn()
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connection.py”, line 150, in _new_conn
self, “Failed to establish a new connection: %s” % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7fdf0c630400>: Failed to establish a new connection: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py”, line 438, in send
timeout=timeout
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”, line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File “/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py”, line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=‘192.168.1.254’, port=80): Max retries exceeded with url: /nonAuth/home_status.xml (Caused by NewConnectionError(’<requests.packages.urllib3.connection.HTTPConnection object at 0x7fdf0c630400>: Failed to establish a new connection: [Errno 113] No route to host’,))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/init.py”, line 153, in async_setup_platform
platform.get_scanner, hass, {DOMAIN: p_config})
File “/usr/lib/python3.5/asyncio/futures.py”, line 361, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 296, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 274, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/bt_home_hub_5.py”, line 32, in get_scanner
scanner = BTHomeHub5DeviceScanner(config[DOMAIN])
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/bt_home_hub_5.py”, line 48, in init
data = _get_homehub_data(self.url)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/bt_home_hub_5.py”, line 92, in _get_homehub_data
response = requests.get(url, timeout=5)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/api.py”, line 72, in get
return request(‘get’, url, params=params, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/api.py”, line 58, in request
return session.request(method=method, url=url, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py”, line 518, in request
resp = self.send(prep, **send_kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py”, line 639, in send
r = adapter.send(request, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py”, line 502, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘192.168.1.254’, port=80): Max retries exceeded with url: /nonAuth/home_status.xml (Caused by NewConnectionError(’<requests.packages.urllib3.connection.HTTPConnection object at 0x7fdf0c630400>: Failed to establish a new connection: [Errno 113] No route to host’,))

Did you get anywhere with this I’m struggling with this. Looking at present detection.

Sorry no, I haven’t got any further. I have no programming experience so I don’t know where to start.

1 Like