Ring integration setup fails

I’ve also joined the “doesn’t work club”.

Fix just merged into master, so pull the current master and copy the ring_doorbell folder to /usr/local/lib/python3.7/site-packages/ overwriting the old one. NB. Advanced users only ;-). On my hassio system I did it like this:

phil@Desktop-PC:~$ ssh root@hassio -p 22222
  _    _                 _       
 | |  | |               (_)      
 | |__| | __ _ ___ ___   _  ___  
 |  __  |/ _` / __/ __| | |/ _ \ 
 | |  | | (_| \__ \__ \_| | (_) |
 |_|  |_|\__,_|___/___(_)_|\___/ 

Welcome on Hass.io CLI.

For more details use 'help' and 'exit' to close.
If you need access to host system use 'login'.

hassio > login
> docker exec -it homeassistant /bin/bash
> cd /tmp
> git clone https://github.com/tchellomello/python-ring-doorbell.git
> mv /usr/local/lib/python3.7/site-packages/ring_doorbell /usr/local/lib/python3.7/site-packages/old_ring_doorbell
> cp -r python-ring-doorbell/ring_doorbell /usr/local/lib/python3.7/site-packages/
> exit
phil@Desktop-PC:~$ ssh root@hassio
~ $ rm /config/.ring_cache.pickle
~ $ hassio homeassistant restart

Last two steps at the end, delete the .ring_cache.pickle file from the config folder and restart.

3 Likes

Worked. Thank you

Working again…, well almost… On my system the binary Motion and Ding sensors no longer work, with the Last Motion and Last Ding sensor times updating correctly… anyone else see this ?

Bunch of errors in the log

2020-01-10 14:58:10 ERROR (SyncWorker_8) [ring_doorbell] Error!! HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)
2020-01-10 14:58:11 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.front_door fails
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/local/lib/python3.7/http/client.py", line 1344, in getresponse
    response.begin()
  File "/usr/local/lib/python3.7/http/client.py", line 306, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.7/http/client.py", line 267, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/local/lib/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)
  File "/usr/local/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 326, in recv_into
    raise timeout("The read operation timed out")
socket.timeout: The read operation timed out

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 720, 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 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py", line 735, in reraise
    raise value
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 423, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 331, in _raise_timeout
    self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 461, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/ring/camera.py", line 185, in update
    video_url = self._camera.recording_url(last_recording_id)
  File "/usr/local/lib/python3.7/site-packages/ring_doorbell/doorbot.py", line 329, in recording_url
    req = self._ring.query(url, raw=True)
  File "/usr/local/lib/python3.7/site-packages/ring_doorbell/__init__.py", line 246, in query
    headers=auth_header, timeout=query_timeout)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)
2020-01-10 15:08:43 ERROR (SyncWorker_14) [ring_doorbell] Error!! HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)
2020-01-10 15:08:43 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/local/lib/python3.7/http/client.py", line 1344, in getresponse
    response.begin()
  File "/usr/local/lib/python3.7/http/client.py", line 306, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.7/http/client.py", line 267, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/local/lib/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)
  File "/usr/local/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 326, in recv_into
    raise timeout("The read operation timed out")
socket.timeout: The read operation timed out

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 720, 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 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py", line 735, in reraise
    raise value
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 423, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 331, in _raise_timeout
    self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/ring/__init__.py", line 79, in timer_hub_refresh
    hub_refresh()
  File "/usr/src/homeassistant/homeassistant/components/ring/__init__.py", line 87, in hub_refresh
    camera.update()
  File "/usr/local/lib/python3.7/site-packages/ring_doorbell/generic.py", line 56, in update
    self._get_health_attrs()
  File "/usr/local/lib/python3.7/site-packages/ring_doorbell/generic.py", line 103, in _get_health_attrs
    self._health_attrs = self._ring.query(url).get('device_health')
  File "/usr/local/lib/python3.7/site-packages/ring_doorbell/__init__.py", line 246, in query
    headers=auth_header, timeout=query_timeout)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)
2020-01-10 15:12:22 ERROR (SyncWorker_12) [ring_doorbell] Error!! HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)
2020-01-10 15:12:22 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.front_door fails
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/local/lib/python3.7/http/client.py", line 1344, in getresponse
    response.begin()
  File "/usr/local/lib/python3.7/http/client.py", line 306, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.7/http/client.py", line 267, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/local/lib/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)
  File "/usr/local/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 326, in recv_into
    raise timeout("The read operation timed out")
socket.timeout: The read operation timed out

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 720, 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 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py", line 735, in reraise
    raise value
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 423, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 331, in _raise_timeout
    self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 461, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/ring/camera.py", line 185, in update
    video_url = self._camera.recording_url(last_recording_id)
  File "/usr/local/lib/python3.7/site-packages/ring_doorbell/doorbot.py", line 329, in recording_url
    req = self._ring.query(url, raw=True)
  File "/usr/local/lib/python3.7/site-packages/ring_doorbell/__init__.py", line 246, in query
    headers=auth_header, timeout=query_timeout)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)

Thank you got it working, but all I had to do was replace the ring_doorbell folder in config and reboot.

This worked for me! Thank you.

I have the opposite problem after manually updating /usr/local/lib/python3.7/site-packages/ring_doorbell. My ring binary sensors and sensors work but my cameras don’t:

2020-01-10 11:46:07 ERROR (SyncWorker_31) [ring_doorbell] Error!! HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)
2020-01-10 11:46:07 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform ring
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/local/lib/python3.7/http/client.py", line 1344, in getresponse
    response.begin()
  File "/usr/local/lib/python3.7/http/client.py", line 306, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.7/http/client.py", line 267, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/local/lib/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)
  File "/usr/local/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 326, in recv_into
    raise timeout("The read operation timed out")
socket.timeout: The read operation timed out

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 720, 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 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py", line 735, in reraise
    raise value
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 423, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 331, in _raise_timeout
    self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/ring/camera.py", line 49, in setup_platform
    cams.append(RingCam(hass, camera, config))
  File "/usr/src/homeassistant/homeassistant/components/ring/camera.py", line 87, in __init__
    self._video_url = self._camera.recording_url(self._last_video_id)
  File "/usr/local/lib/python3.7/site-packages/ring_doorbell/doorbot.py", line 329, in recording_url
    req = self._ring.query(url, raw=True)
  File "/usr/local/lib/python3.7/site-packages/ring_doorbell/__init__.py", line 246, in query
    headers=auth_header, timeout=query_timeout)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.ring.com', port=443): Read timed out. (read timeout=5)
1 Like

With the fix above I am now getting

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 176, in _async_setup_component
    component.setup, hass, processed_config  # type: ignore
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/ring/__init__.py", line 55, in setup
    ring = Ring(username=username, password=password, cache_file=cache)
TypeError: __init__() got an unexpected keyword argument 'username'
2020-01-11 11:10:08 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform ring.binary_sensor: Unable to set up component.
2020-01-11 11:10:08 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform ring.camera: Unable to set up component.

Yep same here. Running HA in virtenv and moved the feels to the relevant area and now getting the above

Error: Error during setup of component ring

    HEADERS = {
       'Content-Type': 'application/x-www-form-urlencoded; charset: UTF-8',
       'User-Agent': 'ring/5.21.0.5 CFNetwork/1121.2.2 Darwin/19.2.0',
       'Accept-Encoding': 'gzip, deflate'
}

System

Systemzustand
 arch	x86_64
 dev	false
 docker	false
 hassio	false
 os_name	Linux
 python_version	3.7.5
 timezone	Europe/Vaduz
 version	0.103.6
 virtualenv	true
 ring_doorbell  Installing latest development

Error Messages

 Jan 11 13:12:57 zeusus hass[22230]: 2020-01-11 13:12:57 ERROR (MainThread) [homeassistant.setup] Error during setup of component ring
 Jan 11 13:12:57 zeusus hass[22230]: Traceback (most recent call last):
 Jan 11 13:12:57 zeusus hass[22230]:   File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 176, in _async_setup_component
 Jan 11 13:12:57 zeusus hass[22230]:     component.setup, hass, processed_config  # type: ignore
 Jan 11 13:12:57 zeusus hass[22230]:   File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
 Jan 11 13:12:57 zeusus hass[22230]:     result = self.fn(*self.args, **self.kwargs)
 Jan 11 13:12:57 zeusus hass[22230]:   File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/ring/__init__.py", line 55, in setup
 Jan 11 13:12:57 zeusus hass[22230]:     ring = Ring(username=username, password=password, cache_file=cache)
 Jan 11 13:12:57 zeusus hass[22230]:   File "/srv/homeassistant/lib/python3.7/site-packages/ring_doorbell/__init__.py", line 62, in __init__
 Jan 11 13:12:57 zeusus hass[22230]:     self._process_cached_session()
 Jan 11 13:12:57 zeusus hass[22230]:   File "/srv/homeassistant/lib/python3.7/site-packages/ring_doorbell/__init__.py", line 91, in _process_cached_session
 Jan 11 13:12:57 zeusus hass[22230]:     req = self.query(url, raw=True)
 Jan 11 13:12:57 zeusus hass[22230]:   File "/srv/homeassistant/lib/python3.7/site-packages/ring_doorbell/__init__.py", line 198, in query
 Jan 11 13:12:57 zeusus hass[22230]:     'Bearer {}'.format(self._get_oauth_token())
 Jan 11 13:12:57 zeusus hass[22230]:   File "/srv/homeassistant/lib/python3.7/site-packages/ring_doorbell/__init__.py", line 111, in _get_oauth_token
 Jan 11 13:12:57 zeusus hass[22230]:     self.auth = oauth.refresh_tokens()
 Jan 11 13:12:57 zeusus hass[22230]:   File "/srv/homeassistant/lib/python3.7/site-packages/ring_doorbell/auth.py", line 59, in refresh_tokens
 Jan 11 13:12:57 zeusus hass[22230]:     token = self._oauth.refresh_token(OAuth.ENDPOINT)
 Jan 11 13:12:57 zeusus hass[22230]:   File "/srv/homeassistant/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 446, in refresh_token
 Jan 11 13:12:57 zeusus hass[22230]:     self.token = self._client.parse_request_body_response(r.text, scope=self.scope)
 Jan 11 13:12:57 zeusus hass[22230]:   File "/srv/homeassistant/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 421, in parse_request_body_response
 Jan 11 13:12:57 zeusus hass[22230]:     self.token = parse_token_response(body, scope=scope)
 Jan 11 13:12:57 zeusus hass[22230]:   File "/srv/homeassistant/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 431, in parse_token_response
 Jan 11 13:12:57 zeusus hass[22230]:     validate_token_parameters(params)
 Jan 11 13:12:57 zeusus hass[22230]:   File "/srv/homeassistant/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 441, in validate_token_parameters
 Jan 11 13:12:57 zeusus hass[22230]:     raise MissingTokenError(description="Missing access token parameter.")
 Jan 11 13:12:57 zeusus hass[22230]: oauthlib.oauth2.rfc6749.errors.MissingTokenError: (missing_token) Missing access token parameter.
 Jan 11 13:12:58 zeusus hass[22230]: 2020-01-11 13:12:58 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform ring.binary_sensor: Unable to set up component.
 Jan 11 13:13:06 zeusus hass[22230]: 2020-01-11 13:13:06 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform ring.sensor: Unable to set up component.

Is there a solution or is it no longer possible to use ring_doorbell?

Solution is coming, Paulus is currently working on a integrating the ring setup into HA with 2FA. But, my ring app now has a new feature for person detection, which will mean the API has probably changed regarding motion alerts, so anticipated that once the Oauth2 issue is fixed and the intergration with HA is done we may not have all of it working until we get a proper Partner API from ring.

4 Likes

Ooohhh…person detection though!! :slight_smile:

1 Like

See

2 Likes

Just turned it on in my Ring app, thanks for the tip!

1 Like

Message From Paulus
For Home Assistant users: 0.104.0b3 will include a fix for Ring.

Fantastic - and it survived a restart too. Well done Paulus

ring Binary sensor (Boolean) not update

robert@fishhass:~$ docker-compose pull
Pulling homeassistant … error

ERROR: for homeassistant manifest for homeassistant/home-assistant:0.104.0b4 not found: manifest unknown: manifest unknown

It’s now 105
Just checked mine
104.0b3

Yes the ring motion sensor doesn’t work API has change probably due to the person detection feature now available. Last motion and activity do update.