@ottimis/securitas-direct
v2.1.0
Published
A module for reading and changing status of Securitas Direct devices.
Downloads
16
Readme
node-securitas-direct
A module for reading and changing status of Securitas Direct devices.
Legal Disclaimer
This software is not affiliated with Securitas Direct and the developers take no legal responsibility for the functionality or security of your alarms and devices.
Installation
$ npm install securitas-direct --save
Usage
const SecuritasDirect = require('securitas-direct');
const client = new SecuritasDirect('username', 'password', 'es');
client.login()
.then(() => client.getInstallation('1234567'))
.then(installation => {
console.log('INSTALLATION:', installation);
})
.catch(error => {
console.error('ERROR:', error);
});