-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathconfig.schema.json
127 lines (127 loc) · 5.43 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"pluginAlias": "Blink",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"default": "Blink",
"type": "string"
},
"username": {
"title": "username",
"type": "string"
},
"password": {
"title": "password",
"type": "string"
},
"pin": {
"title": "PIN",
"description": "The PIN sent during 2FA (leave blank on first use; enter after first auth attempt)",
"type": "number"
},
"hide-alarm": {
"title": "Hide Alarm (Security System)",
"placeholder": true,
"description": "When combined with the arm switch (used or automation), the Security-System will have to be controlled by Blink App.",
"type": "boolean"
},
"hide-manual-arm-switch": {
"title": "Hide Sync Module Arm Switch",
"placeholder": true,
"description": "The Sync Module Arm switch allows for automations to arm / disarm all cameras associated with a sync module",
"type": "boolean"
},
"hide-temperature-sensor": {
"title": "Hide Camera Temperature Sensors",
"placeholder": false,
"type": "boolean"
},
"hide-enabled-switch": {
"title": "Hide Camera Motion Enabled/Disable Switch",
"placeholder": false,
"type": "boolean"
},
"hide-privacy-switch": {
"title": "Hide Camera Privacy-Mode Enable/Disable Switch",
"placeholder": false,
"description": "Privacy-Mode prevents thumbnails from refreshing when the Security-System is not armed. Disabling this switch will globally disable privacy-mode on all cameras.",
"type": "boolean"
},
"enable-liveview": {
"title": "Enable LiveView when clicking on a camera feed (experimental)",
"placeholder": false,
"description": "By default, the camera view will expose the last recorded motion. Enabling live view will enable the experimental liveview relay",
"type": "boolean"
},
"disable-thumbnail-refresh": {
"title": "Disable thumbnail auto-refresh",
"default": false,
"description": "By default, the thumbnails of the cameras will refresh when the camera is enabled, disabling the auto refresh keeps the default thumbnail untouched.",
"type": "boolean"
},
"camera-thumbnail-refresh-seconds": {
"title": "Camera Thumbnail Refresh (seconds)",
"type": "integer",
"minimum": 0,
"placeholder": "3600",
"description": "Force Thumbnail refresh every N seconds. If auto refresh is disabled, this value is ignored."
},
"camera-status-polling-seconds": {
"title": "Status Polling (seconds)",
"type": "integer",
"minimum": 1,
"placeholder": "30",
"description": "Camera status does not update live and must be fetched periodically. By default this is done every 45 seconds"
},
"camera-motion-polling-seconds": {
"title": "Camera Motion Polling (seconds)",
"type": "integer",
"minimum": 0,
"placeholder": "15",
"description": "Camera motion detection does not update live and must be fetched periodically. By default this is done every 20 seconds"
},
"logging": {
"title": "Advanced Logging",
"type": "string",
"oneOf": [
{ "title": "Verbose", "enum": ["verbose"] },
{ "title": "Debug", "enum": ["debug"] }
]
},
"enable-startup-diagnostic": {
"title": "Enable Diagnostic Logging on startup",
"default": false,
"type": "boolean"
}
},
"required": [
"name",
"username",
"password"
]
},
"layout": [
{ "key": "name", "title": "Name"},
{ "key": "username", "title": "Credentials", "placeholder": "[email protected]" },
{ "key": "password", "placeholder": "password", "notitle": true },
{ "key": "pin", "placeholder": "2FA pin", "notitle": true },
{ "type": "section", "title": "Features", "expandable": true, "expanded": false,
"items": [
"hide-alarm", "hide-manual-arm-switch", "hide-enabled-switch", "hide-privacy-switch",
"disable-thumbnail-refresh",
"hide-temperature-sensor", "enable-liveview"
]
},
{ "type": "section", "title": "Advanced Settings", "expandable": true, "expanded": false,
"items": [
"camera-thumbnail-refresh-seconds",
"camera-status-polling-seconds", "camera-motion-polling-seconds",
"logging", "enable-startup-diagnostic"
]
}
]
}