forked from Martvvliet/homebridge-denon-heos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
100 lines (100 loc) · 2.26 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"pluginAlias": "SharpTV",
"pluginType": "platform",
"footerDisplay": "Homebridge plugin for Sharp Aquos TVs.",
"schema": {
"type": "object",
"properties": {
"pollInterval": {
"title": "Polling interval",
"description": "The state of the TV is polled every 60 seconds. Change this interval with this value. The value is the interval in seconds.",
"type": "integer",
"placeholder": 60,
"required": false
},
"debugToInfo": {
"title": "Print debug log in info log.",
"description": "Set to true if you wan't to debug the plugin but you don't have access to the debug log.",
"type": "boolean",
"default": false,
"required": false
},
"devices": {
"description": "Name and IP of TVs to create accessories for",
"title": "Devices",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "Sharp TV",
"required": true,
"minLength": 4
},
"ip": {
"title": "IP address",
"type": "string",
"placeholder": "192.168.xx.xx",
"format": "ipv4",
"required": true,
"minLength": 4
},
"defaultInputID": {
"title": "Default InputID",
"type": "string",
"placeholder": "None",
"required": false,
"typeahead": {
"source": [
"1",
"2",
"3",
"4",
"5",
"6",
"7"
]
}
},
"inputs": {
"title": "List with selectable inputs",
"description": "The list with used inputs.",
"type": "array",
"items": {
"type": "object",
"properties": {
"inputID": {
"title": "Input ID",
"type": "string",
"placeholder": "1",
"required": true,
"typeahead": {
"source": [
"1",
"2",
"3",
"4",
"5",
"6",
"7"
]
}
},
"name": {
"title": "Input name",
"type": "string",
"placeholder": "HDMI 1",
"required": true,
"minLength": 1
}
}
}
}
}
}
}
}
}
}