Giter Club home page Giter Club logo

Comments (3)

tsightler avatar tsightler commented on June 16, 2024

This plugin uses push notifications rather than polling to receive notifications from Ring so changing cameraStatusPollingSeconds is not going to change anything and will only likely server to get your IP throttled/banned/blocked by Ring. I would strongly suggest not changing the default unless you have a specific reason to do so. Personally, I think we should ignore values less than 20 seconds or so anyway as there is very little benefit to polling more frequently than this as the backend Ring state doesn't even update this frequently for most values.

Please note that in Scrypted there is no delay.

So feel free to use Scrypted as there is little reason to use both, although I'll admit I'm quite surprised as I can't really find anything in the Scrypted code that indicates it even supports intercoms, nor does the documentation indicate that intercoms are supported. Does it just treat it like a camera with no video? Overall Scrypted is not really different from this plugin, it's built using a slightly modified version of the same API maintained here, and it doesn't require Homebridge so none of that cruft, but there's not much to this process overall, when a push notification is received, it's state is updated immediately, that's it.

The only practical way to troubleshoot something like this is to look at the logs and compare the time the event is received in the logs to the time the HomePods chime and see if the delay is on the Ring side or the Homebridge side, but in any case it's unlikely to be in the plugin as there are no delays in the code, but if you can provide logs showing the delay (might need a video or something to compare the two, or at least a very detailed description) then we can look at it, but really hard to see how it could be anything in the plugin.

from ring.

BrauCadena avatar BrauCadena commented on June 16, 2024

Thanks for the feedback @tsightler!!

I mentioned Scrypted so you wouldn't think it was a network error.

How can I get the logs of RING plugin?

from ring.

tsightler avatar tsightler commented on June 16, 2024

The same way you get any logs for Homebridge, most people just use "view logs" in the web UI. You'll also want to go into settings on the ring plugin and select debug logging so you get more data there. I think you should get some message there when the intercom is pressed, this is what I get for my doorbell:

[12/29/2023, 3:41:38 PM] [Ring] Front Doorbell Doorbell Pressed. Loading snapshot before sending event to HomeKit
[12/29/2023, 3:41:38 PM] [Ring] Loading new snapshot into cache for Front Doorbell by uuid
[12/29/2023, 3:41:39 PM] [Ring] Snapshot cached for Front Doorbell by uuid (0.608s)

I'm not 100% sure what the intercom would show, but I checked my doorbell and the notification was about 1 second, just slightly behind the Ring app notification, by a few hundred milliseconds. The intercom effectively works the same exact way as a doorbell, just without any method to retrieve a snapshot image, so I wouldn't expect any delay. Now, I don't use Homepods or anything, that's just me measuring the time for Homebridge to reflect the state, from that point, the plugin has noting to do with anything as all it can do is get the notification and set the state.

from ring.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.