This doesn’t look too hard, I just won’t be able to test it. Will try investigate over the next week or so
It won’t do anything yet, but in theory at least, https://smedley.id.au/tmp/org.openhab.binding.ring-5.1.0-SNAPSHOT.jar should ‘upgrade’ your ‘other’ Thing and add a switch open-door
There is no code yet to make it do anything though ![]()
Code at openhab-addons/bundles/org.openhab.binding.ring at ring-intercom · psmedley/openhab-addons · GitHub
I’ll try make it handle the command over the coming days
Hi @Paul_Smedley
so this version for 5.1.0 will not work with OH 4.3, right?
Thx!
Correct. There is some java 21 code in the binding that would need to be backported to java 17 in order to create a version compatible with 4.3
If anyone is interested, I’ve added functionality to download snapshots from cameras/doorbells - which is cool for being able to add an image to a sitemap ![]()
https://smedley.id.au/tmp/org.openhab.binding.ring-5.2.0-SNAPSHOT.jar
I’m also planning to add an extended description of the motion - the API seems to contain the detail on whether a person or vehicle were detected, and perhaps an on/off switch for each camera/doorbell to indicate that motion has been detected.
Any other suggestions?
Hello! I don’t own any Ring cameras.
However, I’ve been working on the Blink Binding lately. (Blink and Ring are similar products, both Amazon owned camera systems).
I am looking for advice and perhaps interested in some consistency between how the Blink and Ring bindings behave, if it makes sense to do so. Ideally, we would find someone in the audience who has both Ring and Blink devices and could facilitate the conversation.
If you’re reading this Ring Binding thread, consider visiting this Camera thread and giving your opinion there!
@Paul_Smedley maybe a stupid question, anyway… Usually when operating more than 1 Ring camera, a Standard subscription (10€) is required. Can you tell if it’s possible with the binding to access all cameras with just a Basic subscription (4€)?
I think it’s possible for basic functionality, but I believe video download requires a subscription
Motion detection and snapshot (download) for both doorbell and camera would be sufficiant for me.
I’m currently on Basic subscription (for the doorbell) and wouldn’t necessarily want to upgrade my plan for the outdoor camera…
Yes, I have 6 cameras as long as they are located at the same address, one subscription works for all of them.
Best, Jay
I’m assuming you still have a Ring intercom for testing purposes? I added support for spotlight cams to activate the light and siren - so to add support for the intercom unlock should be relatively easy.
With thanks to testing from @taratata2 initial support for opening doors/gates linked to an intercom is present in https://smedley.id.au/tmp/org.openhab.binding.ring-5.2.0-SNAPSHOT.jar
For a couple of days now I’m getting those log entries
00:51:55.708 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:account:bridge' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): AuthenticationException response from ring.com
00:51:55.708 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:stickupcam:bridge:gardenCam' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
00:51:55.708 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:doorbell:bridge:doorcamMC' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
00:51:59.618 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:account:bridge' changed from OFFLINE (COMMUNICATION_ERROR): AuthenticationException response from ring.com to ONLINE
00:51:59.618 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:doorbell:bridge:doorcamMC' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
00:51:59.619 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:stickupcam:bridge:gardenCam' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
00:52:00.831 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:account:bridge' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): AuthenticationException response from ring.com
00:52:00.831 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:stickupcam:bridge:gardenCam' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
00:52:00.831 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:doorbell:bridge:doorcamMC' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
00:52:04.809 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:account:bridge' changed from OFFLINE (COMMUNICATION_ERROR): AuthenticationException response from ring.com to ONLINE
00:52:04.809 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:doorbell:bridge:doorcamMC' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
00:52:04.809 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:stickupcam:bridge:gardenCam' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
00:52:05.951 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:account:bridge' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): AuthenticationException response from ring.com
00:52:05.951 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:doorbell:bridge:doorcamMC' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
00:52:05.952 [INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:stickupcam:bridge:gardenCam' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
When I disable the account thing for some time it comes back up to normal, but after a while it’s back like this.
I’m on jar version 5.2.0.202602070649
Unhelpful I know, but I’m not seeing this here. https://smedley.id.au/tmp/org.openhab.binding.ring-5.2.0-SNAPSHOT.jar is updated again with support for toggling the ‘Motion Detection’ support
Here’s a log with debug enabled:
10:32:19.252[DEBUG] [org.openhab.binding.ring.internal.handler.AbstractRingHandler] - DoorbellHandler - minuteTick - device doorcamMC
10:32:19.252[DEBUG] [org.openhab.binding.ring.internal.handler.AbstractRingHandler] - Battery Level Unchanged for doorcamMC - 92 vs 92
10:32:20.448[DEBUG] [org.openhab.binding.ring.internal.handler.AccountHandler] - RestClient reported AuthenticationException from api.ring.com when retrying refreshRegistry for the second time: Account rate-limited
10:32:20.448[INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:account:bridge' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): AuthenticationException response from ring.com
10:32:20.448[INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:doorbell:bridge:doorcamMC' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
10:32:20.448[INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:stickupcam:bridge:gardenCam' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)
10:32:24.009[DEBUG] [org.openhab.binding.ring.internal.handler.AccountHandler] - AccountHandler - refreshRegistry
10:32:24.009[DEBUG] [org.openhab.binding.ring.internal.RestClient] - RestClient - getRingDevices
10:32:24.135[DEBUG] [org.openhab.binding.ring.internal.handler.AbstractRingHandler] - StickupcamHandler - minuteTick - device gardenCam
10:32:24.135[DEBUG] [org.openhab.binding.ring.internal.handler.AbstractRingHandler] - Battery Level Unchanged for gardenCam - 92 vs 92
10:32:24.202[DEBUG] [org.openhab.binding.ring.internal.RingDeviceRegistry] - RingDeviceRegistry - addRingDevices - Ring device with duplicate id 718265091 ignored. Updating Json.
10:32:24.202[DEBUG] [org.openhab.binding.ring.internal.RingDeviceRegistry] - RingDeviceRegistry - addRingDevices - Ring device with duplicate id 716628123 ignored. Updating Json.
10:32:24.204[INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:account:bridge' changed from OFFLINE (COMMUNICATION_ERROR): AuthenticationException response from ring.com to ONLINE
10:32:24.204[INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:stickupcam:bridge:gardenCam' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
10:32:24.204[INFO] [openhab.event.ThingStatusInfoChangedEvent] - Thing 'ring:doorbell:bridge:doorcamMC' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
Does this ring a bell (no pun intended)? RestClient reported AuthenticationException from api.ring.com when retrying refreshRegistry for the second time: Account rate-limited
The only time I’ve seen this is when I was testing on multiple devices with the same account - and my account got ratelimited. What refresh frequency are you running? I’m at the default of 5 seconds.
That is my scenario - I have 2 devices in my account (“doorcamMC” and “gardenCam”) using the same bridge thing.
I now increased the refresh frequency from 5 to 15 - will report later.
Same bridge thing should be okay - I have the bridge set at 5 seconds, and 3 cameras, and aren’t seeing rate limits.
My issue was when I had two separate openHAB instances…