From 53b54a239112966cfff4393fd865676b80710370 Mon Sep 17 00:00:00 2001 From: Tobias Blum Date: Sun, 22 May 2016 00:36:43 +0200 Subject: [PATCH] Added sample configuration for homebridge. --- clients/homebridge/config.json | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 clients/homebridge/config.json diff --git a/clients/homebridge/config.json b/clients/homebridge/config.json new file mode 100644 index 0000000..deef550 --- /dev/null +++ b/clients/homebridge/config.json @@ -0,0 +1,39 @@ +{ + "bridge": { + "name": "Homebridge", + "username": "AA:BB:CC:DD:EE:FF", + "port": 51826, + "pin": "012-34-567" + }, + + "description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.", + + "accessories": [ + { + "accessory": "HTTP-RGB", + "name": "Wohnzimmerlampe", + + "switch": { + "status": "http:///get_switch", + "powerOn": "http:///all?r=255&g=1255&b=255", + "powerOff": "http:///off" + }, + + "brightness": { + "status": "http:///get_brightness", + "url": "http:///set_brightness?p=%s" + }, + + "color": { + "status": "http:///get_color", + "url": "http:///all?rgb=%s", + "brightness": true + } + } + + ], + + "platforms": [ + + ] +} \ No newline at end of file