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.
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.
请发表评论