A module for reading and changing status of Securitas Direct devices.
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.
$ npm install securitas-direct --save
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);
});