Giter VIP home page Giter VIP logo

Comments (7)

chase9 avatar chase9 commented on July 17, 2024

I'm not sure how badly I want to implement this due to a couple of reasons:

  1. HomeKit doesn't have the concept of panic buttons, so I think this would have to be implemented as a regular switch. This means that if Siri hears you wrong, it might call the cops on you!
  2. I'm of the mindset that this plugin shouldn't be used for critical/life-saving tasks because I don't consider the code quality to be at that level. This feature would put us more into that realm.

I'm open to other arguments or even a PR if you feel strongly about it. I think if we implemented this feature I would want it behind an opt-in config setting.

from homebridge-node-alarm-dot-com.

ngori avatar ngori commented on July 17, 2024

@chase9 I agree with you 100% on point 2. I view this plug-in solely as a convenience feature set and anything critical needs to be ADC native either in their native app or on the panel.

from homebridge-node-alarm-dot-com.

sapireli avatar sapireli commented on July 17, 2024

I agree with all your points. I did have one thought about the implementation. We could implement it as a "door lock" accessory which requires face-id or device unlocking to open so you couldn't really trigger with Siri.

However, triggering PANIC with Siri could also be a feature not a bug. i.e. i fell down call an ambulance...

from homebridge-node-alarm-dot-com.

sapireli avatar sapireli commented on July 17, 2024

Also, I learned today that home homebridge-ring actually implements panic buttons in homekit as follows (from their readme):

Panic Buttons

  • These can be added by setting showPanicButtons: true in your config
  • Creates Burglar Alarm and Fire Alarm switches in a new Panic Buttons device in HomeKit
  • Use these at your own risk. I do not guarantee functionality in case of emergency, nor do I take responsibility for any false alarms
  • If either switch is turned on, you will receive a call from Ring monitoring to verify the emergency, and then authorities will be dispatched

from homebridge-node-alarm-dot-com.

chase9 avatar chase9 commented on July 17, 2024

I'm still pretty uneasy about it, but locking the functionality behind an "advanced" setting does make me feel a bit better.

from homebridge-node-alarm-dot-com.

sapireli avatar sapireli commented on July 17, 2024

how would i go about this? is there an official api or is the whole thing reverse engineered using a mitm proxy?

from homebridge-node-alarm-dot-com.

ngori avatar ngori commented on July 17, 2024

@sapireli There is no official API support. As far as I know, all functionality to date has been reversed engineered. I just captured the API calls for garage doors when I added support there. I don't have a panic button on my setup so I'm not sure how those work with respect to the apps and web interfaces

from homebridge-node-alarm-dot-com.

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.