New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

verisure

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

verisure

A module for reading and changing status of Verisure devices.

latest
Source
npmnpm
Version
5.1.2
Version published
Maintainers
1
Created
Source

node-verisure

GitHub Actions badge

A module for reading and changing status of Verisure devices.

This software is not affiliated with Verisure Holding AB and the developers take no legal responsibility for the functionality or security of your alarms and devices.

Installation

$ npm install verisure --save

Usage

const Verisure = require('verisure');

const verisure = new Verisure('my@email.com', 'mysecretpassword');

verisure.getToken()
  .then(() => verisure.getInstallations())
  .then((installations) => installations[0].client({
    operationName: 'Broadband',
    query: `query Broadband($giid: String!) {
      installation(giid: $giid) {
        broadband {
          testDate
          isBroadbandConnected
          __typename
        }
        __typename
      }
    }`,
  }))
  .then((broadband) => {
    console.log('BROADBAND:', broadband);
  })
  .catch((error) => {
    console.error(error);
  });

Multi-factor authentication

For users with MFA enabled, you need to invoke getToken twice. First without arguments, second with the one-time code.

const verisure = new Verisure(email, password);

await verisure.getToken();

console.log('One-time code sent.');

await verisure.getToken(code);

console.log(verisure.cookies);

Once you retrieve the cookies, these can be used to make authenticated requests.

const verisure = new Verisure('my@email.com', null, [
  'vid=myTopSecretToken',
  'vs-access=myAccessToken',
  'vs-refresh=myRefreshToken'
]);

const installations = await verisure.getInstallations();

Keywords

alarm

FAQs

Package last updated on 09 Feb 2026

Did you know?

Socket

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.

Install

Related posts