forked from ericmagnuson/rmcontrol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json.sample
60 lines (60 loc) · 1.61 KB
/
config.json.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"bridge": {
"name": "RM Control",
"username": "CC:22:3D:E3:CE:31",
"port": "51826",
"pin": "123-45-678"
},
"description": "This is an example configuration file for using Homebridge with RM Control",
"accessories": [
{
"accessory": "HttpMulti",
"name": "Couch light",
"http_method": "POST",
"on_url": "http://192.168.1.104:5000/commands/1%20On",
"off_url": "http://192.168.1.104:5000/commands/1%20Off",
"deviceType": "light"
},
{
"accessory": "HttpMulti",
"name": "Desk light",
"http_method": "POST",
"on_url": "http://192.168.1.104:5000/commands/2%20On",
"off_url": "http://192.168.1.104:5000/commands/2%20Off",
"deviceType": "light"
},
{
"accessory": "HttpMulti",
"name": "Tall lamp",
"http_method": "POST",
"on_url": "http://192.168.1.104:5000/commands/3%20On",
"off_url": "http://192.168.1.104:5000/commands/3%20Off",
"deviceType": "light"
},
{
"accessory": "HttpMulti",
"name": "Bed lamp",
"http_method": "POST",
"on_url": "http://192.168.1.104:5000/commands/4%20On",
"off_url": "http://192.168.1.104:5000/commands/4%20Off",
"deviceType": "light"
},
{
"accessory": "HttpMulti",
"name": "Corner lamp",
"http_method": "POST",
"on_url": "http://192.168.1.104:5000/commands/5%20On",
"off_url": "http://192.168.1.104:5000/commands/5%20Off",
"deviceType": "light"
},
{
"accessory": "HttpMulti",
"name": "Screen",
"http_method": "POST",
"down_url": "http://192.168.1.104:5000/commands/Screen%20Down",
"up_url": "http://192.168.1.104:5000/commands/Screen%20Up",
"deviceType": "light"
}
],
"platforms": []
}