-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: ring alarm api #14
Conversation
@dgreif - thanks for the reply! i was planning on writing a ring alarm homebridge plugin during november, but now i don't have too! |
@mrose17 I've published |
The ring api does not appear to use an always-consistent data store. Without a delay here, the `connections` endpoint (and presumably others) will occasionally return a 404 error.
If an alarm base station is offline, on cellular backup, or updating firmware, the `connections` endpoint returns an error code. When that happens, we will just try again in 20 seconds. Removing auth token delays because they weren't actually necessary (thought they might be the cause of the 404 errors)
Been a while with no updates. Anything blocking a merge on this? |
@jimhigson could you merge please? |
I've been using my repo in https://github.com/dgreif/homebridge-ring-alarm for 2 months with no issues. Should be ready to merge any time @jimhigson |
Since @jimhigson is unresponsive, I decided to just pull the ring alarm into it's own repo. I've got a new repo that houses both the alarm api and the |
Wow, great work on this @dgreif! I used this to update my ip cams home/away mode (Blue Iris) based on the Ring alarm mode and it's working flawlessly. |
Ring Alarm
Other Enhancements
Bearer token
auth header.d.ts
file added. Currently only contains types for my alarm additionsCloses #8
Sorry for the long delay on this, haven't had much free time lately. Looks like @mrose17 has a different implementation based on doorbot over at https://github.com/homespun/ring-alarm now. Personally, I think your base library setup is cleaner and more modern so I think it's still worth adding alarm functionality here. For anyone interested in a homebridge plugin, I have one ready to go that I will be publishing in the next couple days (probably waiting until this PR is merged).