[Re-release] Hubitat Ring Integration (Unofficial)

The Ring Alarm and Ring Lighting parts are all local, as the app communicates with the Ring Device's webhook. For Camera's Door/Bells, it's cloud based.

I for example when on vacation, if there is motion in my backyard I have my smart speakers (Sonos) start playing music. For my doorbell, I have it also ring a non-ring chime/speaker downstairs so we can hear it. If we are gone I also have the doorbell trigger music.

Is the performance much faster than using contact sensors & switches and using Alexa as a "middle man"?

I was finally able to sync Ring modes between the app and HE doing the above (although, it was kinda painful), as well as write rules around them. I definitely notice quite a bit of delay before my dashboard reflects the Ring status tho.

I get this warning when I poll every minute for lights on a Ring Floodlight Pro.

Your device is being used as an Amazon sidewalk device.

dev:5552023-09-26 02:30:38.240 PMwarnYour device is being used as an Amazon sidewalk device.
dev:5552023-09-26 02:29:37.865 PMwarnYour device is being used as an Amazon sidewalk device.
dev:5552023-09-26 02:28:37.539 PMwarnYour device is being used as an Amazon sidewalk device.
dev:5552023-09-26 02:27:37.201 PMwarnYour device is being used as an Amazon sidewalk device.

I'm in Canada and I don't have any options in Alexa, Ring or Amazon to disable it.

I tried commenting out a couple lines of code and the device seemed to function ok but it was highlighted in the device list, Can someone please tell me the correct way to remove this warning? Thanks in advance, I appreciate all the work put into anything Hubitat.

  if (msg.is_sidewalk_gateway) {
    log.warn("Your device is being used as an Amazon sidewalk device.")
  }

EDIT: I ended up moving all my ring devices to their own VLAN and the warning stopped.

I have my Z-wave locks paired to my Ring Alarm device and controllable in Hubitat through this plugin (I have them paired there, so that I can unlock the door from the Ring app after answering a doorbell notification.)

Is there any way to trigger an automation in Hubitat based on which code/ring user unlocks a lock?

@ardichoke - I just submitted a PR for the app groovy to add Discovery support for the Spotlight Cam Plus. I had to add a line to my local file to get it to discover.
"cocoa_spotlight": [name: "Ring Spotlight Cam Plus", driver: "Ring Virtual Light with Siren", dingable: true],

I also noticed that the logs are warning that the Spotlight Cam Plus is being used as an Amazon Sidewalk device. I'm not sure this is accurate. I've got two other camera devices (Doorbell 4 and Stick Up Cam) that report "is_sidewalk_gateway":false but the Spotlight Cam reports "is_sidewalk_gateway":true. Earlier in the response for all I see "sidewalk_connection": false.

I'm trying to get clarity from Ring Tech Support on this, but my very uneducated assumption is that sidewalk_connection indicates whether the device is being used as a sidewalk gateway, while is_sidewalk_gateway simply reports whether the device is capable of being used as a sidewalk gateway.

UPDATE:
I got confirmation from Ring tech support that is_sidewalk_gateway merely indicates whether a device can be used as a Sidewalk gateway, while sidewalk_connection indicates wether it is being used as a Sidewalk gateway.

So, if "is_sidewalk_gateway":true" BUT "sidewalk_connection":false, then the device is not being used as a Sidewalk gateway.
If "is_sidewalk_gateway":true" AND "sidewalk_connection":true, then the device is being used as a Sidewalk gateway.

I'll submit another PR later to add that logic check for the sidewalk warning.

I just enabled all the logging on my Ring-connected z-wave lock, and there's nothing in there that indicates the Ring user (or code) that is used to lock or unlock the lock. I think you would have to have the lock controlled directly by HE in order to get the ability to trigger based on whodunnit, though I don't know that for sure because I've never tried.

Hello,

I can’t seem to find anything about two WARN errors the Unofficial Ring App is generating. They started today after I Installed a Ring Doorbell and configured some Ring cameras to capture snapshots in the app. Appreciate some guidance.

When I installed the Doorbell:
Creating a Ring Video Doorbell Pro 2 with dni: RING||381222420

When I configured the snapshots:
snapshots:apirequestdings:Received unsupported kind 'on_demand' for device%20289002495

Edit: after a couple of hours these are happening:
apiRequestSnapshotImages HTTP error. Exception: status code: 404, reason phrase: Not Found. Not Found

And now:
apiRequestSnapshotImages HTTP error. Exception: status code: 404, reason phrase: Not Found. Not Found

The WARN error associated with snapshots logs at every refresh.

Thanks

Chris

I have an odd issue in that my doorbell isn't ever reporting any motion. Everything looks fine in IFTTT. All my other cameras report motion just fine. There aren't any errors in the logs. My gut is that I don't have something setup right in the Ring app. It's a Video Doorbell Pro 2.

Any ideas?

Also, If I'm using IFTTT can I turn off polling in the app?

I have a Doorbell Pro 2 and haven’t had any issues.

To debug this, I’d start by ensuring that the doorbell reports motion in the app. Then I’d test IFTTT to ensure that it receives motion events, and sends them to Hubitat. Then if all that works, I’d check in Hubitat to see if it receives the motion events from the doorbell.

Last time I had an issue with another model of doorbell, the issue was within IFTTT. I switched over to using Alexa instead and never had any more issues.

Thanks for the starting point. I did check the Ring app and it has video recordings, however those are all marked as Person Detected. When I filter the history events for motion there are none. Then I checked IFTTT. It hasn’t had any events…likely since I upgraded to this newer doorbell.

It seems with this doorbell maybe Ring is classifying them as people and packages, but not as motion. …or maybe I need to turn off people and package recognization.

I added the screenshots of the event history.


Sounds like that might be the issue. With Alexa, I had to create two rules - one for person events, one for motion:

Thanks. Bummer. I don’t have Alexa and don’t want to add it.

It may also require two rules in IFTTT…

I would set that up, however I can't find a ring trigger in IFTTT for Detect a Person.

Hey guys, I've got a problem and hoping someone cleverer than me can help!

I cannot get my ring alarm to integrate with my hubitat system. Was working fine but stopped so after trying a few things I removed the app and reinstalled. Still not working.

I'm getting some odd information in the logs for my API virtual device, can anyone point me in the right direction to fix it? I'm going away for 2 weeks in a couple of days and want it working properly for the housesitter!

How did you install the ring integration on your hub?

I used HPM. Ive now removed the app and everything from my hub and tried to start again. Now when i discover devices on the app after ive logged in i get this... Any advice?

I'd suggest removing all of the app files, restart your hub then re-add.

Ive just tried that but its still showing the unexpected error on the screenshot above

I have the same Error: cannot get property “id” on null object.

Log says “java.lang.NullPointerException: Cannot get property 'id' on null object on line 521 (method addDevices)”.

If I select an individual device, and I tried a few one at a time, the log shows this:
addDevices: Selected id 381222420, Selected device null

The id changes by device but the trace log remains the same.

I’ve removed the app, rebooted the hub and soft reset/restored the hub. When I try to reinstall, the location child object is created and I can see all my Ring cameras and the alarm hub. I select them, click next, and immediately receive the error.

This app has been great app, and I hope someone might have a solution.