在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:goedh452/homebridge-http-sprinkler开源软件地址:https://github.com/goedh452/homebridge-http-sprinkler开源编程语言:JavaScript 100.0%开源软件介绍:homebridge-http-sprinklerDescriptionThis homebridge plugin exposes a web-based sprinkler/valve to Apple's HomeKit and allows you to control it via HTTP requests. Installation
ConfigurationCore
Optional fields
Additional fields
Configuration ExamplesSimple configuration:"accessories": [
{
"accessory": "HttpSprinkler",
"name": "HTTP Sprinkler",
"onUrl": "http://myurl.com/on",
"offUrl": "http://myurl.com/off"
}
] Sample based on Domoticz JSON API:"accessories": [
{
"accessory": "HttpSprinkler",
"name": "Sprinkler backyard",
"icon": 1,
"onUrl": "http://localhost:8080/json.htm?type=command¶m=switchlight&idx=135&switchcmd=On",
"offUrl": "http://localhost:8080/json.htm?type=command¶m=switchlight&idx=135&switchcmd=Off",
"timeout": 3000,
"checkStatus": "polling",
"pollingInterval": 5000,
"statusUrl": "http://localhost:8080/json.htm?type=devices&rid=135",
"jsonPath": "result[0].Status",
"onValue": "On",
"offValue": "Off",
"useTimer": "yes",
"defaultTime": 900,
"httpMethod": "GET"
}
] |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论