@ottimis/homebridge-securitas-direct v1.0.1
homebridge-securitas-direct
This is a plugin for Homebridge. It's an implementation for your Securitas Direct (Verisure non-V Box) installation and exposes the following devices:
- Security alarm
If you have a Verisure V Box system, please use homebridge-verisure.
Protect linked devices & accounts
If configured, this plugin will expose your security system. Please protect you installation from unauthorized access:
- Generate a unique
pinfor your Homebridge config. Never, ever use the default one. - Lock all devices with access to your installation when not in use.
- Remove access from users that no longer need it.
- Keep your devices up to date.
Installation
npm install -g homebridge-securitas-directNow you can update your configuration file to enable the plugin, see sample snippet below.
Configuration
Along with username and password, you also need to provide your installation ID. This can be found in the Verisure/Securitas Direct app or web application.
As part of your configuration, add an object with your Verisure credentials to your array (list) of enabled platform plugins. Example config:
"platforms": [
{
"platform" : "securitas-direct",
"name" : "Securitas Direct",
"username": "john",
"password": "yourT0p5ecre7Passw0rd",
"country": "es",
"installation": "123456789",
"pollInterval": 60
}
]usernameRequired string containing your Securitas Direct username.passwordRequired string containing your Securitas Direct password.countryRequired string containing your installation country,es,fr,ptetc.installationRequired string containing your installation ID. This can be found in the Verisure/Securitas Direct app or website.pollIntervalOptional integer containing poll interval in seconds. Defaults to60.
Environment variables
For convenience, the following environment variables can be used instead of placing secrets in your config.json.
SECURITAS_DIRECT_PASSWORDSECURITAS_DIRECT_USERNAME