From 7321276121f052e5fd4b7a433f7f047169108432 Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Fri, 12 Jun 2015 11:43:13 -0400 Subject: [PATCH] example HTTP accessory --- config-sample.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config-sample.json b/config-sample.json index a9cc9ec..7ff4ddc 100644 --- a/config-sample.json +++ b/config-sample.json @@ -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" } ] }