mirror of
https://github.com/mtan93/homebridge.git
synced 2026-04-19 06:13:10 +01:00
example HTTP accessory
This commit is contained in:
@@ -81,6 +81,14 @@
|
|||||||
"device_id": "E1",
|
"device_id": "E1",
|
||||||
"protocol": "pl",
|
"protocol": "pl",
|
||||||
"can_dim": true
|
"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