mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
example HTTP accessory
This commit is contained in:
@@ -81,6 +81,14 @@
|
||||
"device_id": "E1",
|
||||
"protocol": "pl",
|
||||
"can_dim": true
|
||||
},
|
||||
{
|
||||
"accessory": "Http",
|
||||
"name": "Kitchen Lamp",
|
||||
"on_url": "https://192.168.1.22:3030/devices/23222/on",
|
||||
"off_url": "https://192.168.1.22:3030/devices/23222/off",
|
||||
"brightness_url": "https://192.168.1.22:3030/devices/23222/brightness/%b",
|
||||
"http_method": "POST"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user