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

mtflud/homebridge-dchs220-siren: Homebridge Plugin for D-Link DCH-S220 Wi-Fi ena ...

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

开源软件名称:

mtflud/homebridge-dchs220-siren

开源软件地址:

https://github.com/mtflud/homebridge-dchs220-siren

开源编程语言:

JavaScript 100.0%

开源软件介绍:

Homebridge D-Link's DCH-S220 Wi-Fi enabled Siren Plugin

This plugin exposes the functionality of D-Link's DCH-S220 Siren as a Switch.

Install

  • sudo npm install -g homebridge-dlink-siren
  • Create an accessory in your config.json file
  • Restart homebridge

Example config.json:

   "accessories": [
       {
         "accessory": "SirenSwitch",
         "name": "DLink Siren",
         "ipAddress": "192.168.1.10",
         "pin": 123456,
         "sound": 2,
         "volume": 100,
         "duration": 88888,
         "updateInterval": 2000
       }
   ]

Configuration Parameters

name: The name Homekit will give to your switch (you can change this later in Home app).

ipAddress: The IP Address of your Siren.

pin: 6 digit pin of your Siren, you can find it on the card included with it.

sound: The sound the sren will play upon turning it on, you may select one from the following list:

1 = Emergency

2 = Fire

3 = Ambulance

4 = Police

5 = Door Chime

6 = Beep

volume: Value from 1 to 100 determining the volume the siren should play at.

duration: Time in seconds the siren should play the sound (use 88888 for infinite).

updateInterval: Time in milliseconds the program will poll for siren status.




鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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