• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ptz0n/homebridge-verisure:  Platform plugin for Homebridge allowing to manage ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

ptz0n/homebridge-verisure

开源软件地址:

https://github.com/ptz0n/homebridge-verisure

开源编程语言:

JavaScript 99.5%

开源软件介绍:

homebridge-verisure

Verified by Homebridge

Synk badge

GitHub Actions 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": "[email protected]",
    "password": "yourT0p5ecre7Passw0rd",
    "token": "vid=topSecretToken",
    "alarmCode": "0000",
    "doorCode": "000000",
    "installations": ["Alias"],
    "pollInterval": 60
  }
]
  • email Required string containing your Verisure account email address.
  • password Required string containing your Verisure account password. Not needed if you use a token.
  • token Required string for accounts with MFA enabled.
  • alarmCode Optional string containing your security system alarm code.
  • doorCode Optional string containing your door lock code.
  • installations Optional array for filtering installations based on Verisure alias. Defaults to []
  • pollInterval Optional integer containing poll interval in seconds. Defaults to 60.

Multi-factor authentication

[Verisure] MFA is enabled for user. Please see README.

In 2021 Verisure started enrolling MFA which requires you to obtain a long lived token. This token is used instead of a password in your config and will need to be renewed yearly. After installing the plugin, run npx homebridge-verisure in your terminal and copy the output values into your config.

$ npx homebridge-verisure
✔ What is your login email? · [email protected]
✔ What is your password? · ********************

 One-time code sent.

✔ What is your one-time code? · FAKE12

 Your config is ready.

{
  "platform": "verisure",
  "name": "Verisure",
  "email": "[email protected]",
  "token": "vid=topSecretToken"
}

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
  • VERISURE_TOKEN



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap