Ring Configuration

I cannot seem to get the configuration to work, even though I know the credentials are right and I have tested the python ring API without issues.

Unable to connect to Ring service: 401 Client Error: Unauthorized for url: https://api.ring.com/clients_api/session

I have tried everything from single quoting, double quoting, and no quoting of the username and password. I cannot seem to make things work.

ring:
  username: "[email protected]"
  password: "randompasswordwithoutsymbols"

Below shows that the credentials work in python.

>>> from ring_doorbell import Ring
>>> myring = Ring('[email protected]', 'randompasswordwithoutsymbols', debug=True)
>>> myring.is_connected
True

Any idea on what I’m doing wrong?

First, you need to be on 0.103.5, if you’re not, you should upgrade.
That’ll probably fix the above problem. However, check this thread for the current status:

Basically, there was/is a problem where Ring has started blocking all API access that’s not using their Oauth2 provider. The integration was updated to use it, but there’s currently a side effect of enormous DNS traffic due to a bad token refresh setting. A fix is in the works and coming “soon”.