Ring Doorbell Plugin (version 0.1.25)

Posted on
Fri Jun 01, 2018 9:43 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Ring Doorbell Plugin (version 0.1.25)

I've just sent an email to the developer asking about his status WRT the plugin.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jun 01, 2018 9:55 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Ring Doorbell Plugin (version 0.1.25)

autolog wrote:
Looks like it has been fixed in the last 24 hours in this github python project - davglass/doorbot - so I guess the good news is that it can be made to work. :)


That's actually a JavaScript project. Taking a quick look at it seems to validate that Ring has changed their authentication to OAuth. The Python project you linked to further up this thread has a bug filed so perhaps they'll get their project updated. That might help get this plugin working again, depending on the developer's status.

BTW and FYI, we started including the oauthlib 2.0.2 and requests_oauthlib 0.8.0 Python modules with Indigo 7.1, which may be useful to plugin developers who have to authenticate with OAuth. IMO, OAuth sucks (talk about design by committee) and is moderately complex to implement, but it is what everyone is moving to. These two libs may help you get over the OAuth complexity hump.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jun 01, 2018 6:02 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin (version 0.1.25)

I plan to spend some time working on this over the weekend.

Mike

Posted on
Sat Jun 02, 2018 12:56 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Ring Doorbell Plugin (version 0.1.25)

Hi Mike,
mpoulson wrote:
I plan to spend some time working on this over the weekend.

Mike

That's great news - many thanks. :D

Posted on
Sat Jun 02, 2018 2:39 am
McJohn offline
User avatar
Posts: 631
Joined: Dec 18, 2012
Location: The Netherlands

Re: Ring Doorbell Plugin (version 0.1.25)

+ 1 :D (Thumbs up!)

Posted on
Sat Jun 02, 2018 11:21 am
immergruen offline
Posts: 17
Joined: Jan 31, 2016

Re: Ring Doorbell Plugin (version 0.1.25)

just installed my ring, can‘t wait for your update
:mrgreen:

Posted on
Sun Jun 03, 2018 1:36 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin (version 0.1.28)

I have pushed 0.1.28 to add oAuth support also resolve the version check errors.

Sorry for the delay keeping things updated. My day-job @ Microsoft consumes most of my time.

Please let me know how things go :)

Posted on
Sun Jun 03, 2018 4:05 pm
mclass offline
Posts: 312
Joined: May 13, 2015
Location: Melbourne, Australia

Re: Ring Doorbell Plugin (version 0.1.25)

Thanks for the prompt response to this issue, Mike!

Seems to have resolved the issue OK here!

mclass


Sent from my iPad using Tapatalk

Posted on
Mon Jun 04, 2018 1:05 am
McJohn offline
User avatar
Posts: 631
Joined: Dec 18, 2012
Location: The Netherlands

Re: Ring Doorbell Plugin (version 0.1.25)

Thanks for all your work in busy times!

Just downloaded version 0.1.29 from the Plugin Store. (You said 0.1.28?).
But unfortunately there is something going wrong:

Started plugin "Ring Doorbell 0.1.29"
Ring Doorbell Debug startup called
Ring Doorbell Debug updateFrequency = 86400.0
Ring Doorbell Debug Telemetry enabled
Ring Doorbell Debug Starting Telemetry
Ring Doorbell Debug Will Authenticate
Ring Doorbell Debug Getting Oauth Token
Ring Doorbell Debug Getting Session Id


Ring Doorbell Error Error in plugin execution startup:

Traceback (most recent call last):
File "plugin.py", line 127, in startup
File "plugin.py", line 130, in login
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Ring.indigoPlugin/Contents/Server Plugin/Ring.py", line 80, in startup
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Ring.indigoPlugin/Contents/Server Plugin/Ring.py", line 97, in refreshAuth
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Ring.indigoPlugin/Contents/Server Plugin/Ring.py", line 129, in getOauthToken
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Ring.indigoPlugin/Contents/Server Plugin/Ring.py", line 151, in getSession
UnboundLocalError: local variable 'result' referenced before assignment


Ring Doorbell Debug Initializing Ring device: RingDeurbel
Ring Doorbell Debug Not authed


Ring Doorbell Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 174, in runConcurrentThread
TypeError: object of type 'bool' has no len()

Ring Doorbell Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)



(version 0.1.28 has the same error)

Posted on
Mon Jun 04, 2018 1:38 am
immergruen offline
Posts: 17
Joined: Jan 31, 2016

Re: Ring Doorbell Plugin (version 0.1.25)

Thank you for the fast update...
authentication failed, username or password.
The login on the ring website is working with the same username and password.
I don‘t know what to do.
I use the ring Videodoorbell 2 and hope you can help me.

Update to .29 solved it.

Thank you very much.

Posted on
Mon Jun 04, 2018 2:15 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Ring Doorbell Plugin (version 0.1.25)

McJohn wrote:
Thanks for all your work in busy times!

Just downloaded version 0.1.29 from the Plugin Store. (You said 0.1.28?).
But unfortunately there is something going wrong: ....
[SNIP]
... (version 0.1.28 has the same error)

I installed version 0.1.29 and had the same problem.

The solution was to edit the plugin's configuration and re-input my Ring userid and password (which in my case were empty fields).

Hope this helps? :)

Thanks Mike for the speedy update - all is working again. :D

Posted on
Mon Jun 04, 2018 4:22 am
McJohn offline
User avatar
Posts: 631
Joined: Dec 18, 2012
Location: The Netherlands

Re: Ring Doorbell Plugin (version 0.1.25)

Thanks for the hint my friend!
Just re-installed version 0.1.29 and a miracle happened:
without editing the plugin's configuration input, suddenly everything was working perfect and normal!

Many thanks!

Posted on
Mon Jun 18, 2018 2:45 am
McJohn offline
User avatar
Posts: 631
Joined: Dec 18, 2012
Location: The Netherlands

Re: Ring Doorbell Plugin (version 0.1.25)

We think the Ring plugin is unfortunately not very stable yet:

Spontaneous these kind of errors appears in the log:

Ring Doorbell Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 174, in runConcurrentThread
TypeError: object of type 'bool' has no len()

Ring Doorbell Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


When we restart the plugin the errors are gone for a while.

Posted on
Sun Jun 24, 2018 3:14 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin (version 0.1.25)

I added some extra error checking in 0.1.30. Let me know if you still see it after that update.

mike

Posted on
Mon Jul 09, 2018 7:46 am
McJohn offline
User avatar
Posts: 631
Joined: Dec 18, 2012
Location: The Netherlands

Re: Ring Doorbell Plugin (version 0.1.25)

Thanks for the update to 0.1.30

Unfortunately it gives an error;

Ring Doorbell Error Login to Ring site failed. Canceling processing!

And it isn't working anymore :(

Who is online

Users browsing this forum: No registered users and 1 guest