New RingForIndigo Plugin Under Development
New RingForIndigo Plugin Under Development
I've written a new Ring plugin using tchellomello's python library. Doing initial testing, debugging, and refinement over the next few days, then I'll be ready to share with others to test.
ZachBenz's Plugins: RingForIndigo
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
RingForIndigo Plugin
Excellent, looking forward to giving it a spin!
Re: New Account - not working
Looks like Ring has been fiddling with their API a lot over the past few days, breaking tchellomello's python library periodically (not surprising, all things considered). A little frustrating on the test and debug front as a result... hopefully things will stabilize soon.
ZachBenz's Plugins: RingForIndigo
Re: New Account - not working
Alright, assuming the good folks at Ring take a holiday break and don't make any more backend changes, I'm close to a 1.0 release on the tchellomello based plugin. Will be pretty basic functionality to start - basic Doorbell and Floodlight devices only (Chimes don't seem to consistently be available in the API these past few days for some reason). If it tests out ok for others, we can get fancier from there (video download, etc). I'll post a link to GitHub once I've got it ready for others to try.ZachBenz wrote:Looks like Ring has been fiddling with their API a lot over the past few days, breaking tchellomello's python library periodically (not surprising, all things considered). A little frustrating on the test and debug front as a result... hopefully things will stabilize soon.
ZachBenz's Plugins: RingForIndigo
Re: New Account - not working
I've put out an initial release of a new plugin based on tchellomello's python Ring API library - please try it out and see how it works for you:ZachBenz wrote:Alright, assuming the good folks at Ring take a holiday break and don't make any more backend changes, I'm close to a 1.0 release on the tchellomello based plugin. Will be pretty basic functionality to start - basic Doorbell and Floodlight devices only (Chimes don't seem to consistently be available in the API these past few days for some reason). If it tests out ok for others, we can get fancier from there (video download, etc). I'll post a link to GitHub once I've got it ready for others to try.
- Go to https://github.com/ZachBenz/RingForIndigo/tree/v1.0.0
- Click the green "Clone or Download button"
- Select Download Zip
- Unzip the file and double click RingForIndigo.indigoPlugin to load in Indigo
ZachBenz's Plugins: RingForIndigo
Re: New Account - not working
I could not get the RingforIndigo Plugin to work. I kept getting "Failure to communicate with Plugin" messages after entering in my Ring login. Attached are the error messages.
Nice try, but not working for me yet.
Nice try, but not working for me yet.
- Attachments
-
- ishot-1.jpg (270.96 KiB) Viewed 6197 times
Re: New Account - not working
Hmm... seems like it might be stalling out for some reason on the connection to Ring.com. Can you enable printing debug messages to the Indigo log in the plugin settings, or does it not even let you Save the settings? And this is under Indigo 7.4, correct?KSimmons wrote:I could not get the RingforIndigo Plugin to work. I kept getting "Failure to communicate with Plugin" messages after entering in my Ring login. Attached are the error messages.
Nice try, but not working for me yet.
Thanks for testing!
ZachBenz's Plugins: RingForIndigo
Re: New Account - not working
Installed the plug and got a few errors after entering my username and password:
I had the previous Ring plugin installed (but disabled) which might have been confusing things. I deleted the old one and re-installed your version.
It then started OK using the username and password details already entered I.e it didn't put up the plugin config dialogue again.
I then added a doorbell (I selected the front door from the pulldown list which also listed the back door).
It works OK but there is like a 60 second lag between pressing the front doorbell and getting it triggered in Indigo. Likewise with the motion detection.
I went to add the second doorbell (back door)as an Indigo device but it wasn't listed in the pulldown list. When I go back to the original (front door) doorbell and if I edit the device, the back door doorbell is listed.
Thanks for doing this plugin - it's a good start.
Ring Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 107, in runConcurrentThread
KeyError: 'key username not found in dict'
Ring Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
I had the previous Ring plugin installed (but disabled) which might have been confusing things. I deleted the old one and re-installed your version.
It then started OK using the username and password details already entered I.e it didn't put up the plugin config dialogue again.
I then added a doorbell (I selected the front door from the pulldown list which also listed the back door).
It works OK but there is like a 60 second lag between pressing the front doorbell and getting it triggered in Indigo. Likewise with the motion detection.
I went to add the second doorbell (back door)as an Indigo device but it wasn't listed in the pulldown list. When I go back to the original (front door) doorbell and if I edit the device, the back door doorbell is listed.
Thanks for doing this plugin - it's a good start.
Re: New Account - not working
Yes, running Indigo 7.4. I also deactivated and removed the old previous Ring plugin, and restarted the server.
I turned on debugging mode and got some new messages, but the dropdown menu on the plugin is still not giving me any choices. See attachments.
I turned on debugging mode and got some new messages, but the dropdown menu on the plugin is still not giving me any choices. See attachments.
- Attachments
-
- ishot-2.jpg (164.63 KiB) Viewed 6250 times
-
- ishot-3.jpg (98.27 KiB) Viewed 6250 times
Re: New Account - not working
Have you got 2FA turned on - I have it turned off?KSimmons wrote:Yes, running Indigo 7.4. I also deactivated and removed the old previous Ring plugin, and restarted the server.
I turned on debugging mode and got some new messages, but the dropdown menu on the plugin is still not giving me any choices. ...
Re: New Account - not working
2FA is turned OFF.
Re: New Account - not working
That was going to be my next question.KSimmons wrote:2FA is turned OFF.
There has been some further editing of tchellomello's python library the past few days trying to work some more kinks out caused by Ring's recent changes. Going to try merging those in.
ZachBenz's Plugins: RingForIndigo
Re: New Account - not working
Awesome - thanks for testing!autolog wrote:Installed the plug and got a few errors after entering my username and password:Ring Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 107, in runConcurrentThread
KeyError: 'key username not found in dict'
Ring Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
I had the previous Ring plugin installed (but disabled) which might have been confusing things. I deleted the old one and re-installed your version.
It then started OK using the username and password details already entered I.e it didn't put up the plugin config dialogue again.
I then added a doorbell (I selected the front door from the pulldown list which also listed the back door).
It works OK but there is like a 60 second lag between pressing the front doorbell and getting it triggered in Indigo. Likewise with the motion detection.
I went to add the second doorbell (back door)as an Indigo device but it wasn't listed in the pulldown list. When I go back to the original (front door) doorbell and if I edit the device, the back door doorbell is listed.
Thanks for doing this plugin - it's a good start.
Interesting on the username error... shouldn't be any conflict with the old plugin. I went ahead and threw an issue on GitHub to remind me to explore this further in case others encounter it on initial install (or anytime, for that matter).
Also filed an issue for myself on the second doorbell not appearing in the drop down list - I must have messed something up in the device mapping logic. I'll aim to tackle this first.
On update frequency front, I have it hard coded right now, and slow (20 second sleep per polling loop). Figured I'd make sure it worked before potentially getting everyone unceremoniously locked out the API for too many queries.
ZachBenz's Plugins: RingForIndigo
Re: New Account - not working
Have a hunch on what the problem is - if you don't mind telling me (private message me if you prefer), how many total Ring devices do you have on your account? Just one?KSimmons wrote:2FA is turned OFF.
Last edited by ZachBenz on Fri Dec 27, 2019 2:50 pm, edited 2 times in total.
ZachBenz's Plugins: RingForIndigo
Re: New Account - not working
Have a hunch on what the problem is - if you don't mind telling me (private message me if you prefer), how many total Ring devices do you have on your account? Just the two?autolog wrote: I went to add the second doorbell (back door)as an Indigo device but it wasn't listed in the pulldown list. When I go back to the original (front door) doorbell and if I edit the device, the back door doorbell is listed.
ZachBenz's Plugins: RingForIndigo