Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where do I configure the API? #45

Closed
itsgabraf opened this issue Jun 29, 2019 · 8 comments
Closed

Where do I configure the API? #45

itsgabraf opened this issue Jun 29, 2019 · 8 comments
Labels
discussion Let's talk about it

Comments

@itsgabraf
Copy link

Where do I insert that part under “Setup and Configure” for the API?

@dgreif dgreif added the discussion Let's talk about it label Jun 29, 2019
@dgreif
Copy link
Owner

dgreif commented Jun 29, 2019

https://github.com/dgreif/ring-alarm#setup-and-config is an example of creating a new instance of RingApi. You can also take a look at https://github.com/dgreif/ring-alarm/blob/master/examples/example.ts. Let me know if you need additional clarification

@itsgabraf
Copy link
Author

Yea I need a bit more help. I see the code but don’t know where exactly to create it in...

@dgreif
Copy link
Owner

dgreif commented Jun 29, 2019

I guess that depends on what you are trying to do. If you have a nodejs project, you would install the @dgreif/ring-alarm package and import it into some file in your project. If you want the homebridge plugin, then you don’t need to interact with the api at all

@itsgabraf
Copy link
Author

Oh ok. I’m trying to do the HomeKit. The camera says no response though with no images popping up in notifications or the camera preview.

@dgreif
Copy link
Owner

dgreif commented Jun 29, 2019

@itsgabraf what type of camera do you have? Should say in the "Model" field for the camera in the Home app

@itsgabraf
Copy link
Author

Doorbell V3 - I was able to only once get an image on one device...have tried removing and adding. No luck. And motion isn’t reliable yet either :-/

@dgreif
Copy link
Owner

dgreif commented Jun 29, 2019

Unfortunately the doorbell v3 only refreshes it's snapshot image once ever 10 minutes. To confirm this, open your Ring app and see if you can get that app to refresh the image any faster than 10 minutes (without going into live view mode). Because of this restriction, the homebridge plugin is not able to pull images very often, which makes it seem like it isn't working. See previous discussion in #38

@dgreif
Copy link
Owner

dgreif commented Jul 1, 2019

Closing in favor of #38

@dgreif dgreif closed this as completed Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Let's talk about it
Projects
None yet
Development

No branches or pull requests

2 participants