Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including homebridge-verisure with all npm packages installed. Try it out:

var homebridgeVerisure = require("homebridge-verisure")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

homebridge-verisure v1.11.0

Verisure plugin for homebridge: https://github.com/nfarina/homebridge

homebridge-verisure

Greenkeeper badge

This is a plugin for Homebridge. It's an implementation for your Verisure installation and exposes the following devices:

  • Security alarm
  • Climate sensor
  • Magnetic contact
  • Night Control
  • Siren
  • SmartLock
  • SmartPlug
  • Smoke detector
  • Vibration detector

Protect linked devices & accounts

If configured, this plugin will expose your security system and door lock. Please protect you installation from unauthorised access:

  1. Generate a unique pin for your config. Never, ever use the default one.
  2. Lock all devices with access to your installation when not in use.
  3. Remove access from users that no longer need it.
  4. Keep your devices up to date.

Installation

npm install -g homebridge-verisure

Now you can update your configuration file to enable the plugin, see sample snippet below.

Configuration

As part of your configuration, add an object with your Verisure credentials to your array (list) of enabled platform plugins. Example config:

"platforms": [
  {
    "platform" : "verisure",
    "name" : "Verisure",
    "email": "your@email.com",
    "password": "yourT0p5ecre7Passw0rd",
    "alarmCode": "0000",
    "doorCode": "000000",
    "pollInterval": 60
  }
]
  • email Required string containing your Verisure account email address.
  • password Required string containing your Verisure account password.
  • alarmCode Optional string containing your security system alarm code.
  • doorCode Optional string containing your door lock code.
  • pollInterval Optional integer containing poll interval in seconds. Defaults to 60.

Environment variables

For convenience, the following environment variables can be used instead of placing secrets in your config.json.

  • VERISURE_ALARM_CODE
  • VERISURE_DOOR_CODE
  • VERISURE_EMAIL
  • VERISURE_PASSWORD

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free