forked from LASER-Yi/homebridge-mi-acpartner
-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.config.json
70 lines (70 loc) · 2.2 KB
/
example.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "123-45-568"
},
"platforms": [
{
"platform": "XiaoMiAcPartner",
"devices":{
"192.168.31.146":"acpartner_token_here",
"192.168.31.201":"acpartner_token_here"
},
"accessories":[
{
"name": "Bedroom AC",
"type": "heaterCooler",
"sensorSid": "lumi.158d000156e667"
},
{
"name": "Living room AC",
"type": "climate",
"deviceIp": "192.168.31.201",
"maxTemp": "30",
"minTemp": "17",
"customize": {
"off": "",
"auto": "",
"heat": {
"30": "",
"29": "",
"17": ""
},
"cool": {
"30": "",
"29": "",
"17": ""
}
}
},{
"name": "learn",
"type": "learnIR"
},{
"name": "TV",
"type": "switch",
"data":{
"on": "FE01825423434",
"off": "FE01920531312"
}
},{
"name": "Automatic IR Switch",
"type": "switchRepeat",
"data":{
"on": [
"FE.....",
"FE......",
"FE......"
],
"off": [
"FE.....",
"FE......",
"FE......"
]
}
}
]
}
]
}