generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
60 lines (60 loc) · 2.37 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
{
"pluginAlias": "BenqProjectorPlatform",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"required": [
"devices"
],
"properties": {
"devices": {
"type": "array",
"title": "BenQ 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.",
"properties": {
"name": {
"required": true,
"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": "W2700",
"description": "Only displayed in accessory details in HomeKit."
},
"adapter": {
"required": true,
"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": {
"required": true,
"type": "integer",
"title": "Baudrate of Serial Connection",
"description": "Baudrate required for successful serial connection to the projector.",
"default": 9600
},
"pollingInterval": {
"required": true,
"type": "integer",
"title": "Polling Interval",
"description": "Interval in milliseconds at which to poll for status of projector.",
"default": 10000
}
}
}
}
},
"additionalProperties": false
}
}