
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
nodealarmproxy
Advanced tools
Use this to communcate to an envisalink 3 module for home alarm monitoring.
##Setup##
npm install nodealarmproxy
the nap-example.js
shows a setup configuration. Replace the init parameters with your own.
Available commands:
initConfig(Object)
will create the server and a proxy for other things to connect to (Envisalink only allows one connection... this allows for multiple connections via proxy). The object needs to be of the form:
{ password:'password', //required
serverpassword:'serverpassword', //optional, will re-use password if not provided
actualhost:config.host, //required
actualport:config.port, //optional, will use default port if not provided
serverhost:'0.0.0.0', //optional, will use '0.0.0.0' if not provided
serverport:config.port, //optional, will use default port if not provided
zone:7, //required, this is the number of sensors you have
partition:1, //required, this is the number of partitions... usually 1
proxyenable:true, //enable the proxy or not
atomicEvents:false //optional, will default to false. If true, specific zone/partition/user events will be broadcast.
}
getCurrent()
will tell the nodealarmproxy to transmit the last known values.
manualCommand(command)
will send a command to the Envisalink 3 (do not include the checksum). Command will be a string based on the envisalink 3 third party interface.
Note: If you don't want to run the proxy, set proxyenable:false
or omit it entirely
Note: My config file has:
exports.password = ''; //Envisalink password
exports.serverpassword=''; //Password you want for proxy server
exports.host = ''; //host IP Address
//exports.host = 'localhost';
exports.port = 4025;
exports.app_id = ""; //smartthings app_id
exports.access_token = ""; //smartthings access_token
Changes were mostly done to the nap-example.js
, however if you're adding SmartThings integration... you'll need to setup your own app by following instructions similar to this (I've contributed to this project as well)... smartthings-dsc-alarm
FAQs
Use this to communcate to an envisalink 3 module for home alarm monitoring.
We found that nodealarmproxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.