-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
46 lines (45 loc) · 1.63 KB
/
config.json
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
{
"bridge": {
"name": "SWITCHBOX-4P-001",
"username": "02:68:B3:29:DA:98",
"port": 51826,
"pin": "094-31-749"
},
"description": "This is my configuration",
"accessories": [
{
"accessory": "Script2",
"name": "Relay 01",
"on": "/var/homebridge/relaycontrol/relaycontroller.sh on 17",
"off": "/var/homebridge/relaycontrol/relaycontroller.sh off 17",
"state": "/var/homebridge/relaycontrol/relaycontroller.sh status 17",
"on_value" : "ON"
},
{
"accessory": "Script2",
"name": "Relay 02",
"on": "/var/homebridge/relaycontrol/relaycontroller.sh on 23",
"off": "/var/homebridge/relaycontrol/relaycontroller.sh off 23",
"state": "/var/homebridge/relaycontrol/relaycontroller.sh status 23",
"on_value" : "ON"
},
{
"accessory": "Script2",
"name": "Relay 03",
"on": "/var/homebridge/relaycontrol/relaycontroller.sh on 24",
"off": "/var/homebridge/relaycontrol/relaycontroller.sh off 24",
"state": "/var/homebridge/relaycontrol/relaycontroller.sh status 24",
"on_value" : "ON"
},
{
"accessory": "Script2",
"name": "Relay 04",
"on": "/var/homebridge/relaycontrol/relaycontroller.sh on 25",
"off": "/var/homebridge/relaycontrol/relaycontroller.sh off 25",
"state": "/var/homebridge/relaycontrol/relaycontroller.sh status 25",
"on_value" : "ON"
}
],
"platforms": [
]
}