Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-alarmdecoder

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-alarmdecoder - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

1

index.js

@@ -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', {

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc