Comments (13)
I fixed a small typo and bumped the new version on npm. Let me know if that fixes it. Ref the arming/disarming. I actually have a Honeywell so I did the DSC work based on what I could gather from the manual. The arm logic is supposedly a touch different so I'd be happy to sanity check if you walk me through the keypress sequences you have to do on the alarm decoder webUI for it to work.
from homebridge-alarmdecoder-platform.
from homebridge-alarmdecoder-platform.
from homebridge-alarmdecoder-platform.
from homebridge-alarmdecoder-platform.
Updated to the new version and the smoke detector added correctly! Thanks for the quick fix!
As for the arming/disarming DSC through the Alarm Decoder Keypad, there are a few options:
- Simply input a user code (no extra digits). This triggers the Exit delay and arms the system in Away mode.
- Click "Special Buttons", choose mode (Stay/Away), confirm that you really want to do that from a popup. This triggers the Exit delay and arms the system in the mode specified.
Disarming the system is always done by simply inputting the user code.
Night Mode on DSC is strange. Apparently you have to arm it in Stay Mode and then press either (* then 1) or (* then *) to get it into Night Mode. I read that there's a way to program one of the function keys to go straight into Night Mode without first having to arm into Stay, but I haven't found how to do that yet.
Anyway, let me know if there's more I can tell you! I'm always willing to test anything and provide feedback! It'd be awesome to get the Stay/Away/Night buttons working flawlessly. I can open this as a separate issue if you'd like just for documentation sake, your call on that one.
from homebridge-alarmdecoder-platform.
okay, I changed a couple things in the #development branch. Do you know how to install from a branch vs. NPM? in your install.sh in Homebridge, call
npm install -g git+https://github.com/aficustree/homebridge-alarmdecoder-platform#development
I fixed so disarming is just done by sending the setPIN again for panels with
"DSCorHoneywell" : "DSC"
or "platformType" : "DSC"
If all you do to kick it in away mode is re-enter the pin then in your config.json change "DSCAway" : "<S5>",
to "DSCAway" : "1234",
(where 1234 is your PIN)
I changed "night" to be DSCStay + "1*"
but getting Stay to work seems odd. According to the documentation <F4>
is Stay but for your explanation is sounds like it might be <S4>
instead. Try updating your DSCStay
variable to <S4>
in your config.json and let me back. I'm not sure that's the problem as <S5>
(away) should have worked then.
I also think Chime is actually <S9>
in a DSC so I updated that too. You can see the example in the example DSC config.
Let me know
from homebridge-alarmdecoder-platform.
Okay, I tested it and I'm still seeing the same issues. For reference, I'm using the default config to test.
Here's what I've seen:
If I press "Home" on the Alarm System (in the Home App) it will instantly switch to "Away" beep, switch to "Off" beep, switch to "Away" beep, switch to "Off" and this continues for forever. When watching my keypad, it will have "Invalid Access Code" warning after switching to "Away" and before switching to "Off". I need to press "Off" at the correct time to get it out of the infinite loop.
If I press "Away", the exit delay works, but then at the end, it switches to "Home" and notifies me that it was armed for "Stay". A second later it switches the alarm off for some reason.
If I press "Night", nothing happens.
I tried putting in my user code ("1234") into the config for Away and Stay. Saw the same behavior described above, nothing changed. Then tried S4 for Stay and still saw the same issues.
Pretty peculiar.
from homebridge-alarmdecoder-platform.
from homebridge-alarmdecoder-platform.
Here's the logs when it was cycling the way I described:
[8/18/2019, 8:09:36 PM] [Alarm System] {"last_message_received":"[10010c11000000100D--],03e,[000200000000000000000000000000],"System is Unavailable "","panel_alarming":false,"panel_armed":false,"panel_armed_stay":false,"panel_battery_trouble":false,"panel_bypassed":{"null":true},"panel_chime":false,"panel_entry_delay_off":false,"panel_exit":false,"panel_fire_detected":false,"panel_panicked":false,"panel_perimeter_only":false,"panel_powered":true,"panel_ready":true,"panel_relay_status":[],"panel_type":"DSC","panel_zones_faulted":[]}
[8/18/2019, 8:09:38 PM] [Alarm System] {"last_message_received":"[01010c11000000100D--],008,[000200000000000000000000000000],"Exit Delay In Progress "","panel_alarming":false,"panel_armed":true,"panel_armed_stay":false,"panel_battery_trouble":false,"panel_bypassed":{"null":true},"panel_chime":false,"panel_entry_delay_off":false,"panel_exit":true,"panel_fire_detected":false,"panel_panicked":false,"panel_perimeter_only":false,"panel_powered":true,"panel_ready":false,"panel_relay_status":[],"panel_type":"DSC","panel_zones_faulted":[]}
[8/18/2019, 8:09:40 PM] [Alarm System] {"last_message_received":"[10010c11000000100D--],03e,[000200000000000000000000000000],"System is Unavailable "","panel_alarming":false,"panel_armed":false,"panel_armed_stay":false,"panel_battery_trouble":false,"panel_bypassed":{"null":true},"panel_chime":false,"panel_entry_delay_off":false,"panel_exit":false,"panel_fire_detected":false,"panel_panicked":false,"panel_perimeter_only":false,"panel_powered":true,"panel_ready":true,"panel_relay_status":[],"panel_type":"DSC","panel_zones_faulted":[]}
[8/18/2019, 8:09:42 PM] [Alarm System] {"last_message_received":"[01010c11000000100D--],008,[000200000000000000000000000000],"Exit Delay In Progress "","panel_alarming":false,"panel_armed":true,"panel_armed_stay":false,"panel_battery_trouble":false,"panel_bypassed":{"null":true},"panel_chime":false,"panel_entry_delay_off":false,"panel_exit":true,"panel_fire_detected":false,"panel_panicked":false,"panel_perimeter_only":false,"panel_powered":true,"panel_ready":false,"panel_relay_status":[],"panel_type":"DSC","panel_zones_faulted":[]}
[8/18/2019, 8:09:45 PM] [Alarm System] {"last_message_received":"[10010c11000000100D--],03e,[000200000000000000000000000000],"System is Unavailable "","panel_alarming":false,"panel_armed":false,"panel_armed_stay":false,"panel_battery_trouble":false,"panel_bypassed":{"null":true},"panel_chime":false,"panel_entry_delay_off":false,"panel_exit":false,"panel_fire_detected":false,"panel_panicked":false,"panel_perimeter_only":false,"panel_powered":true,"panel_ready":true,"panel_relay_status":[],"panel_type":"DSC","panel_zones_faulted":[]}
[8/18/2019, 8:09:47 PM] [Alarm System] {"last_message_received":"[01010c11000000100D--],008,[000200000000000000000000000000],"Exit Delay In Progress "","panel_alarming":false,"panel_armed":true,"panel_armed_stay":false,"panel_battery_trouble":false,"panel_bypassed":{"null":true},"panel_chime":false,"panel_entry_delay_off":false,"panel_exit":true,"panel_fire_detected":false,"panel_panicked":false,"panel_perimeter_only":false,"panel_powered":true,"panel_ready":false,"panel_relay_status":[],"panel_type":"DSC","panel_zones_faulted":[]}
[8/18/2019, 8:09:49 PM] [Alarm System] {"last_message_received":"[10010c11000000100D--],03e,[000200000000000000000000000000],"System is Unavailable "","panel_alarming":false,"panel_armed":false,"panel_armed_stay":false,"panel_battery_trouble":false,"panel_bypassed":{"null":true},"panel_chime":false,"panel_entry_delay_off":false,"panel_exit":false,"panel_fire_detected":false,"panel_panicked":false,"panel_perimeter_only":false,"panel_powered":true,"panel_ready":true,"panel_relay_status":[],"panel_type":"DSC","panel_zones_faulted":[]}
[8/18/2019, 8:09:52 PM] [Alarm System] {"last_message_received":"[01010c11000000100D--],008,[000200000000000000000000000000],"Exit Delay In Progress "","panel_alarming":false,"panel_armed":true,"panel_armed_stay":false,"panel_battery_trouble":false,"panel_bypassed":{"null":true},"panel_chime":false,"panel_entry_delay_off":false,"panel_exit":true,"panel_fire_detected":false,"panel_panicked":false,"panel_perimeter_only":false,"panel_powered":true,"panel_ready":false,"panel_relay_status":[],"panel_type":"DSC","panel_zones_faulted":[]}
[8/18/2019, 8:09:54 PM] [Alarm System] {"last_message_received":"[10010c11000000100D--],03e,[000200000000000000000000000000],"System is Unavailable "","panel_alarming":false,"panel_armed":false,"panel_armed_stay":false,"panel_battery_trouble":false,"panel_bypassed":{"null":true},"panel_chime":false,"panel_entry_delay_off":false,"panel_exit":false,"panel_fire_detected":false,"panel_panicked":false,"panel_perimeter_only":false,"panel_powered":true,"panel_ready":true,"panel_relay_status":[],"panel_type":"DSC","panel_zones_faulted":[]}
[8/18/2019, 8:09:56 PM] [Alarm System] {"last_message_received":"[01010c11000000100D--],008,[000200000000000000000000000000],"Exit Delay In Progress "","panel_alarming":false,"panel_armed":true,"panel_armed_stay":false,"panel_battery_trouble":false,"panel_bypassed":{"null":true},"panel_chime":false,"panel_entry_delay_off":false,"panel_exit":true,"panel_fire_detected":false,"panel_panicked":false,"panel_perimeter_only":false,"panel_powered":true,"panel_ready":false,"panel_relay_status":[],"panel_type":"DSC","panel_zones_faulted":[]}
[8/18/2019, 8:09:58 PM] [Alarm System] {"last_message_received":"[10010c11000000100D--],03e,[000200000000000000000000000000],"System is Unavailable "","panel_alarming":false,"panel_armed":false,"panel_armed_stay":false,"panel_battery_trouble":false,"panel_bypassed":{"null":true},"panel_chime":false,"panel_entry_delay_off":false,"panel_exit":false,"panel_fire_detected":false,"panel_panicked":false,"panel_perimeter_only":false,"panel_powered":true,"panel_ready":true,"panel_relay_status":[],"panel_type":"DSC","panel_zones_faulted":[]}
Here is my config without my pin: (I switched over to "platformType" just a minute ago)
{
"platform": "alarmdecoder-platform",
"name": "Alarm System",
"port": "9090",
"key": "THISISNOTAREALKEY",
"stateURL": "http://192.168.86.124/api/v1/alarmdecoder",
"zoneURL": "http://192.168.86.124/api/v1/zones",
"setURL": "http://192.168.86.124/api/v1/alarmdecoder/send",
"useSwitches": [
"panic",
"chime",
"away",
"stay",
"night"
],
"panicKey": "<S1>
",
"setPIN": "1234",
"platformType": "DSC",
"chimeKey": "<S9>
",
"DSCStay": "<S4>
",
"DSCAway": "<S5>
",
"DSCReset": "<S7>
",
"DSCExit": "<S8>
"
}
from homebridge-alarmdecoder-platform.
so I think it's something to do with the DSC arm/disarm using the same keys and the system in a confused state. I don't know why that would cause it to loop but I've added a bunch of resync steps before ever issuing a set command and a specific exemption to ensure DSC panels never resend a state it's already in. I just pushed it to dev. Try again.
if it still errors I'll need the full debug capture to figure out the logic failure. you'd need to run home bridge with DEBUG=* homebridge -D.
. Apologies hard to do this blind when I only have a Honeywell panel.
from homebridge-alarmdecoder-platform.
Hey, sorry, busy day. I tried it again and am still seeing the looping. Trying to run Homebridge in debug. I run mine through systemd though, so it's a little less straight forward for me to know how to do that (I really don't use Linux distros too often). I'll poke around and see if I can launch it in debug easily. I don't want to completely destroy my Homekit setup in the process, so I'm being a little cautious.
from homebridge-alarmdecoder-platform.
Also, forgive me if what I'm telling you is irrelevant, but I noticed on the Alarm Decoder site that there's a Protocol page, particularly the "Special Keys" section seems to address DSC special key functions directly. It talks about the codes that need to be sent and that they need to be sent 3x in a row to get them to trigger. Again, you might already be doing this or what I'm saying might be irrelevant for some reason, I haven't been able to dig into the code and really see what's going on, but I thought it'd be worth pointing out at the very least since you've said that DSC wasn't really your focus when first setting this up. Here's the link: https://www.alarmdecoder.com/wiki/index.php/Protocol#Special_Keys
The special keys seem to work every time from the Alarm Decoder Keypad, so I'm just hoping we can somehow replicate that directly.
from homebridge-alarmdecoder-platform.
closing as no follow-up
from homebridge-alarmdecoder-platform.
Related Issues (20)
- Fix for issue 5 broke sending for ademco/honeywell boards HOT 2
- Port Same? HOT 1
- Bad Request',) line 1144. HOT 1
- Bad Request inside of Webapp with Webhook setup as outlined HOT 4
- Sporadic "no response" in HomeKit HOT 7
- Crash when adding to HomeKit on fresh homebridge installation HOT 7
- "No Response" from Alarm System accessory when system is armed HOT 17
- Notification issue HOT 2
- Duplicate Zones after resyncing panel HOT 1
- I'm missing something.... HOT 2
- adding custom buttons? HOT 7
- useSwitches for any arbitrary commands HOT 1
- Can’t Arm “Night” HOT 8
- Plugin causing system to crash HOT 2
- Parse Error: Expected HTTP/ HOT 1
- Errors detected with interlogix integration HOT 1
- Excessive logging in Homebridge HOT 3
- Repository Release is showing 2.x HOT 1
- Plug-in is slowing down Homebridge
- Npm and Git repos are out of sync HOT 6
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 homebridge-alarmdecoder-platform.