Ring doorbell

I’m also noticing a 30 second delay from when motion activated, until say the light turns on. My rule is below:

rule "Turn gOutsideFrontDoorLights On When Ring_Account_EventKind is motion activated at Night then turn off automatically after 60 seconds"
when
	Item Ring_Account_EventKind received update
then
	if (NightMode.state == ON && Ring_Account_EventKind.state == "motion")
	{
	sendCommand(Brightness_Outside_FrontDoor_Light, 100)
	
	createTimer(now.plusSeconds(60)) 
	[|
		if (Toggle_Outside_FrontDoor_Light.state == ON) {
			sendCommand(Toggle_Outside_FrontDoor_Light, OFF)
			}
    ]
	
	}
end

Anybody else experiencing a 30 second delay before it notices the motion from the Ring Doorbell?

Is the binding available on the Github page listed above? I did try to pick up the feed using the Windows Ring App and tried to screencast it but didn’t have any luck. If you can get the screencast packet information you should be able to get the live video into any video security app via Windows or Android.

@sonyxperiageek Unfortunately the “API” seems to be very slow on their side lately, I don’t know if there’s anything that can be done.

@Teknokill i’m not sure which github link you’re referring to but the latest that i’m aware of is mine at https://github.com/zolakk/openhab2-addons-ring/ . It seems that there’s a 10-30 second delay from the event (motion, ring) before there’s a valid link to the video file. I don’t know of any way to get live view going though.

At the moment to compensate, I am using an IFTTT applet to trigger the Hue light when it detects motion during night time. This works almost instantaneous. Would their rule not be using the API too?

Is there a way to send the ring video to telegram so its automated played when an notification even whit a 30 sec. delay doesen`t matter becurse if i am home i will get a message from the chime

One problem is that the binding pools for the status, it‘s not event driven. So maybe the IFTTT integration gets an event and could react instantly. However I also notice that the Ring App from time to time shows these delays

I’m guessing IFTTT has worked out something Ring to be officially supported and has access to the push/subscription system the official app uses. Unfortunately the only way the binding can work is by polling an undocumented and unsupported web service so it will always have the risk of being slower

Recent Outage/Change?

Anybody getting this on their Ring integration now? It’s been working for 6 months prior w/o any issues.

2019-12-21 13:59:40.981 [INFO ] [hab.binding.ring.internal.RestClient] - Creating Ring client for API version 11 on endPoint https://api.ring.com
2019-12-21 13:59:41.133 [ERROR] [hab.binding.ring.internal.RestClient] - Unhandled http response code: 403
2019-12-21 14:42:56.306 [INFO ] [hab.binding.ring.internal.RestClient] - Creating Ring client for API version 11 on endPoint https://api.ring.com
2019-12-21 14:42:56.513 [ERROR] [hab.binding.ring.internal.RestClient] - Unhandled http response code: 403

Both the Ring Account and Doorbell Things are offline now.

HTTP 403 is a standard HTTP status code communicated to clients by an HTTP server to indicate that access to the requested (valid) URL by the client is Forbidden for some reason.

Best, Jay

Hi, it seems ring’s website changed something. I’ve got a mail from ring with a short explanation, they’ve made some important security updates, and it seems they blocked authentication attempts from outside their ecosystem. Currently I’ve got the same forbidden (403) error codes…

Hi, it seems ring’s website changed something. I’ve got a mail from ring with a short explanation, they’ve made some important security updates, and it seems they blocked authentication attempts from outside their ecosystem. Currently I’ve got the same forbidden (403) error codes…

It seems this is the case, mine has stopped working too and unfortunately I don’t think I can get it to work anymore with their new authentication :frowning:

There was a big data leak regarding ring passwords, it is suggested to change your ring password

Good call, also enable 2 factor if you’ve not already done so

I can still log in (via web interface) with my original password; can’t image they would turn off the API based method on not changing your password when the web interface still works?

Best, Jay

I don’t own a ring…but I think they changed something because of the hack.

The password change is suggested because more than 3k users’ passwords were stolen and published.

Hey all, I recently installed a Ring Doorbell and have been playing around with openhab integration. I was able to get the ring binding to work, but because it doesn’t appear to be an ongoing project, I found a different way to integrate.

I found a Python Ring Doorbell project (https://github.com/tchellomello/python-ring-doorbell) and installed this on my raspberry pi that is running openhab. There is a bit of learning curve, but using the provided documentation I was able to write a couple of python scripts to update openhab items through the REST API. I initiate the scripts with exec binding command line switches that are triggered through rules.

As previously mentioned in this thread, the authentication protocols appeared to have been updated a few days ago and this caused some problems. I was able to find a bit of info on this reading issues #144-#150 here (https://github.com/tchellomello/python-ring-doorbell/issues).

Version update to Python Ring Doorbell 0.2.5 a couple of days ago fixed the authentication issues, but I began experiencing more issues yesterday. Not sure if this is another change or if there is some other problem on my end.

Hope this is helpful to someone.

The reason why OH Ring API stopped working below; I’ve left out the contact information and provided that to the OH Ring API developer via PM which I hope he can work with Ring to modify the API for OH.

From: Joshua Roth
Sent: Thursday, December 26, 2019 3:33 PM
To: Mr. Wiseman
Subject: Re: Ring API Stopped Working

We have blocked all non-Ring certified clients. I imagine openHab is one of those as we don’t run their software.

If you would like to get the repo working we can discuss ways to make it work. Does it support OAuth? Is it centralized and thus can have a PartenrID embedded?

Joshua Roth
Chief Technology Officer

I will see what I can do, but at the moment I can’t make any promises. I was barely able to adapt the original binding code that was found to work the first time and it sounds like this may require a bit of a re-write and to be honest my Java skills are very rusty and my time pretty limited as of late, unfortunately. I will certainly give it a try but I definitely welcome any help

I found this JS lib, which seems to be up-to-date: https://github.com/dgreif/ring
maybe that helps to understand differences

Maybe I could help on the Java side, but this requires understanding the required changes. Did you contacted Joshua Roth? It seems they are open to give your binding an officially supported application. Maybe request some API documentation so we could see how the new authentication works.

Thanks for the link, i’ll take a look. I’ve reached out to be added to the conversation, but I haven’t heard back yet - I’m guessing due to the new year, understandably. I did look over the binding code again as it had been a quite a while since i’ve been able to look at it and it does seem to already support oAuth so I’m hoping the change won’t be as drastic as I had initially feared. I will definitely request API documentation though, it would be nice to have something officially supported by Ring and operating properly for sure.

1 Like