Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 980 Bytes

File metadata and controls

34 lines (23 loc) · 980 Bytes

node-securitas-direct

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