Ring Doorbell Plugin

Posted on
Wed Dec 28, 2016 5:20 pm
ELWOOD offline
Posts: 225
Joined: Feb 11, 2007
Location: Ramsey, NJ

Re: Ring Doorbell Plugin

I have a pro version and it works fine.

Will the plugin eventually be able to view the recorded video, or a least a still jpeg?

Posted on
Wed Dec 28, 2016 5:36 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

What would be the use case where you would use the image or video?

The only thing I can think of would be maybe saving the video/image then using the Twillio plugin to send it over MMS.

Posted on
Thu Dec 29, 2016 3:52 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

Just pushed 0.1.5 update out
Includes:
-Fix for issue where Rescan for devices was missing
-Adds support for Sending usage telemetry - Default is Opt-in

Posted on
Thu Dec 29, 2016 4:12 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Ring Doorbell Plugin

Could you add a trigger state for motion or press? At the moment it just does if becomes X but of course if it were that state before the trigger wouldn't action.

Computer says no.

Posted on
Thu Dec 29, 2016 4:15 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

Sure. I will get it out today.

Posted on
Thu Dec 29, 2016 10:34 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

I just added two additional states for the device you can trigger on.
lastButtonPressTime and lastMotionTime

Posted on
Fri Dec 30, 2016 1:57 pm
roquej offline
User avatar
Posts: 608
Joined: Jan 04, 2015
Location: South Florida, USA

Re: Ring Doorbell Plugin

Again, thank you for the plugin, but running into a few issues still.

When I load the plugin, I get:

Ring Doorbell Number of devices found: 2
Ring Doorbell Front Door (id: 560077)
Ring Doorbell Front Gate (id: 1535374)

which is correct.

I then proceed to define the first Ring device, Front Gate. No error in the log. However, when I try to go back and define the second Ring device, I get as soon as the dialog opens:

Ring Doorbell Error Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
File "plugin.py", line 210, in doorbellList
KeyError: key ringId not found in dict

After this, nothing works.

Suggestions?

JP

Posted on
Fri Dec 30, 2016 3:03 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

Pushed 0.1.8. Should be happier with >1 device now. A few typos. Because I don't have more than one device I had to do some tweaks to simulate that I did.

Posted on
Fri Dec 30, 2016 3:07 pm
roquej offline
User avatar
Posts: 608
Joined: Jan 04, 2015
Location: South Florida, USA

Re: Ring Doorbell Plugin

That did it!

Thank you!

JP

Posted on
Sat Dec 31, 2016 12:02 pm
ryanbuckner offline
Posts: 1074
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Ring Doorbell Plugin

The Ring Doorbell plugin doesn't appears to play well will the Nest Plugin and the Fing plugin for my setup. After installing the Ring plugin, I started seeing this contention.

Code: Select all
Dec 31, 2016, 8:02:04 AM
   NEST Home Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 1942, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

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

Traceback (most recent call last):
  File "plugin.py", line 108, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

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

Traceback (most recent call last):
  File "plugin.py", line 1942, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

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

Traceback (most recent call last):
  File "plugin.py", line 108, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   Ring Doorbell Error             plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Script                          Looks like no sleepover tonight!
   Schedule                        Determine Guest Mode (delayed action)

Dec 31, 2016, 8:03:08 AM
   Ring Doorbell Error             Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 108, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   Ring Doorbell Error             plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   fingscan                        in Line '5979' has error='expected a character buffer object'
   fingscan                        -2  can not update variable ipDevsLastUpdate 
  restarting fingscan
 exception code: ServerCommunicationError -- timeout waiting for response
   Ring Doorbell Error             Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 108, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   Ring Doorbell Error             plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Reloading plugin "fingscan 7.22.2"
   Stopping plugin "fingscan 7.22.2" (pid 84897)
   Stopped plugin "fingscan 7.22.2"
   Starting plugin "fingscan 7.22.2" (pid 28182)
   Started plugin "fingscan 7.22.2"

Posted on
Sat Dec 31, 2016 1:42 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

Does it only happen when the Ring plugin is enabled? Are you using the newest version?

I use fingscan on my network with the ring doorbell without issues.

Posted on
Sat Dec 31, 2016 2:47 pm
ryanbuckner offline
Posts: 1074
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Ring Doorbell Plugin

mpoulson wrote:
Does it only happen when the Ring plugin is enabled? Are you using the newest version?

I use fingscan on my network with the ring doorbell without issues.


I just upgraded to the newest version so we'll see, Confirmed, it only happens when Ring is enabled.

Posted on
Sat Dec 31, 2016 3:21 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

I just pushed 0.1.9 which has a few tweaks to error handling and adds a new option to stop processing if a Max number of consecutive errors are reached.

Posted on
Sun Jan 01, 2017 5:53 pm
mpoulson offline
Posts: 79
Joined: Jan 02, 2011

Re: Ring Doorbell Plugin

I have pushed version 0.1.10 that now adds a new device value called 'recordingUrl' This is the URL for the Video Recording of the most recent event. This requires a Cloud Recording subscription.

Posted on
Mon Jan 02, 2017 8:39 am
Woetjes offline
Posts: 117
Joined: Apr 04, 2016
Location: Belgium

Re: Ring Doorbell Plugin

mpoulson wrote:
I have pushed version 0.1.10 that now adds a new device value called 'recordingUrl' This is the URL for the Video Recording of the most recent event. This requires a Cloud Recording subscription.


The recordingUrl value remains empty here and it's generating an error message when running a script that includes the ring device:
Code: Select all
"Ring Doorbell Error             [Mon Jan  2 14:44:06 2017] No value found for device: Buiten: Voordeur - Deurbel, field: recordingUrl"

Any idea? (I have the Cloud Recording Subscription)

Who is online

Users browsing this forum: No registered users and 1 guest