forked from fredericvl/homebridge-rcswitch-gpiomem2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-sample.json
41 lines (41 loc) · 1.18 KB
/
config-sample.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
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file to help you get set up with homebridge-rcswitch-gpiomem.",
"accessories": [
{
"accessory": "RCSwitch",
"name": "Switch number one",
"onCode": 1234567,
"offCode": 2345678,
"pin": 17,
"protocol": 1,
"pulseLength": 190,
"bitLength": 24,
"repeats": 10
},
{
"accessory": "RCSwitch",
"name": "Switch number two",
"onCode": "010001011001100010100110",
"offCode": "001101000010100010111101"
},
{
"accessory": "RCSwitch",
"name": "Switch number three (eg Elro, Brennstuhl)",
"systemcode": "01111",
"unitcode": 1
},
{
"accessory": "RCSwitch",
"name": "Switch number four (Rev Intertechno V1)",
"onCode": "1FFFF1F0FFFF",
"offCode": "1FFFF1F0FF00",
"triState": true
}
]
}