-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig-sample.json
64 lines (62 loc) · 1.72 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:32",
"port": 51826,
"pin": "031-45-154"
},
"accessories": [],
"platforms": [
{
"platform": "SamsungTV",
"devices": [
{
"name": "TV",
"ip": "192.168.0.4",
"appId": "721b6fce-4ee6-48ba-8045-955a539edadb",
"userId": "654321",
"debug": true,
"identity": {
"sessionId": "5",
"aesKey": "bc0e43b580deb033f4d00e502d84f2ed"
},
"power": {
"key": "KEY_POWEROFF",
"enableCEC": false
},
"switches": [
{ "name": "Vol Up", "command": "KEY_VOLUP" },
{ "name": "Vol Down", "command": "KEY_VOLDOWN" },
{ "name": "Mute", "command": "KEY_MUTE" },
{ "name": "Vol Down 5", "command": "5*KEY_VOLDOWN" },
{
"name": "Vol Up 5",
"delay": 1000,
"command": "5*KEY_VOLUP"
},
{
"name": "Vol Down 10",
"command": { "keys": "10*KEY_VOLDOWN" }
},
{
"name": "Vol Up 10",
"command": { "keys": "10*KEY_VOLUP", "delay": 2000 }
},
{ "name": "Channel 10", "command": ["KEY_1", "KEY_0"] },
{
"name": "Channel 11",
"command": { "keys": ["KEY_1", "KEY_1"], "delay": 300 }
},
{
"name": "Launch Netflix",
"command": [
{ "keys": "KEY_CONTENTS", "delay": 2000 },
{ "keys": ["3*KEY_LEFT", "KEY_ENTER"], "delay": 1000 }
]
}
]
}
]
}
]
}