ring-api icon indicating copy to clipboard operation
ring-api copied to clipboard

Ring Alarm API

Open VeniceNerd opened this issue 7 years ago • 10 comments

Hi,

Are you looking to add Ring Alarm support to your API? Would be amazing!

Thanks,

Philipp

VeniceNerd avatar Jul 28 '18 22:07 VeniceNerd

Hi, it’s possible I think. What specifically would you like to be able to do - set off the alarm, or listen for when it goes off?

Tricky one to test on my quiet suburban street :-) On Sat, 28 Jul 2018 at 23:21, VeniceNerd [email protected] wrote:

Hi,

Are you looking to add Ring Alarm support to your API? Would be amazing!

Thanks,

Philipp

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jimhigson/ring-api/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIUcvyzi0vq52m7rDSlZvofgdjBMv2Cks5uLOPngaJpZM4VlNBs .

jimhigson avatar Jul 29 '18 14:07 jimhigson

I'd love to be able to Arm automatically when everyone leaves home and Disarm when someone arrives home via Automation/Scene.

Additionally, they have Motion Sensors for in the home, and Window/Door Sensors which could also be used for automating lights (motion detected, turn on lights) and thermostats (window or door is open, AC is turned off).

I have the Ring Alarm...let me know how I can help!

wondergit113 avatar Aug 26 '18 04:08 wondergit113

Maybe look at Node Red for combining devices and adding logic in this way. There’s a third party plugin for Node Red that uses this project, although I don’t think it’s very complete and if you want to contribute that might be a good place to start. On Sun, 26 Aug 2018 at 05:10, jamesg311 [email protected] wrote:

I'd love to be able to Arm automatically when everyone leaves home and Disarm when someone arrives home via Automation/Scene.

Additionally, they have Motion Sensors for in the home, and Window/Door Sensors which could also be used for automating lights (motion detected, turn on lights) and thermostats (window or door is open, AC is turned off).

I have the Ring Alarm...let me know how I can help!

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/jimhigson/ring-api/issues/8#issuecomment-416012517, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIUchYCvOrcWmNrcOEXKTbChy6QrTHKks5uUh-igaJpZM4VlNBs .

jimhigson avatar Aug 26 '18 08:08 jimhigson

@jimhigson have you started working on accessing the alarm api at all? I'd love to add my alarm into my homebridge setup, using your library as a base. If you aren't planning to do it, I'd be happy to PR it when I have time. Don't want to duplicate the work tho if you are already working on it.

dgreif avatar Oct 03 '18 20:10 dgreif

I haven’t. Would the alarm API mean setting off the alarm via a REST call? It’s probably not that hard to do but not sure I want to test that on my quiet suburban street! Would be more than happy to accept a PR to add support for this.

jimhigson avatar Oct 03 '18 21:10 jimhigson

Looks like there is already a PR over on https://github.com/davglass/doorbot/pull/27 . I just started looking into the available ring node modules today, so not sure how your packages compares to doorbot in terms of functionality. Digging into the new Alarm api a little bit, it looks like they are doing everything via a single websocket connection instead of http requests, which is great for getting real-time updates of alarm status. As far as testing the API goes, I think the first and most important features would simply be arming/disarming the alarm. If you do get to the point where you want to test triggering the alarm and verifying you get updates via the API, you can always turn down the volume on your base station 😉. Whenever I get some time, I will probably expand on that other PR or open one here. Eventually the goal would be to integrate into a homebridge plugin (discussion started over at https://github.com/nfarina/homebridge/issues/1931)

dgreif avatar Oct 03 '18 21:10 dgreif

Perhaps I'm not familiar with the alarm functionality of my ring devices, but all I've ever seen is the ability to make an alarm go off (manually) by, well, setting it off. What does the alarm API actually allow you to do?

On Wed, Oct 3, 2018 at 10:52 PM Dusty Greif [email protected] wrote:

Looks like there is already a PR over on davglass/doorbot#27 https://github.com/davglass/doorbot/pull/27 . I just started looking into the available ring node modules today, so not sure how your packages compares to doorbot in terms of functionality. Digging into the new Alarm api a little bit, it looks like they are doing everything via a single websocket connection instead of http requests, which is great for getting real-time updates of alarm status. As far as testing the API goes, I think the first and most important features would simply be arming/disarming the alarm. If you do get to the point where you want to test triggering the alarm and verifying you get updates via the API, you can always turn down the volume on your base station 😉. Whenever I get some time, I will probably expand on that other PR or open one here. Eventually the goal would be to integrate into a homebridge plugin (discussion started over at nfarina/homebridge#1931 https://github.com/nfarina/homebridge/issues/1931)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jimhigson/ring-api/issues/8#issuecomment-426816386, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIUcgPj3qqcMFyipRcuVyX5mdZec_zFks5uhTGkgaJpZM4VlNBs .

jimhigson avatar Oct 04 '18 16:10 jimhigson

Sorry for not being clear! Ring actually offers a security systems now (https://shop.ring.com/pages/security-system) which has door contacts, motion sensors, and an alarm base station. I got some time to start on integrating it last night and should have a PR some time in the next week or two (as time permits).

dgreif avatar Oct 04 '18 16:10 dgreif

Ah I see! Yes that makes sense, I was thinking the alarm functions on the spotlights etc. Unfortunately I don’t have a ring alarm system to test against but would be happy to accept a PR On Thu, 4 Oct 2018 at 17:26, Dusty Greif [email protected] wrote:

Sorry for not being clear! Ring actually offers a security systems now ( https://shop.ring.com/pages/security-system) which has door contacts, motion sensors, and an alarm base station. I got some time to start on integrating it last night and should have a PR some time in the next week or two (as time permits).

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/jimhigson/ring-api/issues/8#issuecomment-427083108, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIUcncU_KBS7VRXPhs0iopvs2MmnHG9ks5uhjalgaJpZM4VlNBs .

jimhigson avatar Oct 04 '18 16:10 jimhigson

For anyone looking for alarm support, I suggest you take a look at my Ring api over at https://github.com/dgreif/ring. It has full support for the alarm, as well as cameras, lights, and most of Ring's newest products

dgreif avatar Dec 27 '19 15:12 dgreif