2.1.0 • Published 2 years ago

@ottimis/securitas-direct v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

node-securitas-direct

npm.io

GitHub Actions badge

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);
  });