generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
89 lines (82 loc) · 2.34 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
{
"pluginAlias": "EpsonProjector",
"pluginType": "platform",
"singular": true,
"strictValidation": false,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Projector Name",
"description": "The name of your Projector.",
"type": "string",
"default": "My Projector",
"minLength": 1,
"required": true
},
"model": {
"title": "Projector Model",
"description": "The model number of the Projector to display in Homekit.",
"type": "string",
"default": "Unknown",
"required": false
},
"serial": {
"title": "Projector Serial Number",
"description": "The serial number of the Projector to display in Homekit.",
"type": "string",
"default": "Unknown",
"required": false
},
"ipAddress": {
"title": "Projector IP Address",
"description": "The IP Address of your Projector.",
"type": "string",
"default": "192.168.0.100",
"format": "ipv4",
"required": true
},
"requestTimeout": {
"title": "HTTP Timeout",
"description": "How long to wait for an HTTP response before giving up (in ms).",
"type": "number",
"default": 10000,
"required": false
},
"referer": {
"title": "HTTP Referer",
"type": "string",
"required": false,
"default": "/cgi-bin/webconf",
"description": "The HTTP Referer Value (Needed for proper \"authentication\")."
},
"useDigestAuth": {
"title": "Enable HTTP Digest Auth",
"type": "boolean",
"required": false,
"default": false,
"description": "Use HTTP Digest Authentication when making HTTP requests."
},
"digestAuthUsername": {
"title": "HTTP Username",
"type": "string",
"required": false,
"default": "EPSONWEB",
"description": "Web Control Username."
},
"digestAuthPassword": {
"title": "HTTP Password",
"type": "string",
"required": false,
"default": "1234",
"description": "Web Control Password."
},
"debug": {
"title": "Show Debug Messages",
"type": "boolean",
"default": true,
"required": false
}
}
}
}