Page 2 of 3

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Fri Jun 01, 2018 9:43 am
by jay (support)
I've just sent an email to the developer asking about his status WRT the plugin.

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Fri Jun 01, 2018 9:55 am
by jay (support)
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.

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Fri Jun 01, 2018 6:02 pm
by mpoulson
I plan to spend some time working on this over the weekend.

Mike

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Sat Jun 02, 2018 12:56 am
by autolog
Hi Mike,
mpoulson wrote:
I plan to spend some time working on this over the weekend.

Mike

That's great news - many thanks. :D

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Sat Jun 02, 2018 2:39 am
by McJohn
+ 1 :D (Thumbs up!)

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Sat Jun 02, 2018 11:21 am
by immergruen
just installed my ring, can‘t wait for your update
:mrgreen:

Re: Ring Doorbell Plugin (version 0.1.28)

PostPosted: Sun Jun 03, 2018 1:36 pm
by mpoulson
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 :)

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Sun Jun 03, 2018 4:05 pm
by mclass
Thanks for the prompt response to this issue, Mike!

Seems to have resolved the issue OK here!

mclass


Sent from my iPad using Tapatalk

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Mon Jun 04, 2018 1:05 am
by McJohn
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)

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Mon Jun 04, 2018 1:38 am
by immergruen
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.

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Mon Jun 04, 2018 2:15 am
by autolog
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

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Mon Jun 04, 2018 4:22 am
by McJohn
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!

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Mon Jun 18, 2018 2:45 am
by McJohn
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.

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Sun Jun 24, 2018 3:14 pm
by mpoulson
I added some extra error checking in 0.1.30. Let me know if you still see it after that update.

mike

Re: Ring Doorbell Plugin (version 0.1.25)

PostPosted: Mon Jul 09, 2018 7:46 am
by McJohn
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 :(