New Account - not working

Posted on
Tue Nov 20, 2018 9:55 am
Ramias offline
Posts: 272
Joined: Nov 24, 2015

New Account - not working

[Moderator Note] ZachBenz has started development of a new RingForIndigo plugin that should address the problem discussed in this thread. For details please see this new forum thread.

Just bought a new Ring Doorbell, band new Ring User. Version 0.1.30 of the plugin installed.

Using my Ring username (email address) and the password I use on the website and in the app, getting this in Indigo logs:

Code: Select all
   Error (client)                  timeout waiting for plugin response from com.mikepoulson.RingDoorbell for request UiClosed1
   Ring Doorbell Error             Error in plugin execution startup:

Traceback (most recent call last):
  File "plugin.py", line 129, in startup
  File "plugin.py", line 132, 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
KeyError: key UserID not found in dict

   Ring Doorbell                   the version of the plugin is up to date; version on server:0.1.30
   Ring Doorbell Error             Error getting events.
   Ring Doorbell Error             Error getting events.
   Ring Doorbell Error             Error getting events.
   Ring Doorbell Error             Error getting events.
   Ring Doorbell Error             Error getting events.
   Ring Doorbell Error             Reached max retry attempts.  Won't Refresh from Server. !
   Ring Doorbell Error             You may need to contact Mike for support.  Please post a message at http://forums.indigodomo.com/viewforum.php?f=235

Posted on
Tue Nov 20, 2018 2:38 pm
Ramias offline
Posts: 272
Joined: Nov 24, 2015

Re: New Account - not working

If it makes a difference, I upgraded to Mojave a few days prior to trying this (with reboots in between).

I've also reinstalled Indigo 7.2 on top of itself (in case there may have been a file system permissions issue) and ran the Fix Perms utility (but it ra against my Indigo 7 directory and not 7.2 directory).

My user name and password do not persist in the Ring plugin; i assume because it never logs on, and not due to permissions issues (I am able to change config values in other plug ins and they persist).

Posted on
Sat Oct 19, 2019 8:11 pm
Ramias offline
Posts: 272
Joined: Nov 24, 2015

Re: New Account - not working

Anybody else having issues with this plugin? I've never been able to get it to work.

Posted on
Thu Dec 19, 2019 12:26 pm
McJohn offline
User avatar
Posts: 631
Joined: Dec 18, 2012
Location: The Netherlands

Re: New Account - not working

Thank you for your input.
Unfortunately there are a lot of problems with the Ring plugin and the support is zero and that is very unfortunate.
It could be a nice doorbell extension to Indigo but it's really buggy.

At our site the 0.1.30 version never worked. So. the last years we used version 0.1.29 and that version worked most of the time (beside sometimes strange errors).
But suddenly last 24 hours it stopped working and gave a lot of errors.

We are wondering if someone is really using this plugin or is it only at the plugin store for the show?
Is there a final version/solution for this plugin?


With version 0.1.30:
Ring Doorbell Error Error in plugin execution startup:

Traceback (most recent call last):
File "plugin.py", line 129, in startup
File "plugin.py", line 139, in login
File "plugin.py", line 274, in buildAvailableDeviceList
TypeError: object of type 'NoneType' has no len()

Ring Doorbell Error Failed to get devices from Ring.com

Ring Doorbell Error Failed to get devices from Ring.com
Ring Doorbell Error Failed to get devices from Ring.com
Ring Doorbell Error Failed to get devices from Ring.com


With version 0.1.29:

Ring Doorbell Error Error in plugin execution startup:

Traceback (most recent call last):
File "plugin.py", line 127, in startup
File "plugin.py", line 137, in login
File "plugin.py", line 264, in buildAvailableDeviceList
TypeError: object of type 'NoneType' has no len()

Ring Doorbell Error Error in plugin execution runConcurrentThread:

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

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

Posted on
Thu Dec 19, 2019 12:49 pm
jay (support) offline
Site Admin
User avatar
Posts: 18219
Joined: Mar 19, 2008
Location: Austin, Texas

Re: New Account - not working

FYI, I just installed a Ring Doorbell this past weekend, installed the plugin from the store and it worked fine until 6:03PM CST last night. I then started getting that error. So it may just be a temporary issue, though I don't know for sure (I didn't enable 2FA on my account because of issues it would likely bring up).

I have no idea what his plans are WRT this plugin.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Dec 19, 2019 1:49 pm
McJohn offline
User avatar
Posts: 631
Joined: Dec 18, 2012
Location: The Netherlands

Re: New Account - not working

Thank you so much for the quick response Jay.

In our case (with the 0.1.29 version) these errors are indeed also from last night.
We are not using the 2FA.

Maybe you or someone else could dig into the errors and make a final version for once and forever?

Posted on
Thu Dec 19, 2019 2:37 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: New Account - not working

McJohn wrote:
Maybe you or someone else could dig into the errors and make a final version for once and forever?


Unfortunately the author has compiled the Ring part of his plugin and never included the non-compiled versions.

The error you're all seeing is because the DeviceList returned from Ring is empty and therefore throwing NoneType errors, but we can't dig into the source code to see why it's returning empty.

Jay, can you try contacting the author and see if he can release the uncompiled version to us?

We can update the plugin to not crash out when the DeviceList is empty, but its presumably not a good thing to have no devices because you then can't do anything with them. :)

Peter

Posted on
Thu Dec 19, 2019 2:51 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: New Account - not working

This was something I raised in this post way back in July 2017: Ring Doorbell Plugin

I think the current issue is that Ring are now enforcing 2FA - see this post on github: Ring API stopped working #142

So if I am reading it correctly, it looks like 2FA processing needs to be added into the plugin. :|

Posted on
Thu Dec 19, 2019 4:27 pm
jay (support) offline
Site Admin
User avatar
Posts: 18219
Joined: Mar 19, 2008
Location: Austin, Texas

Re: New Account - not working

I've send email(s) to the developer - we'll see what his reply is.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Dec 19, 2019 4:38 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: New Account - not working

Great.

The alternative is to re-integrate or rewrite the plugin with @tchellomello’s python Ring library once he’s tested and merged the pull requests linked by Jon.


Sent from my iPhone using Tapatalk Pro

Posted on
Thu Dec 19, 2019 4:57 pm
peteajr offline
Posts: 15
Joined: Jan 22, 2018

Re: New Account - not working

I'm having the same issue:
Dec 19, 2019, 2:52:14 PM
Ring Doorbell Error Error in plugin execution startup:

Traceback (most recent call last):
File "plugin.py", line 129, in startup
File "plugin.py", line 139, in login
File "plugin.py", line 274, in buildAvailableDeviceList
TypeError: object of type 'NoneType' has no len()

Ring Doorbell the version of the plugin is up to date; version on server:0.1.30

Dec 19, 2019, 2:52:40 PM
Ring Doorbell Error Failed to get devices from Ring.com

I turned on 2FA and that's when things went haywire. Today I turned off 2FA, restarted Indigo server and reloaded the plugin but still getting the error messages.
Is anyone working on a fix for this?

Posted on
Fri Dec 20, 2019 1:50 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: New Account - not working

peteajr wrote:
... Is anyone working on a fix for this?

I think the posts just above this one give the reason for the errors and the latest status - Jay is contacting the developer. :)

Posted on
Fri Dec 20, 2019 3:06 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: New Account - not working




Sent from my iPhone using Tapatalk Pro

Posted on
Fri Dec 20, 2019 8:36 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: New Account - not working

Potential good news? :D

I have downloaded the python library from @tchellomello and applied the changes from @xernaj and I can now access my Ring Doorbell running this library in a python terminal session.
See the discussion here: Fix/oauth fail due to blocked user agent #143

So just need to wait to see what will happen with updating the Indigo Store plugin and what its status is.

I don't want to duplicate any fix. :wink:

Posted on
Fri Dec 20, 2019 9:45 am
jay (support) offline
Site Admin
User avatar
Posts: 18219
Joined: Mar 19, 2008
Location: Austin, Texas

Re: New Account - not working

autolog wrote:
I don't want to duplicate any fix. :wink:


Still haven't heard back from the original developer. It is the holiday season, so he may be busy with other priorities. If it were me, I think I'd wait until after the holidays to see if he surfaces before doing anything. After that, if we hear nothing from him then the choice is to 1) build a new plugin or 2) build a replacement Ring.py file that mimics the functionality provided by Ring.pyc in the existing plugin.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Who is online

Users browsing this forum: No registered users and 1 guest