-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
57 lines (57 loc) · 2.08 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
{
"pluginAlias": "ViewSonic-Projector",
"pluginType": "platform",
"singular": false,
"headerDisplay": "Control a ViewSonic projector or other display via RS232 serial.",
"footerDisplay": "https://github.com/solowalker27/homebridge-viewsonic-projector",
"schema": {
"type": "object",
"required": ["devices"],
"properties": {
"devices": {
"type": "array",
"title": "ViewSonic devices",
"description": "List of devices that should be exposed to HomeKit. Each of them must be added manually to the Home app!",
"items": {
"type": "object",
"title": "Devices",
"description": "A device configuration represents one projector that will be exposed to HomeKit.",
"required": ["name", "adapter"],
"properties": {
"name": {
"type": "string",
"title": "Device Name",
"default": "Projector",
"description": "Name of the projector as it will appear in HomeKit."
},
"model": {
"type": "string",
"title": "Device Model",
"default": "PX701HD",
"description": "Only displayed in accessory details in HomeKit."
},
"adapter": {
"type": "string",
"title": "Path to Serial Adapter",
"default": "/dev/ttyUSB0",
"description": "File system path to the RS232 serial adapter used to communicate with projector."
},
"baudrate": {
"type": "integer",
"title": "Baudrate of Serial Connection",
"description": "Baudrate required for successful serial connection to the projector.",
"default": 115200
},
"pollingInterval": {
"type": "integer",
"title": "Polling Interval",
"description": "Interval in milliseconds at which to poll for status of projector.",
"default": 6000
}
}
}
}
},
"additionalProperties": false
}
}