I installed Ring no problem at all… (my first device with HA… was excited ). I was working perfectly the console was populate with all three ring devices I have. I had it doing actions based on doorbell pressed.
I went away to work on other stuff, door bell rang and the stuff I had taught did not work. Looked in to it, finally reduced the configuration down to
I see others are having some problems but don’t seem to be matching my errors so checking in to see if anyone can make sense of the errors/issue.
ring:
username: myemail
password: mypassword
When I restart Hassio I get the following errors:
THANKS in advance for your help.
2020-01-09 19:15:03 ERROR (MainThread) [homeassistant.setup] Error during setup of component ring
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)
File “/usr/local/lib/python3.7/site-packages/ring_doorbell/init.py”, line 62, in init
self._process_cached_session()
File “/usr/local/lib/python3.7/site-packages/ring_doorbell/init.py”, line 91, in _process_cached_session
req = self.query(url, raw=True)
File “/usr/local/lib/python3.7/site-packages/ring_doorbell/init.py”, line 198, in query
‘Bearer {}’.format(self._get_oauth_token())
File “/usr/local/lib/python3.7/site-packages/ring_doorbell/init.py”, line 111, in _get_oauth_token
self.auth = oauth.refresh_tokens()
File “/usr/local/lib/python3.7/site-packages/ring_doorbell/auth.py”, line 59, in refresh_tokens
token = self._oauth.refresh_token(OAuth.ENDPOINT)
File “/usr/local/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py”, line 446, in refresh_token
self.token = self._client.parse_request_body_response(r.text, scope=self.scope)
File “/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/clients/base.py”, line 421, in parse_request_body_response
self.token = parse_token_response(body, scope=scope)
File “/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py”, line 431, in parse_token_response
validate_token_parameters(params)
File “/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py”, line 441, in validate_token_parameters
raise MissingTokenError(description=“Missing access token parameter.”)
oauthlib.oauth2.rfc6749.errors.MissingTokenError: (missing_token) Missing access token parameter.