Coder Social home page Coder Social logo

Comments (12)

aficustree avatar aficustree commented on August 16, 2024

i have a honeywell panel and stay is PIN + 3, AWAY is PIN + 2 and NIGHT is PIN + 33....do those combos not work on DSC (i.e., do you have to use the special buttons?). If they do work, what advantage does sending the special button instead of the combo do? (i think i could send the special version, just curious as to the advantage)

from homebridge-alarmdecoder-platform.

ansuz07 avatar ansuz07 commented on August 16, 2024

They don't seem to work on a DSC panel - when I use those commands on mine they seem to just send the arm/disarm pin and enable a generic arm state. The combo buttons don't seem to enable discrete alarm states.

The idea on the special buttons is that the stay/away buttons can allow for different zones to be armed by default. For my system, the "stay" state does not enable the motion detectors, while the "away" state does enable them. I'd imagine this is somewhat common, as you would not want motion detectors active when you are home.

I don't know how the differences manifest between Honeywell and DSC systems, but it does seem tile the key+pin does not elicit the same response between the two systems. If you need a guinue pig for DSC, I'm happy to do that for you.

from homebridge-alarmdecoder-platform.

aficustree avatar aficustree commented on August 16, 2024

okay, i think i've got a fix for DSC panels. I see in the alarmdecoder code there's references to a "Exit" and "Reset" button on DSC panels. Can you describe the use of those buttons (if they exist). Do you still disarm with PIN+"1" ? How do you do "night" mode (aka 'instant' mode)?

I've just pushed a version with a new config.json, readme.md to test. Here i've replaced stay and away with the special buttons (i think). Let me know if it works. You shouldn't have to flush any cached accessories. Make sure you set DSCorHoneywell to DSC in your config.json

from homebridge-alarmdecoder-platform.

aficustree avatar aficustree commented on August 16, 2024

oh, it's on the development branch, not the main branch so make sure you pull from that

from homebridge-alarmdecoder-platform.

ansuz07 avatar ansuz07 commented on August 16, 2024

I honestly have no idea what the reset and exit buttons do - I’ve never actually used them.

To disarm, it is just the normal pin, no additions at the end.

I’ll test out the new settings today. To install it, do I just replace #master with #development?

Thanks for all the help

from homebridge-alarmdecoder-platform.

ansuz07 avatar ansuz07 commented on August 16, 2024

So I installed the updated package and updated the config.json with your new version. Tested it out and here are the results:

  • "Stay" function (Home selection in Home app) correctly sets "Stay" mode on panel. However, displays "Away" on security system button in Home app when it polls the system again
  • Disarm function works properly
  • "Away" function does not appear to do anything - does not seem to send any commands to the panel.

from homebridge-alarmdecoder-platform.

ansuz07 avatar ansuz07 commented on August 16, 2024

So as it turns out I was a few commits behind on the Alarm Decoder libraries. After I updated it is all working perfectly! Thanks for your help with all this -

from homebridge-alarmdecoder-platform.

ansuz07 avatar ansuz07 commented on August 16, 2024

One tiny thing I noticed this morning I though I'd toss out to you.

I have the alarm set up on some automation (e.g. automatically arm when I leave the house, automatically disarm when I get home). I've noticed that if the alarm is already in the desired state (e.g. it is disarmed and I arrive home) then it will still send the function to the panel. This isn't an issue when it is already armed (the panel just ignores the function) but when it is disarmed it will send the disarm code, which results in the panel arming.

Probably a unique thing for DSC (since it doesn't use the Pin + function like Honeywell does) but I thought I'd let you know. Overall, not a big deal and easy to work around.

from homebridge-alarmdecoder-platform.

aficustree avatar aficustree commented on August 16, 2024

Interesting, yes, since disarm and arm are different on a Honeywell i didn't consider the behavior so the system isn't too rigorous with tracking state internally. That will take a bit more work to think through. I'm out for the next few days but will try and squeeze in some time to look maybe towards the weekend. Let me know if you find anything else.

from homebridge-alarmdecoder-platform.

ansuz07 avatar ansuz07 commented on August 16, 2024

No rush - its a minor thing that is easy to work around.

I've tested the thing pretty well and that is all that has come up. I'll let you know if I find anything else, but the other changes you made to the platform work perfectly.

from homebridge-alarmdecoder-platform.

aficustree avatar aficustree commented on August 16, 2024

pushed a new version on the dev branch. didn't have time to think it through all that much so let me know if it works.

from homebridge-alarmdecoder-platform.

ansuz07 avatar ansuz07 commented on August 16, 2024

This seems to be working correctly. Thanks for the help.

from homebridge-alarmdecoder-platform.

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.