Hi,
I am getting an error in HA saying that Skybell HD cannot be setup.
Configuration is pretty basic:
skybell:
username: !secret skybell_username (my username in secrets.yaml file)
password: !secret skybell_password (my password in secrets.yaml file)
camera:
- platform: skybell
binary_sensor:
- platform: skybell
monitored_conditions:- button
- motion
switch:
- platform: skybell
monitored_conditions:- do_not_disturb
- motion_sensor
I use Let’s encrypt and port 443 is forwarded to port 8123 in my Asus router.
I also have problem with Garadget door opener and Honeywell Thermostat.
All of those have to connect to cloud service. My usernames and passwords are ok.
Here are the errors from the logs:
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/urllib3/connection.py”, line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/urllib3/util/connection.py”, line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File “/usr/lib/python3.5/socket.py”, line 733, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/urllib3/connectionpool.py”, line 601, in urlopen
chunked=chunked)
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/urllib3/connectionpool.py”, line 346, in _make_request
self._validate_conn(conn)
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/urllib3/connectionpool.py”, line 850, in _validate_conn
conn.connect()
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/urllib3/connection.py”, line 284, in connect
conn = self._new_conn()
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/urllib3/connection.py”, line 150, in _new_conn
self, “Failed to establish a new connection: %s” % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x6a486690>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/requests/adapters.py”, line 440, in send
timeout=timeout
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/urllib3/connectionpool.py”, line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/urllib3/util/retry.py”, line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘api.particle.io’, port=443): Max retries exceeded with url: /oauth/token (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x6a486690>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py”, line 171, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File “/usr/lib/python3.5/asyncio/tasks.py”, line 400, in wait_for
return fut.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, 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/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/cover/garadget.py”, line 68, in setup_platform
covers.append(GaradgetCover(hass, args))
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/cover/garadget.py”, line 95, in init
self.access_token = self.get_token()
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/cover/garadget.py”, line 178, in get_token
url, auth=(‘particle’, ‘particle’), data=args, timeout=10)
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/requests/api.py”, line 112, in post
return request(‘post’, url, data=data, json=json, **kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/requests/api.py”, line 58, in request
return session.request(method=method, url=url, **kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/requests/sessions.py”, line 508, in request
resp = self.send(prep, **send_kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/requests/sessions.py”, line 618, in send
r = adapter.send(request, **kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/requests/adapters.py”, line 508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘api.particle.io’, port=443): Max retries exceeded with url: /oauth/token (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x6a486690>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,))
2017-11-27 20:19:56 WARNING (Thread-4) [skybellpy] Skybell request exception: HTTPSConnectionPool(host=‘cloud.myskybell.com’, port=443): Max retries exceeded with url: /api/v3/login/ (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x68c01d30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,))
2017-11-27 20:19:56 ERROR (MainThread) [homeassistant.setup] Error during setup of component skybell
I guess I have a problem with HTTPS connection, buut I don’t know how to fix it.
Help!