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

szlaskidaniel/homebridge-risco-alarm: RiscoAlarm Plugin for Homebridge

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

开源软件名称:

szlaskidaniel/homebridge-risco-alarm

开源软件地址:

https://github.com/szlaskidaniel/homebridge-risco-alarm

开源编程语言:

JavaScript 100.0%

开源软件介绍:

Code was removed from Homebridge, now runs as pure nodeJS standalone service https://github.com/szlaskidaniel/risco-service This way, it can be re-used with any other 3rd party automation Tool

this version is longer maintained

I'm glad that this code helped a lot of other people to sync their not-homekit devices with HomeKit platfrom. Unfortunatelly for a time being I need to drop support of this code. You can still Fork it to your repos and based on it fix/adapt it to the current requirements. Cheers!

About

This is plugin that integrate Homebridge with Risco Cloud Alarm Security System. Integration works only when proper Ethernet module is added to your Risco Unit and you are able to arm & disarm your system via https://www.riscocloud.com/ELAS/WebUI.

For now there are only 2 working states (ARM / DISARM), where ARM is common for all HomeKit states (AWAY, NIGHT, AT HOME). If more than 0 Partitions (Zones) are armed, Plugin reports that as system is ARMED. HomeKit looks globally, cannot distinguish difference between multiple Zones armed / disarmed.

When Polling option is enabled, Alarm state is refreshed in background, that means when you open HomeApp - there is no delay to display RiscoAlarm status. It's retreived from cached value.

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-risco-alarm
  3. Update your configuration file. See sample config.json snippet below.

Configuration

Configuration sample:

   "accessories": [
       {
           "accessory": "RiscoAlarm",
           "name": "RiscoAlarm",
           "debuglogging": 0,
           "polling": true,
           "pollInterval": 15000,
           "riscoUsername": "",
           "riscoPassword": "",
           "riscoSiteId": 12345,
           "riscoPIN": "",
           "armCommand": "armed",
           "partialCommand": "partially",
           "homeCommand": "partially"
           "disarmCommand": "disarmed",
           "riscoPartMode": false,
           "riscoPartId": 0            
       }
   ]

Fields:

  • "accessory": Must always be "RiscoAlarm" (required)
  • "name": Can be anything (used in logs)
  • "debuglogging" , 0: levels as follows 0 = state logging, 1 = some debug logging, 2 = all debug logging
  • "riscoUsername" , "riscoPassword": UserName and Password for you Web interface to RiscoCloud
  • "riscoSiteId": This is your siteId to login.
  • "riscoPIN": PIN Code used for arm/disarm
  • "polling": optionally poll for latest RiscoCloud status
  • "pollInterval": time in ms for polling
  • "armCommand": partitions that should be armed
  • "partialCommand": partitions that should be partially armed
  • "homeCommand": partitions that should be partially armed
  • "disarmCommand": partitions that should be disarmed
  • "riscoPartMode": false by default. Set to true if you want to manage one or more partitions independently.
  • "riscoPartId": 0 by default. Used when riscoPartMode is active. (0 => 1st Zone/Partition, 1 => 2nd Zone/Partition,...)

To get your riscoSiteId, login to riscocloud via ChromeBrowser (first login screen), and before providing your PIN (second login page), display source of the page and find string: <div class="site-name" ... it will look like:

<div class="site-name" id="site_12345_div">

In that case "12345" is your siteId which should be placed in new config file.

When set partitions for arm/disarm please use below schema (when "riscoPartMode" is set to false): For all partitions actions use default "armed" and "disarmed" , for single partition use "1:armed" and "1:disarmed"

Thank you

If you like it, any BTC donation will be great. My BTC Wallet: 3Ma1KEEfvNbvfAEyvRvmGHxNs61qZE7Jew Zrzut ekranu 2021-10-12 o 11 19 06




鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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