Ring Doorbell Plugin

Posted on
Mon Dec 26, 2016 12:04 am
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Ring Doorbell Plugin

What is supported?
Ring Doorbell - Checks for Activities and update states on devices

Requirements:

Supported Devices:

How to use:

What is does:
  • Updates Devices States on Motion or Ring Events
  • Has separate states for last Motion and Ring event date/time
  • Will provide URL to recording video of last event (Requires Ring Cloud subscription)

What is planned:
  • Event that will generate a "shareable" Url (Requires Ring Cloud subscription)
  • Action to share a recording with the Community (ring beta offering)
Last edited by mpoulson on Sun Jan 01, 2017 6:11 pm, edited 7 times in total.

Posted on
Mon Dec 26, 2016 4:09 am
Woetjes offline
Posts: 117
Joined: Apr 04, 2016
Location: Belgium

Re: Ring Doorbell Plugin

Awesome - thank you for this!
What's the interval time for polling events? And is it possible to make it adjustable in the future (if Ring allows this)?

Posted on
Mon Dec 26, 2016 9:28 am
roquej offline
User avatar
Posts: 608
Joined: Jan 04, 2015
Location: South Florida, USA

Re: Ring Doorbell Plugin

Thank you for this. I have a almost all of their products!

However, I am getting:

Ring Doorbell Number of devices found: 0

Any suggestions?

JP

Posted on
Mon Dec 26, 2016 11:35 am
ryanbuckner offline
Posts: 1074
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Ring Doorbell Plugin

This is great and very easy to setup.

Can I ask where you plan to go with feature set?

I noticed that all timestamps are in PST. Can the timestamp consider the location of the device and determine the timezone?

Posted on
Mon Dec 26, 2016 1:16 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

I will be fixing the timezone issue today. I wanted to get the initial version out to start to collect feedback so I'm sure there will be bugs.

Refresh rate is currently 5 seconds. I have plans to improve the refresh process by using a second API that I found. I don't think I would make it adjustable once I get it to be as fast as the normal Ring App.

I am open to feature suggestions!

Posted on
Mon Dec 26, 2016 2:14 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

Timezone issue should be resolved in v 0.1.1. You should check for updates.

I also added firmware and device information to the device data.

Posted on
Mon Dec 26, 2016 7:15 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

Woetjes - I have updated the logic for event refresh to be even faster. It should happen within a few seconds of either motion or someone pushed the button.

Posted on
Mon Dec 26, 2016 8:22 pm
roquej offline
User avatar
Posts: 608
Joined: Jan 04, 2015
Location: South Florida, USA

Re: Ring Doorbell Plugin

A bit more information. I am now getting the following error:

Ring Doorbell Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 112, in runConcurrentThread
UnboundLocalError: local variable 'dev' referenced before assignment

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

Any suggestions?

JP

Posted on
Mon Dec 26, 2016 8:30 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

Update to 0.1.3 via Update plugin menu item and it should be all better. :)

Posted on
Mon Dec 26, 2016 8:51 pm
roquej offline
User avatar
Posts: 608
Joined: Jan 04, 2015
Location: South Florida, USA

Re: Ring Doorbell Plugin

Thank you, but still have issues:

First, I have two emails registered with Ring. The one that I use with the indigo server (sys-admin@xx.com) and the personal account (name@xxx.com0. The sys-admin@xx.com doesn't work. It doesn't find any devices. Therefore, I think the '-' in the email might be the issues.

Second, when using the personal account, name@xx.com, the plugin finds the devices, but it gives the following error when trying to define the account device in Indigo.

Ring Doorbell Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 111, in runConcurrentThread
File "plugin.py", line 50, in _refreshStatesFromHardware
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_strptime.py", line 325, in _strptime
ValueError: time data '' does not match format '%Y-%m-%d %H:%M:%S'

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

JP

Posted on
Tue Dec 27, 2016 3:32 am
Woetjes offline
Posts: 117
Joined: Apr 04, 2016
Location: Belgium

Re: Ring Doorbell Plugin

mpoulson wrote:
Woetjes - I have updated the logic for event refresh to be even faster. It should happen within a few seconds of either motion or someone pushed the button.


Great - thanks, the delay is indeed very low!

Posted on
Tue Dec 27, 2016 6:16 am
jalves offline
Posts: 744
Joined: Jun 16, 2013

Re: Ring Doorbell Plugin

I had been thinking of getting a Ring Doorbell but what was holding me back was the closed Ring system. However, this plugin might take care of that issue.

Is the plugin based on an official API? Or is it a reverse engineered one? I'd be hesitant to go with the reverse engineered one just on general principles but then again I do use the Alexa-Hue bridge.

Running Indigo 2023.2 on a 24" iMac M1), OS X 14.4
Jeff

Posted on
Tue Dec 27, 2016 11:47 am
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

Reverse engineering at it's best!

Posted on
Wed Dec 28, 2016 4:23 am
Gusten offline
Posts: 171
Joined: Dec 30, 2015
Location: Sweden, Gothenburg

Re: Ring Doorbell Plugin

Hi thinking of getting one, is this plugin altso working with the pro version?


Skickat från min iPhone med Tapatalk

Posted on
Wed Dec 28, 2016 7:46 am
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

I don't have any reason to believe it won't. But I don't have one to test with.

Who is online

Users browsing this forum: No registered users and 2 guests