generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig.schema.json
63 lines (63 loc) · 2.12 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
{
"pluginAlias": "playstation",
"pluginType": "platform",
"footerDisplay": "Homebridge plugin for Playstation 4/5 consoles.",
"singular": true,
"schema": {
"type": "object",
"properties": {
"pollInterval": {
"title": "Poll Interval",
"type": "integer",
"default": 5000,
"description": "Determine how often should device information be fetched (in milliseconds)"
},
"overrides": {
"title": "Overrides for default values of the console",
"type": "array",
"description": "Most of the information is fetched from the console itself. If you want to override some values, you can do it here; create an entry for each console you want to override by providing the device ID and the properties to override.",
"items": {
"type": "object",
"properties": {
"deviceId": {
"title": "Device ID",
"type": "string",
"placeholder": "1234567890",
"required": true
},
"name": {
"title": "Console Name",
"type": "string",
"placeholder": "Playstation 5",
"required": false
}
}
}
},
"apps": {
"title": "List of applications you can control.",
"description": "(Doesn't work on PlayStation 5) A list of playstation games. You can find them here <a href=\"https://serialstation.com\" target=\"_blank\">serialstation.com</a> or use `playactor check` to get information about the running title.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"title": "Title ID",
"type": "string",
"placeholder": "CUSA12345",
"required": true,
"minLength": 8
},
"name": {
"title": "Application Name",
"type": "string",
"placeholder": "Fortnite (shown in Home app)",
"required": true,
"minLength": 2
}
}
}
}
}
}
}