Comments (8)
@codahq I totally understand! I agree with your logic, and really appreciate all of the help you have provided so far. I'll leave my sendCommandToSecurityPanel
method in place as I am using it internally for siren and alarm mode changes. Can't stop others from using it if they figure out the commands and use them at their own risk.
from ring.
@dgreif Here's how to sound and silence the siren.
["message",{"body":[{"zid":"${panel_zid}","command":{"v1":[{"commandType":"security-panel.${mode}","data":{}}]}}],"datatype":"DeviceInfoSetType","dst": "${dst_zid}","msg":"DeviceInfoSet","seq":${seq}}]
${mode} can be "sound-siren" or "silence-siren"
I'm not going to tell you how to notify the police or fire department. I feel like that could be abused or accidentally misunderstood and there's no reason to automate it anyway. (The above message flashes the lights on the base as well. From the API layer there is no way to separate the lights from the siren. I wished there was.)
from ring.
Thanks for the info! I just received the new button in my app yesterday. I'll take a look at adding it when I get a chance.
from ring.
The big use case I can see for adding the police/fire modes would be for integrating unsupported third-party sensors via Home Assistant, or building a fire alarm pull station (since the official Ring keypad doesn't have a manual fire alarm button).
But I also agree that exposing those is something best approached with caution.
from ring.
They have a first party solution for this, no? What does their panic button do? I assumed that would dispatch police or fire or at least get that started.
from ring.
@codahq They do have a Z-Wave panic button, but it's police only, afaik. Same as the panic mode on the keypad.
They don't have any way to trigger a manual fire alarm, other than the new soft button in the app.
from ring.
I added the siren logic directly to each location (location.soundSiren()
, location.silenceSiren()
). I also added a switch to the homebridge plugin for this, called Ring Alarm Siren
. As for police/fire, I made it easy to call those programmatically with location.sendCommandToSecurityPanel('secuirty-panel.unknown-command-here')
. I think this is a good enough sanity check to make sure anyone implementing these commands understands the gravity of what they are doing. @codahq would you be kind enough to supply the commands for policy/fire? Specifically the commandType
and data
fields you see being used in those calls.
from ring.
Unfortunately, no. I'm going to pass on providing any information on the fire/police commands. Somebody else can do that. Even though there is nothing illegal against reverse engineering by itself it's probably against the terms of use to call their private APIs directly because of liability and/or other reasons. If somebody were to call the police or fire repeatedly using this library (or my work) and get in trouble or if somebody "depended" on this solution and it didn't work for example there would be the possibility of legal ramifications.
I don't want to put myself in a situation where I might have to defend myself legally. Up to this point everything I've supplied (and done personally in my own library because I don't actually use yours) avoids liability against/for others. At least that is how I see it. I'm going to keep my contributions here the same.
This project is a little different than just turning lights off/on because of the security aspect.
from ring.
Related Issues (20)
- myQ Integration HOT 1
- Alarm triggered when using Apple Home intercom HOT 2
- Front door Ring doorbell motion pop up notifications no longer show up on Apple TV 4K HOT 5
- Difference in quality between Ring Camera (getSnapshot) and video search HOT 1
- brief delay in HomePods chime when pressing intercom button HOT 3
- Live Streaming of camera fails after HomeKit architecture upgrade HOT 6
- RIng Server Failure with latest Node.JS HOT 1
- Ring Homebridge camera becomes non-responsive at Apple TV after ~ 5 minutes. HOT 4
- Ring Intercom HOT 1
- Trouble recording video to file or live streaming on an M1 Mac Mini HOT 3
- Ring Plugin v 12.1.0 works for everything but Live Video in Homebridge HOT 1
- Ring Door Opener not working anymore HOT 5
- Add Chime Pro Nightlight as Automation Option HOT 3
- Ring Intercom - not possible to choose which HomePods should ring HOT 8
- Strange error when viewing live streaming from "Home" app HOT 1
- Battery Level in Home
- Ring Intercom HOT 5
- Accessories not exposed to HomeKit HOT 1
- onDoorbellPressed not sending updates HOT 1
- Response Code 422 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ring.