[Re-release] Hubitat Ring Integration (Unofficial)

Interesting, I don't think there is anything we could do in this community app code to fix your issue.
I'd suggest posting in either support or better a "remote admin service" topic to see what could be done here as it seems outside of the control of apps and specific to how Dashboards are now working with Remote Access.

1 Like

I was thinking the same thing and started a post in Support and linked here.. but no hits yet...

1 Like

Yes I was excited because at first i was able to access snapshots remotely using Remote Admin...but then things got goofy...

1 Like

Just glanced through the code and it's only designed to work local.

<pureSpeculation>
At least in the code I'm looking (which may or may not be the current version), it's doing a call to getLocalApiServerUrl() which when run remotely may be returning the remoteaccess.aws.hubitat..., but if so I would think it would revert back to the 192.168.... when run local.
</pureSpeculation>

That’s how it appeared to be working at first.... but something happens when I go back to local and the remote address sticks....

Having some issues with the snapshot feature,

java.lang.NullPointerException: Cannot get property 'RING-48725526' on null object on line 993 (serveSnapshot)

The Device ID is correct, snapshot is enabled on Ring's side..

I guess this is the place to report all problems?

Maybe I'm in a minority? Or maybe I'm just stupid and can't search properly?

I decided that I would give it a shot trying to integrate Ring. I'm not looking to do anything crazy. I only want when someone rings my doorbell and it's nightime that my lights on my front porch go on so I can see who is out there before I open the door. Seems logical, no? Something I liked with the integration with Ring / Wink but Wink.... well, ehhh

I've tried this a few times and spent several hours this afternoon so I'm going to start from scratch and keep this window open and document all of the different things I'm doing as I do it

1st

I cut/paste the code from here

And I pasted it under the "Apps Code"

2nd

I cut/paste the code from here

And I pasted it under "Drivers Code"

3rd

I went to Apps and then to "Add User App" and clicked on "Unofficial Ring Connect"

The very first drop down is "Log into Your Ring Account" so I selected that

I logged in keeping the 2FA toggled since I know Ring wants that. Got the text and provided the code. Got alerts on both of my phones that a new device was added (at this point I'm thinking Ring is going to cut me off since I've done this nearly 20 times this afternoon!)

I select the location I want and get an error

Error: Device type 'Ring API Virtual Device' in namespace 'ring-hubitat-codahq' not found

4th

I search the Apps Code for 'ring-hubitat-codahq' and find it toward the bottom under @field static def DEVICE TYPES

I changed a few things on the WS_API_DNI line

for name : "Ring API Virtual Device" >>> "Ring Video Doorbell" since that's what I have
for driver : "Ring API Virtual Device" >>> "Ring Virtual Camera"
and for dingable "false" >>> "true"

5th

I went back to Apps and "Add User App" and "Unofficial Ring Connect" and log in again with the same error as above.

6th

I realize that I read somewhere that I need the 0AUTH enabled so I go back to "Apps Code" and click to enable the 0AUTH

7th

I go back to Apps and "Add User App" and "Unofficial Ring Connect" and it won't even let me try to log in. So now I uninstall the "Unnofficial Ring Connect" app and re-add it and log in again and it works (interestingly it was only at this point that I got a text from Ring from a different number (22395 vs 78156)

8th

Now I click on "Getting Events from Ring" and then "IFTTT Integration and Documentation for Motion and Ring Alerts" and I get an error

Error: Cannot invoke method getDataValue() on null object

This is where I'm kind of stuck. At some point earlier this afternoon I got past this and was configuring an applet with IFTTT but the action I was posting didn't populate on the tutorial and I got stuck there as well

It's not a HUGE deal and I've been dealing without this functionality but it's kind of nice and, at this point, I've invested so much time I really want to conquer this one

Dunno about all that but I'd suggest cutting out a few of those steps and install via Hubitat Package Manager to make sure the installation is all done together and keeps up to date. You shouldn't have to change anything in the code. This supports both Ring Doorbells and Ring Security systems.

I did come across the package manager but didn't read much. Is it as simple as dropping the code into the package manager after installing it?

It's more like install package manager, then you can use package manager to install the Ring Integration (and a lot of other packages)

1 Like

So my luck.... I enter the login for my hub in package manager and it says error logging in to check username and pasword. I tried both my account login as well as created a new login under hub security and neither worked. Any ideas?

Do you have security turned on on your hub?

I tried it both with security turned on as well as off. I'll do a little more digging tomorrow to see if I can find some answers for myself. I'm being lazy tonight. There is much to learn here and a wealth of knowledge. I'm not so used to being outmanned by so many people much smarter than I !!!

If you don't want to use Hubitat Package Manager to install this, then this part here was almost certainly the problem. There is a driver with that name, "Ring API Virtual Device," and it's likely what you should have installed. Changing the name it's looking for to something else is probably only going to hurt things:

The installation instructions say, regarding this: " Required if you have a Ring Alarm hub or a Ring Beams (Smart Lighting) bridge." With just a doorbell, it's not clear to me that this would apply to you, but I suppose the error message suggests it does. However, if you're just looking for motion events, the documentation also strongly suggests using IFTTT for motion instead due to polling limitations with the Ring API (motion is not "pushed" in real-time). An Alexa Routine would likely also work (IFTTT is now only free for a few applets and isn't necessarily super-fast, not that anything would be). But maybe you don't need this integration (or at least it may not do exactly what you want) after all. :slight_smile:

I'm doing that for a few Camera's I have.
I have Alexa hit/switch a momentary http switch which then mimics the call from IFTTT.
See this post above on how to do that: [Re-release] Hubitat Ring Integration (Unofficial) - #444 by SoundersDude

So I am new to hubitat, and I've tried searching here but can't find the right thing to search by.
I've installed this app and the sub-apps using Hubitat Package Manager. I've gone in and logged into my ring account, and my sensors and cameras show up in my devices.
But what doesn't happen is the Ring Connect app never shows up in my apps list.
When I go to add User app, it acts like I've never logged in before and if I try to log in, it causes an error because my Ring controller is already in my devices list.
I do have other apps such as LIFX, Ecobee, and Rachio showing up in the list.
The problem is if I want to change anything in config, or set up a web hook in IFTTT, I can't do any of that. Any ideas? Thanks.

You should see an app called “Unofficial Ring Connect” in your app.

This app also creates devices for your Ring alarm sensors and devices (locks, etc.). Those will be in the device screen under Home location, most likely...

Also, welcome to the community!

I have the devices, but the app isn't listed. I've tried uninstalling and re-installing and have the same issue.

I tried inserting screenshots but I guess I don't have that permission.

Any ideas appreciated.

You should see the code installed in the "Apps Code" area:

Then, you should see the app in the "Apps" area:

You'll need to click on "Unofficial Ring Connect" to get to the settings to start the initial configuration.

Hi Rob.
I do have it listed in app code.
Still not showing up in apps.
When I try to go into add local apps, I get an error because I already have the devices installed.

Basically everything works (devices are found) the first time I set it up when adding the local app. But when I go back to apps, it's nowhere to be found.