core: Ring integration stopped working

Home Assistant release with the issue: 0.103.2

Last working Home Assistant release (if known): 0.102

Operating environment (Hass.io/Docker/Windows/etc.): Hassio

Integration: Ring

Description of problem: Ring integration stopped working suddenly after upgrading to latest release.

2019-12-19 14:49:22 ERROR (SyncWorker_1) [homeassistant.components.ring] Unable to connect to Ring service: 403 Client Error: Forbidden for url: https://api.ring.com/clients_api/session
2019-12-19 14:49:23 ERROR (MainThread) [homeassistant.setup] Setup failed for ring: Integration failed to initialize.
2019-12-19 14:49:23 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform ring.camera: Unable to set up component.
2019-12-19 14:49:23 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform ring.binary_sensor: Unable to set up component.

update I have send ring an email and asked for explination, they replied on twitter to me with the fact that i need to sign up for ring partner to get API access.

See tweet:

https://twitter.com/diondk/status/1207677919339974658

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 37 (10 by maintainers)

Most upvoted comments

I am in touch with their CTO and working on getting a client ID/secret for Home Assistant to use. It will need an update to the Python lib https://github.com/tchellomello/python-ring-doorbell/issues/144

I just got this response from Ring:

We’ve been working with the Home Assistant open source community for a few weeks now. As you know, this is not an approved Ring system, nor is it using Ring approved Partner APIs. We will continue to work with folks to get Home Assistant to a place that works with Ring and meets our security needs. Hopefully you’ll stick around as we truly value you and the community support. Joshua Roth Chief Technology Officer jr@ring.com 310.925.2643

Fixed in 103.3

Response from ring, we are screwed… Anyone wants to buy a doorbell? i am going to search for a replacement bell.

Mine stopped working today 😦

Just FYI, while in the saga to version 0.103.2, all 3 of my problems were actually unrelated to 0.103.2

  1. EcoBee failed with expired token, (re config fix it)
  2. SmartThings failed with expired token, removing using the tool and re config fixed the issue.
  3. Ring failed because of this thread.

Thanks,

Oscar

I have send ring an email and asked for explination. will keep you guys posted.

Working for me in 103.5.

The only downside is I see about 10 DNS lookups a second to oath.ring.com

Regardless of what their CTO is saying, it still works for now with xernaj’s changes.

> 2019-12-19 18:16:18 INFO (SyncWorker_4) [homeassistant.loader] Loaded ring from custom_components.ring,
> 2019-12-19 18:16:18 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for ring which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.,
> 2019-12-19 18:16:19 INFO (SyncWorker_13) [homeassistant.util.package] Attempting install of https://github.com/xernaj/python-ring-doorbell/archive/fix/oauth-fail-due-to-blocked-user-agent.zip#ring_doorbell==0.2.4,
> 2019-12-19 18:16:31 INFO (SyncWorker_10) [homeassistant.util.package] Attempting install of https://github.com/xernaj/python-ring-doorbell/archive/fix/oauth-fail-due-to-blocked-user-agent.zip#ring_doorbell==0.2.4,
> 2019-12-19 18:16:42 INFO (SyncWorker_21) [homeassistant.util.package] Attempting install of https://github.com/xernaj/python-ring-doorbell/archive/fix/oauth-fail-due-to-blocked-user-agent.zip#ring_doorbell==0.2.4,
> 2019-12-19 18:16:55 INFO (MainThread) [homeassistant.setup] Setting up ring,
> 2019-12-19 18:17:05 WARNING (MainThread) [homeassistant.setup] Setup of ring is taking over 10 seconds.,
> 2019-12-19 18:17:05 INFO (MainThread) [homeassistant.setup] Setup of domain ring took 10.7 seconds.,
> 2019-12-19 18:17:05 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.ring,
> 2019-12-19 18:17:05 INFO (MainThread) [homeassistant.components.camera] Setting up camera.ring,
> 2019-12-19 18:17:15 WARNING (MainThread) [homeassistant.components.camera] Setup of platform ring is taking over 10 seconds.

… Cameras working now.

So I guess we need Nabu Casa to get partner status, or start again to reverse engineer the app 😭