-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path_config.schema.json
73 lines (73 loc) · 2.71 KB
/
_config.schema.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
71
72
73
{
"pluginAlias": "SamsungTVControl",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"devices": {
"title": "Samsung TV's",
"description": "The TV's will be identified via upnp. Therefore you should turn all Samsung TV's on before starting with the plugin the first time. To customize them look for the correct usn in the homebridge logs.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"title": "TV name",
"placeholder": "TV Livingroom",
"type": "string"
},
"usn": {
"title": "UPNP identifier (usn)",
"description": "Use the usn posted in the homebridge logs.",
"type": "string",
"required": true
},
"token": {
"title": "Pairing token / identity",
"description": "Some devices require pairing them before the plugin can control them. In this case look in the log for the pairing token for this device and add it to your config.",
"type": "string"
},
"delay": {
"title": "Delay between send keys",
"type": "number",
"required": true,
"minimum": 100,
"maximum": 3000
},
"ignore": {
"title": "Ignore this TV",
"type": "boolean"
},
"remoteControlPort": {
"title": "Remote control port",
"description": "When not set for models older than 2014 port 55000 will be used and 8002 for newer ones. You can also try 8001 if e.g. turning off the TV doesn't work.",
"type": "number"
},
"inputs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the input"
},
"keys": {
"type": "string",
"desciption": "Comma seperated keys to send or a numeric string for channels."
}
}
}
},
"disableUpnpSetters": {
"title": "Disable upnp setters",
"description": "If true, volume for example will be set by sending multiple volume up / down keys instead of using upnp to set the value exactly. Some tv's might not support upnp setters however where this option comes in place.",
"type": "boolean"
}
}
}
}
}
}
}