node-alarmdecoder
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -166,2 +166,3 @@ /** | ||
keypadMessage(numeric, keypadMessage) { | ||
keypadMessage = keypadMessage || ''; | ||
keypadMessage = keypadMessage.trim().replace(/\s\s+/g, ' ').replace(' "', '').replace('"', ''); | ||
@@ -168,0 +169,0 @@ this.events.emit('keypadMessage', { |
{ | ||
"name": "node-alarmdecoder", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Node.JS client for listening and parsing AlarmDecoder events over ser2sock", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# node-alarmdecoder | ||
Node.JS client for listening and parsing AlarmDecoder events over ser2sock | ||
Node.JS client for listening and parsing AlarmDecoder events over ser2sock. | ||
Easily control and monitor DSC and Ademco / Honeywell Vista alarm systems with a PC, HA system, PLC or embedded device. | ||
@@ -21,5 +22,5 @@ | ||
AlarmDecoder emits 4 events: | ||
1. 'connected' - Successfully connected to AlarmDecoder ser2sock interface | ||
2. 'disconnected' - You shall know | ||
3. 'zoneChanged' - Zone status has been changed. Scroll down to output example. | ||
* 'connected' - Successfully connected to AlarmDecoder ser2sock interface | ||
* 'disconnected' - You shall know | ||
* 'zoneChanged' - Zone status has been changed. Scroll down to output example. | ||
"state": 1 = movement started, door opened or there's a fire, 0 = movement stopped, door closed or no more fire, yay! | ||
@@ -36,4 +37,6 @@ Example in case of Front Door is opened: | ||
``` | ||
4. 'keypadMessage' - Keypad message events / panel status bits. To be documented. | ||
* 'keypadMessage' - Keypad message events / panel status bits. To be documented. | ||
And currently one method: | ||
* enterCode(code) - You can use this to arm/disarm your panel with the code specified | ||
@@ -40,0 +43,0 @@ ## Usage example |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11567
287
144