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

lucavb/homebridge-http-motion-sensor: Network based motion sensor plugin for hom ...

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

开源软件名称:

lucavb/homebridge-http-motion-sensor

开源软件地址:

https://github.com/lucavb/homebridge-http-motion-sensor

开源编程语言:

TypeScript 67.4%

开源软件介绍:

homebridge-http-motion-sensor

This plugin offers you a motion sensor that can be triggerd via an HTTP request. This can be used in conjunction with an ESP8266 for instance or an Arduino with an ethernet shield. I will add an example Arduino script in the future.

Installation

Run the following command

npm install -g homebridge-http-motion-sensor

Chances are you are going to need sudo with that.

Config.json

This is an example configuration

"accessories" : [

    {
        "accessory": "http-motion-sensor",
        "name": "Hallway Motion Sensor",
        "port": 18089,
        "serial" : "E642011E3ECB",
        "bind_ip" : "0.0.0.0",
        "repeater" : [
                {
                    "host" : "192.168.2.11",
                    "port" : "22322",
                    "path" : "/turnonscreentilltimeout",
                    "auth" : "username:password"
                }
            ]
    }
]
Key Description
accessory Required. Has to be "http-motion-sensor"
name Required. The name of this accessory. This will appear in your homekit app
port Required. The port that you want this plugin to listen on. Choose a number above 1024.
serial Optional. Assigns a serial number. Not really required but I would advise in making up some arbitrary string.
repeater Optional. Whenever the http server setup by this plugin is hit, it will also make a request to each entry in this array. I am using it to turn on a screen in my hallway. See this for further information.
bind_ip Optional. If you know what this is, you'll know what to do with it.



鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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