-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.schema.json
56 lines (56 loc) · 1.9 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
{
"pluginAlias": "GogoGate2",
"pluginType": "platform",
"singular": false,
"headerDisplay": "This plugin is provided by [nicoduj](https://github.com/nicoduj/)",
"footerDisplay": "Support via [paypal](https://www.paypal.me/nicoduj/).",
"schema": {
"type": "object",
"required": ["name", "gogogateIP", "username", "password"],
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"gogogateIP": {
"title": "IP Address of your gogogate (must be fixed)",
"type": "string",
"format": "ipv4"
},
"username": {
"title": "Gogogate account login",
"type": "string"
},
"password": {
"title": "Gogogate account password",
"type": "string"
},
"refreshTimer": {
"title": "Refresh timer",
"type": "integer",
"default": 0,
"minimum": 30,
"maximum": 600,
"description": "Enable refresh of doors state every X seconds, for automation purpose if you need to activate something else based on a state change of a door by another means than homekit. Be aware it might make you gogoggate smokes since the plugin will ask its status very often :)"
},
"maxWaitTimeForOperation": {
"title": "Maximum wait time during operation",
"type": "integer",
"default": 30,
"minimum": 30,
"maximum": 90,
"description": "Set the maximum time that we wait for door operation to complete. When elapsed, check the current State again and updates accordingly."
},
"refreshTimerDuringOperation": {
"title": "Refresh timer during operation",
"type": "integer",
"default": 10,
"minimum": 2,
"maximum": 15,
"description": "Set the refresh timer during operation in progress to detect the end of the operation."
}
}
},
"form": null,
"display": null
}