iobroker.device-watcher 2.13.1 → 2.15.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +26 -415
- package/admin/jsonConfig.json5 +1524 -2856
- package/io-package.json +544 -225
- package/lib/{arrApart.js → adapterArray.js} +809 -669
- package/lib/crud.js +1985 -1932
- package/lib/tools.js +158 -155
- package/lib/translations.js +26 -0
- package/main.js +384 -438
- package/package.json +16 -20
package/admin/jsonConfig.json5
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
i18n: true,
|
|
3
3
|
type: 'tabs',
|
|
4
4
|
items: {
|
|
5
|
-
|
|
5
|
+
_adapterList: {
|
|
6
6
|
type: 'panel',
|
|
7
7
|
label: 'Options',
|
|
8
8
|
items: {
|
|
@@ -15,3155 +15,1823 @@
|
|
|
15
15
|
type: 'checkbox',
|
|
16
16
|
xs: 12,
|
|
17
17
|
sm: 12,
|
|
18
|
-
md:
|
|
18
|
+
md: 6,
|
|
19
19
|
lg: 6,
|
|
20
20
|
xl: 6,
|
|
21
21
|
label: 'Watch adapter/instances',
|
|
22
22
|
},
|
|
23
|
-
|
|
23
|
+
_headerAdapterInstances: {
|
|
24
24
|
type: 'header',
|
|
25
25
|
text: 'Watch devices/services',
|
|
26
26
|
size: 2,
|
|
27
27
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
lg: 3,
|
|
34
|
-
xl: 3,
|
|
35
|
-
label: 'Alexa2',
|
|
36
|
-
},
|
|
37
|
-
apcupsDevices: {
|
|
38
|
-
type: 'checkbox',
|
|
39
|
-
xs: 12,
|
|
40
|
-
sm: 6,
|
|
41
|
-
md: 6,
|
|
42
|
-
lg: 3,
|
|
43
|
-
xl: 3,
|
|
44
|
-
label: 'Apc UPS',
|
|
45
|
-
},
|
|
46
|
-
bleDevices: {
|
|
47
|
-
type: 'checkbox',
|
|
28
|
+
|
|
29
|
+
tableDevices: {
|
|
30
|
+
type: 'table',
|
|
31
|
+
noDelete: true,
|
|
32
|
+
compact: true,
|
|
48
33
|
xs: 12,
|
|
49
|
-
sm:
|
|
50
|
-
md:
|
|
51
|
-
lg:
|
|
52
|
-
xl:
|
|
53
|
-
|
|
34
|
+
sm: 12,
|
|
35
|
+
md: 12,
|
|
36
|
+
lg: 12,
|
|
37
|
+
xl: 12,
|
|
38
|
+
items: [
|
|
39
|
+
{
|
|
40
|
+
title: 'Active',
|
|
41
|
+
type: 'checkbox',
|
|
42
|
+
attr: 'enabled',
|
|
43
|
+
width: '3%',
|
|
44
|
+
default: false,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
type: 'text',
|
|
48
|
+
title: 'Adapter Name',
|
|
49
|
+
attr: 'adapterName',
|
|
50
|
+
maxLength: 50,
|
|
51
|
+
width: '47%',
|
|
52
|
+
filter: true,
|
|
53
|
+
sort: true,
|
|
54
|
+
disabled: true,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
type: 'number',
|
|
58
|
+
title: 'Offline Time for devices/services',
|
|
59
|
+
attr: 'maxSecondDevicesOffline',
|
|
60
|
+
width: '20%',
|
|
61
|
+
min: -1,
|
|
62
|
+
max: 100000,
|
|
63
|
+
default: 0,
|
|
64
|
+
unit: 'sec',
|
|
65
|
+
disabled: '!data.enabled',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
type: 'checkbox',
|
|
69
|
+
title: 'Telegram Silent Mode',
|
|
70
|
+
attr: 'telegramSilent',
|
|
71
|
+
width: '20%',
|
|
72
|
+
default: false,
|
|
73
|
+
disabled: '!data.enabled',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: 'text',
|
|
77
|
+
title: '',
|
|
78
|
+
attr: 'adapterKey',
|
|
79
|
+
width: '1%',
|
|
80
|
+
disabled: true,
|
|
81
|
+
hidden: true,
|
|
82
|
+
},
|
|
83
|
+
],
|
|
54
84
|
},
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
_notifications: {
|
|
88
|
+
type: 'panel',
|
|
89
|
+
label: 'Notifications',
|
|
90
|
+
items: {
|
|
91
|
+
_headerAdapterInstances: {
|
|
92
|
+
type: 'header',
|
|
93
|
+
text: 'Adapter & Instances Notification Settings',
|
|
94
|
+
size: 2,
|
|
95
|
+
hidden: '!data.checkAdapterInstances',
|
|
96
|
+
hideOnlyControl: false,
|
|
63
97
|
},
|
|
64
|
-
|
|
98
|
+
checkSendAdapterUpdateMsg: {
|
|
99
|
+
newLine: true,
|
|
65
100
|
type: 'checkbox',
|
|
66
101
|
xs: 12,
|
|
67
|
-
sm:
|
|
102
|
+
sm: 12,
|
|
68
103
|
md: 6,
|
|
69
|
-
lg:
|
|
70
|
-
xl:
|
|
71
|
-
label: '
|
|
104
|
+
lg: 6,
|
|
105
|
+
xl: 6,
|
|
106
|
+
label: 'Adapter update message',
|
|
107
|
+
help: 'Receive a message when an update for an adapter is available',
|
|
108
|
+
hidden: '!data.checkAdapterInstances',
|
|
109
|
+
hideOnlyControl: false,
|
|
72
110
|
},
|
|
73
|
-
|
|
111
|
+
checkSendAdapterUpdateMsgDaily: {
|
|
74
112
|
type: 'checkbox',
|
|
75
113
|
xs: 12,
|
|
76
|
-
sm:
|
|
114
|
+
sm: 12,
|
|
77
115
|
md: 6,
|
|
78
|
-
lg:
|
|
79
|
-
xl:
|
|
80
|
-
label: '
|
|
116
|
+
lg: 6,
|
|
117
|
+
xl: 6,
|
|
118
|
+
label: 'Overview of updatable adapter',
|
|
119
|
+
help: 'Get a message with an overview of all updatable adapter',
|
|
120
|
+
hidden: '!data.checkAdapterInstances',
|
|
121
|
+
hideOnlyControl: false,
|
|
81
122
|
},
|
|
82
|
-
|
|
83
|
-
type: '
|
|
123
|
+
_sendIntervallAdapterUpdateDay: {
|
|
124
|
+
type: 'panel',
|
|
125
|
+
newLine: true,
|
|
84
126
|
xs: 12,
|
|
85
|
-
sm:
|
|
127
|
+
sm: 12,
|
|
86
128
|
md: 6,
|
|
87
|
-
lg:
|
|
88
|
-
xl:
|
|
89
|
-
|
|
129
|
+
lg: 6,
|
|
130
|
+
xl: 6,
|
|
131
|
+
hidden: '!data.checkSendAdapterUpdateMsgDaily',
|
|
132
|
+
hideOnlyControl: false,
|
|
133
|
+
items: {
|
|
134
|
+
_textDays: {
|
|
135
|
+
type: 'staticText',
|
|
136
|
+
text: 'Choose the day(s) where you want to get the overview of updatable Adapter:',
|
|
137
|
+
style: {
|
|
138
|
+
fontSize: 16,
|
|
139
|
+
marginTop: 20,
|
|
140
|
+
},
|
|
141
|
+
xs: 12,
|
|
142
|
+
sm: 12,
|
|
143
|
+
md: 6,
|
|
144
|
+
lg: 6,
|
|
145
|
+
xl: 6,
|
|
146
|
+
},
|
|
147
|
+
checkAdapterUpdateMonday: {
|
|
148
|
+
newLine: true,
|
|
149
|
+
xs: 12,
|
|
150
|
+
sm: 12,
|
|
151
|
+
md: 6,
|
|
152
|
+
lg: 6,
|
|
153
|
+
xl: 6,
|
|
154
|
+
type: 'checkbox',
|
|
155
|
+
label: 'Mon',
|
|
156
|
+
},
|
|
157
|
+
checkAdapterUpdateTuesday: {
|
|
158
|
+
xs: 12,
|
|
159
|
+
sm: 12,
|
|
160
|
+
md: 6,
|
|
161
|
+
lg: 6,
|
|
162
|
+
xl: 6,
|
|
163
|
+
type: 'checkbox',
|
|
164
|
+
label: 'Tue',
|
|
165
|
+
},
|
|
166
|
+
checkAdapterUpdateWednesday: {
|
|
167
|
+
xs: 12,
|
|
168
|
+
sm: 12,
|
|
169
|
+
md: 6,
|
|
170
|
+
lg: 6,
|
|
171
|
+
xl: 6,
|
|
172
|
+
type: 'checkbox',
|
|
173
|
+
label: 'Wed',
|
|
174
|
+
},
|
|
175
|
+
checkAdapterUpdateThursday: {
|
|
176
|
+
xs: 12,
|
|
177
|
+
sm: 12,
|
|
178
|
+
md: 6,
|
|
179
|
+
lg: 6,
|
|
180
|
+
xl: 6,
|
|
181
|
+
type: 'checkbox',
|
|
182
|
+
label: 'Thu',
|
|
183
|
+
},
|
|
184
|
+
checkAdapterUpdateFriday: {
|
|
185
|
+
xs: 12,
|
|
186
|
+
sm: 12,
|
|
187
|
+
md: 6,
|
|
188
|
+
lg: 6,
|
|
189
|
+
xl: 6,
|
|
190
|
+
type: 'checkbox',
|
|
191
|
+
label: 'Fri',
|
|
192
|
+
},
|
|
193
|
+
checkAdapterUpdateSaturday: {
|
|
194
|
+
xs: 12,
|
|
195
|
+
sm: 12,
|
|
196
|
+
md: 6,
|
|
197
|
+
lg: 6,
|
|
198
|
+
xl: 6,
|
|
199
|
+
type: 'checkbox',
|
|
200
|
+
label: 'Sat',
|
|
201
|
+
},
|
|
202
|
+
checkAdapterUpdateSunday: {
|
|
203
|
+
xs: 12,
|
|
204
|
+
sm: 12,
|
|
205
|
+
md: 6,
|
|
206
|
+
lg: 6,
|
|
207
|
+
xl: 6,
|
|
208
|
+
type: 'checkbox',
|
|
209
|
+
label: 'Sun',
|
|
210
|
+
},
|
|
211
|
+
},
|
|
90
212
|
},
|
|
91
|
-
|
|
92
|
-
type: '
|
|
213
|
+
_sendIntervallAdapterUpdateMsgTime: {
|
|
214
|
+
type: 'panel',
|
|
93
215
|
xs: 12,
|
|
94
|
-
sm:
|
|
216
|
+
sm: 12,
|
|
95
217
|
md: 6,
|
|
96
|
-
lg:
|
|
97
|
-
xl:
|
|
98
|
-
|
|
218
|
+
lg: 6,
|
|
219
|
+
xl: 6,
|
|
220
|
+
hidden: '!data.checkSendAdapterUpdateMsgDaily',
|
|
221
|
+
hideOnlyControl: false,
|
|
222
|
+
items: {
|
|
223
|
+
_textTime: {
|
|
224
|
+
type: 'staticText',
|
|
225
|
+
text: 'Choose the Time:',
|
|
226
|
+
style: {
|
|
227
|
+
fontSize: 16,
|
|
228
|
+
marginTop: 20,
|
|
229
|
+
},
|
|
230
|
+
xs: 12,
|
|
231
|
+
sm: 12,
|
|
232
|
+
md: 6,
|
|
233
|
+
lg: 6,
|
|
234
|
+
xl: 6,
|
|
235
|
+
},
|
|
236
|
+
checkSendAdapterUpdateTime: {
|
|
237
|
+
newLine: true,
|
|
238
|
+
type: 'text',
|
|
239
|
+
help: 'Format hh:mm',
|
|
240
|
+
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendAdapterUpdateTime; if(timePattern.test(value)) return true;return false;',
|
|
241
|
+
validatorNoSaveOnError: true,
|
|
242
|
+
xs: 12,
|
|
243
|
+
sm: 12,
|
|
244
|
+
md: 6,
|
|
245
|
+
lg: 6,
|
|
246
|
+
xl: 6,
|
|
247
|
+
},
|
|
248
|
+
},
|
|
99
249
|
},
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
lg: 3,
|
|
106
|
-
xl: 3,
|
|
107
|
-
label: 'FHEM TFA Sensors',
|
|
250
|
+
trennerUpdatableAdapter: {
|
|
251
|
+
newLine: true,
|
|
252
|
+
type: 'divider',
|
|
253
|
+
hidden: '!data.checkAdapterInstances',
|
|
254
|
+
hideOnlyControl: false,
|
|
108
255
|
},
|
|
109
|
-
|
|
256
|
+
checkSendInstanceDeactivatedMsg: {
|
|
257
|
+
newLine: true,
|
|
110
258
|
type: 'checkbox',
|
|
111
259
|
xs: 12,
|
|
112
|
-
sm:
|
|
260
|
+
sm: 12,
|
|
113
261
|
md: 6,
|
|
114
|
-
lg:
|
|
115
|
-
xl:
|
|
116
|
-
label: '
|
|
262
|
+
lg: 6,
|
|
263
|
+
xl: 6,
|
|
264
|
+
label: 'Instance deactivated message',
|
|
265
|
+
help: 'Receive a message when an instance is deactivated',
|
|
266
|
+
hidden: '!data.checkAdapterInstances',
|
|
267
|
+
hideOnlyControl: false,
|
|
117
268
|
},
|
|
118
|
-
|
|
269
|
+
checkSendInstanceDeactivatedDaily: {
|
|
119
270
|
type: 'checkbox',
|
|
120
271
|
xs: 12,
|
|
121
|
-
sm:
|
|
272
|
+
sm: 12,
|
|
122
273
|
md: 6,
|
|
123
|
-
lg:
|
|
124
|
-
xl:
|
|
125
|
-
label: '
|
|
274
|
+
lg: 6,
|
|
275
|
+
xl: 6,
|
|
276
|
+
label: 'Overview of deactivated instances',
|
|
277
|
+
help: 'Get a message with an overview of all deactivated instances',
|
|
278
|
+
hidden: '!data.checkAdapterInstances',
|
|
279
|
+
hideOnlyControl: false,
|
|
126
280
|
},
|
|
127
|
-
|
|
128
|
-
type: '
|
|
281
|
+
_sendIntervallInstanceDeactivatedDay: {
|
|
282
|
+
type: 'panel',
|
|
283
|
+
newLine: true,
|
|
129
284
|
xs: 12,
|
|
130
|
-
sm:
|
|
285
|
+
sm: 12,
|
|
131
286
|
md: 6,
|
|
132
|
-
lg:
|
|
133
|
-
xl:
|
|
134
|
-
|
|
287
|
+
lg: 6,
|
|
288
|
+
xl: 6,
|
|
289
|
+
hidden: '!data.checkSendInstanceDeactivatedDaily',
|
|
290
|
+
hideOnlyControl: false,
|
|
291
|
+
items: {
|
|
292
|
+
_textDays: {
|
|
293
|
+
type: 'staticText',
|
|
294
|
+
text: 'Choose the day(s) where you want to get the overview of deactivated instances:',
|
|
295
|
+
style: {
|
|
296
|
+
fontSize: 16,
|
|
297
|
+
marginTop: 20,
|
|
298
|
+
},
|
|
299
|
+
xs: 12,
|
|
300
|
+
sm: 12,
|
|
301
|
+
md: 6,
|
|
302
|
+
lg: 6,
|
|
303
|
+
xl: 6,
|
|
304
|
+
},
|
|
305
|
+
checkInstanceDeactivatedMonday: {
|
|
306
|
+
xs: 12,
|
|
307
|
+
sm: 12,
|
|
308
|
+
md: 6,
|
|
309
|
+
lg: 6,
|
|
310
|
+
xl: 6,
|
|
311
|
+
newLine: true,
|
|
312
|
+
type: 'checkbox',
|
|
313
|
+
label: 'Mon',
|
|
314
|
+
},
|
|
315
|
+
checkInstanceDeactivatedTuesday: {
|
|
316
|
+
xs: 12,
|
|
317
|
+
sm: 12,
|
|
318
|
+
md: 6,
|
|
319
|
+
lg: 6,
|
|
320
|
+
xl: 6,
|
|
321
|
+
type: 'checkbox',
|
|
322
|
+
label: 'Tue',
|
|
323
|
+
},
|
|
324
|
+
checkInstanceDeactivatedWednesday: {
|
|
325
|
+
xs: 12,
|
|
326
|
+
sm: 12,
|
|
327
|
+
md: 6,
|
|
328
|
+
lg: 6,
|
|
329
|
+
xl: 6,
|
|
330
|
+
type: 'checkbox',
|
|
331
|
+
label: 'Wed',
|
|
332
|
+
},
|
|
333
|
+
checkInstanceDeactivatedThursday: {
|
|
334
|
+
xs: 12,
|
|
335
|
+
sm: 12,
|
|
336
|
+
md: 6,
|
|
337
|
+
lg: 6,
|
|
338
|
+
xl: 6,
|
|
339
|
+
type: 'checkbox',
|
|
340
|
+
label: 'Thu',
|
|
341
|
+
},
|
|
342
|
+
checkInstanceDeactivatedFriday: {
|
|
343
|
+
xs: 12,
|
|
344
|
+
sm: 12,
|
|
345
|
+
md: 6,
|
|
346
|
+
lg: 6,
|
|
347
|
+
xl: 6,
|
|
348
|
+
type: 'checkbox',
|
|
349
|
+
label: 'Fri',
|
|
350
|
+
},
|
|
351
|
+
checkInstanceDeactivatedSaturday: {
|
|
352
|
+
xs: 12,
|
|
353
|
+
sm: 12,
|
|
354
|
+
md: 6,
|
|
355
|
+
lg: 6,
|
|
356
|
+
xl: 6,
|
|
357
|
+
type: 'checkbox',
|
|
358
|
+
label: 'Sat',
|
|
359
|
+
},
|
|
360
|
+
checkInstanceDeactivatedSunday: {
|
|
361
|
+
xs: 12,
|
|
362
|
+
sm: 12,
|
|
363
|
+
md: 6,
|
|
364
|
+
lg: 6,
|
|
365
|
+
xl: 6,
|
|
366
|
+
type: 'checkbox',
|
|
367
|
+
label: 'Sun',
|
|
368
|
+
},
|
|
369
|
+
},
|
|
135
370
|
},
|
|
136
|
-
|
|
137
|
-
type: '
|
|
371
|
+
_sendIntervallInstanceDeactivatedMsgTime: {
|
|
372
|
+
type: 'panel',
|
|
138
373
|
xs: 12,
|
|
139
|
-
sm:
|
|
374
|
+
sm: 12,
|
|
140
375
|
md: 6,
|
|
141
|
-
lg:
|
|
142
|
-
xl:
|
|
143
|
-
|
|
376
|
+
lg: 6,
|
|
377
|
+
xl: 6,
|
|
378
|
+
hidden: '!data.checkSendInstanceDeactivatedDaily',
|
|
379
|
+
hideOnlyControl: false,
|
|
380
|
+
items: {
|
|
381
|
+
_textTime: {
|
|
382
|
+
type: 'staticText',
|
|
383
|
+
text: 'Choose the Time:',
|
|
384
|
+
style: {
|
|
385
|
+
fontSize: 16,
|
|
386
|
+
marginTop: 20,
|
|
387
|
+
},
|
|
388
|
+
xs: 12,
|
|
389
|
+
sm: 12,
|
|
390
|
+
md: 6,
|
|
391
|
+
lg: 6,
|
|
392
|
+
xl: 6,
|
|
393
|
+
},
|
|
394
|
+
checkSendInstanceDeactivatedTime: {
|
|
395
|
+
newLine: true,
|
|
396
|
+
type: 'text',
|
|
397
|
+
help: 'Format hh:mm',
|
|
398
|
+
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendInstanceDeactivatedTime; if(timePattern.test(value)) return true;return false;',
|
|
399
|
+
validatorNoSaveOnError: true,
|
|
400
|
+
xs: 12,
|
|
401
|
+
sm: 12,
|
|
402
|
+
md: 6,
|
|
403
|
+
lg: 6,
|
|
404
|
+
xl: 6,
|
|
405
|
+
},
|
|
406
|
+
},
|
|
144
407
|
},
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
lg: 3,
|
|
151
|
-
xl: 3,
|
|
152
|
-
label: 'Ham',
|
|
408
|
+
trennerInstanceDeactivated: {
|
|
409
|
+
newLine: true,
|
|
410
|
+
type: 'divider',
|
|
411
|
+
hidden: '!data.checkAdapterInstances',
|
|
412
|
+
hideOnlyControl: false,
|
|
153
413
|
},
|
|
154
|
-
|
|
414
|
+
checkSendInstanceFailedMsg: {
|
|
415
|
+
newLine: true,
|
|
155
416
|
type: 'checkbox',
|
|
156
417
|
xs: 12,
|
|
157
|
-
sm:
|
|
418
|
+
sm: 12,
|
|
158
419
|
md: 6,
|
|
159
|
-
lg:
|
|
160
|
-
xl:
|
|
161
|
-
label: '
|
|
420
|
+
lg: 6,
|
|
421
|
+
xl: 6,
|
|
422
|
+
label: 'Instance failed message',
|
|
423
|
+
help: 'Receive a message when an instance failed',
|
|
424
|
+
hidden: '!data.checkAdapterInstances',
|
|
425
|
+
hideOnlyControl: false,
|
|
162
426
|
},
|
|
163
|
-
|
|
427
|
+
checkSendInstanceFailedDaily: {
|
|
164
428
|
type: 'checkbox',
|
|
165
429
|
xs: 12,
|
|
166
|
-
sm:
|
|
430
|
+
sm: 12,
|
|
167
431
|
md: 6,
|
|
168
|
-
lg:
|
|
169
|
-
xl:
|
|
170
|
-
label: '
|
|
432
|
+
lg: 6,
|
|
433
|
+
xl: 6,
|
|
434
|
+
label: 'Overview of failed instances',
|
|
435
|
+
help: 'Get a message with an overview of all failed instances',
|
|
436
|
+
hidden: '!data.checkAdapterInstances',
|
|
437
|
+
hideOnlyControl: false,
|
|
171
438
|
},
|
|
172
|
-
|
|
173
|
-
type: '
|
|
439
|
+
_sendIntervallFailedInstancesDay: {
|
|
440
|
+
type: 'panel',
|
|
441
|
+
newLine: true,
|
|
174
442
|
xs: 12,
|
|
175
|
-
sm:
|
|
443
|
+
sm: 12,
|
|
176
444
|
md: 6,
|
|
177
|
-
lg:
|
|
178
|
-
xl:
|
|
179
|
-
|
|
445
|
+
lg: 6,
|
|
446
|
+
xl: 6,
|
|
447
|
+
hidden: '!data.checkSendInstanceFailedDaily',
|
|
448
|
+
hideOnlyControl: false,
|
|
449
|
+
items: {
|
|
450
|
+
_textDays: {
|
|
451
|
+
type: 'staticText',
|
|
452
|
+
text: 'Choose the day(s) where you want to get the overview of failed instances:',
|
|
453
|
+
style: {
|
|
454
|
+
fontSize: 16,
|
|
455
|
+
marginTop: 20,
|
|
456
|
+
},
|
|
457
|
+
xs: 12,
|
|
458
|
+
sm: 12,
|
|
459
|
+
md: 6,
|
|
460
|
+
lg: 6,
|
|
461
|
+
xl: 6,
|
|
462
|
+
},
|
|
463
|
+
checkFailedInstancesMonday: {
|
|
464
|
+
newLine: true,
|
|
465
|
+
type: 'checkbox',
|
|
466
|
+
label: 'Mon',
|
|
467
|
+
xs: 12,
|
|
468
|
+
sm: 6,
|
|
469
|
+
md: 6,
|
|
470
|
+
lg: 3,
|
|
471
|
+
xl: 3,
|
|
472
|
+
},
|
|
473
|
+
checkFailedInstancesTuesday: {
|
|
474
|
+
type: 'checkbox',
|
|
475
|
+
label: 'Tue',
|
|
476
|
+
xs: 12,
|
|
477
|
+
sm: 6,
|
|
478
|
+
md: 6,
|
|
479
|
+
lg: 3,
|
|
480
|
+
xl: 3,
|
|
481
|
+
},
|
|
482
|
+
checkFailedInstancesWednesday: {
|
|
483
|
+
type: 'checkbox',
|
|
484
|
+
label: 'Wed',
|
|
485
|
+
xs: 12,
|
|
486
|
+
sm: 6,
|
|
487
|
+
md: 6,
|
|
488
|
+
lg: 3,
|
|
489
|
+
xl: 3,
|
|
490
|
+
},
|
|
491
|
+
checkFailedInstancesThursday: {
|
|
492
|
+
type: 'checkbox',
|
|
493
|
+
label: 'Thu',
|
|
494
|
+
xs: 12,
|
|
495
|
+
sm: 6,
|
|
496
|
+
md: 6,
|
|
497
|
+
lg: 3,
|
|
498
|
+
xl: 3,
|
|
499
|
+
},
|
|
500
|
+
checkFailedInstancesFriday: {
|
|
501
|
+
type: 'checkbox',
|
|
502
|
+
label: 'Fri',
|
|
503
|
+
xs: 12,
|
|
504
|
+
sm: 6,
|
|
505
|
+
md: 6,
|
|
506
|
+
lg: 3,
|
|
507
|
+
xl: 3,
|
|
508
|
+
},
|
|
509
|
+
checkFailedInstancesSaturday: {
|
|
510
|
+
type: 'checkbox',
|
|
511
|
+
label: 'Sat',
|
|
512
|
+
xs: 12,
|
|
513
|
+
sm: 6,
|
|
514
|
+
md: 6,
|
|
515
|
+
lg: 3,
|
|
516
|
+
xl: 3,
|
|
517
|
+
},
|
|
518
|
+
checkFailedInstancesSunday: {
|
|
519
|
+
type: 'checkbox',
|
|
520
|
+
label: 'Sun',
|
|
521
|
+
xs: 12,
|
|
522
|
+
sm: 6,
|
|
523
|
+
md: 6,
|
|
524
|
+
lg: 3,
|
|
525
|
+
xl: 3,
|
|
526
|
+
},
|
|
527
|
+
},
|
|
180
528
|
},
|
|
181
|
-
|
|
182
|
-
type: '
|
|
529
|
+
_sendIntervallInstanceFailedMsgTime: {
|
|
530
|
+
type: 'panel',
|
|
183
531
|
xs: 12,
|
|
184
|
-
sm:
|
|
532
|
+
sm: 12,
|
|
185
533
|
md: 6,
|
|
186
|
-
lg:
|
|
187
|
-
xl:
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
hueExtDevices: {
|
|
218
|
-
type: 'checkbox',
|
|
219
|
-
xs: 12,
|
|
220
|
-
sm: 6,
|
|
221
|
-
md: 6,
|
|
222
|
-
lg: 3,
|
|
223
|
-
xl: 3,
|
|
224
|
-
label: 'Hue Extended',
|
|
225
|
-
},
|
|
226
|
-
innogyDevices: {
|
|
227
|
-
type: 'checkbox',
|
|
228
|
-
xs: 12,
|
|
229
|
-
sm: 6,
|
|
230
|
-
md: 6,
|
|
231
|
-
lg: 3,
|
|
232
|
-
xl: 3,
|
|
233
|
-
label: 'Innogy Smarthome',
|
|
534
|
+
lg: 6,
|
|
535
|
+
xl: 6,
|
|
536
|
+
hidden: '!data.checkSendInstanceFailedDaily',
|
|
537
|
+
hideOnlyControl: false,
|
|
538
|
+
items: {
|
|
539
|
+
_textTime: {
|
|
540
|
+
type: 'staticText',
|
|
541
|
+
text: 'Choose the Time:',
|
|
542
|
+
style: {
|
|
543
|
+
fontSize: 16,
|
|
544
|
+
marginTop: 20,
|
|
545
|
+
},
|
|
546
|
+
xs: 12,
|
|
547
|
+
sm: 12,
|
|
548
|
+
md: 6,
|
|
549
|
+
lg: 6,
|
|
550
|
+
xl: 6,
|
|
551
|
+
},
|
|
552
|
+
checkSendInstanceFailedTime: {
|
|
553
|
+
newLine: true,
|
|
554
|
+
type: 'text',
|
|
555
|
+
help: 'Format hh:mm',
|
|
556
|
+
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendInstanceFailedTime; if(timePattern.test(value)) return true;return false;',
|
|
557
|
+
validatorNoSaveOnError: true,
|
|
558
|
+
xs: 12,
|
|
559
|
+
sm: 12,
|
|
560
|
+
md: 6,
|
|
561
|
+
lg: 6,
|
|
562
|
+
xl: 6,
|
|
563
|
+
},
|
|
564
|
+
},
|
|
234
565
|
},
|
|
235
|
-
|
|
236
|
-
type: '
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
md: 6,
|
|
240
|
-
lg: 3,
|
|
241
|
-
xl: 3,
|
|
242
|
-
label: 'Jeelink',
|
|
566
|
+
_headerCommon: {
|
|
567
|
+
type: 'header',
|
|
568
|
+
text: 'Devices/Services Notification Settings',
|
|
569
|
+
size: 2,
|
|
243
570
|
},
|
|
244
|
-
|
|
571
|
+
checkSendOfflineMsg: {
|
|
245
572
|
type: 'checkbox',
|
|
246
573
|
xs: 12,
|
|
247
|
-
sm:
|
|
574
|
+
sm: 12,
|
|
248
575
|
md: 6,
|
|
249
|
-
lg:
|
|
250
|
-
xl:
|
|
251
|
-
label: '
|
|
576
|
+
lg: 6,
|
|
577
|
+
xl: 6,
|
|
578
|
+
label: 'Offline message',
|
|
579
|
+
help: 'Get message if an device is not reachable',
|
|
252
580
|
},
|
|
253
|
-
|
|
581
|
+
checkSendOfflineMsgDaily: {
|
|
254
582
|
type: 'checkbox',
|
|
255
583
|
xs: 12,
|
|
256
|
-
sm:
|
|
584
|
+
sm: 12,
|
|
257
585
|
md: 6,
|
|
258
|
-
lg:
|
|
259
|
-
xl:
|
|
260
|
-
label: '
|
|
586
|
+
lg: 6,
|
|
587
|
+
xl: 6,
|
|
588
|
+
label: 'Overview of offline devices/services',
|
|
589
|
+
help: 'Get a message with an overview all offline devices/services',
|
|
261
590
|
},
|
|
262
|
-
|
|
263
|
-
type: '
|
|
591
|
+
_sendIntervallOfflineDay: {
|
|
592
|
+
type: 'panel',
|
|
593
|
+
newLine: true,
|
|
264
594
|
xs: 12,
|
|
265
|
-
sm:
|
|
595
|
+
sm: 12,
|
|
266
596
|
md: 6,
|
|
267
|
-
lg:
|
|
268
|
-
xl:
|
|
269
|
-
|
|
597
|
+
lg: 6,
|
|
598
|
+
xl: 6,
|
|
599
|
+
hidden: '!data.checkSendOfflineMsgDaily',
|
|
600
|
+
hideOnlyControl: true,
|
|
601
|
+
items: {
|
|
602
|
+
_textDays: {
|
|
603
|
+
type: 'staticText',
|
|
604
|
+
text: 'Choose the day(s) where you want to get the overview of offline devices/services:',
|
|
605
|
+
style: {
|
|
606
|
+
fontSize: 16,
|
|
607
|
+
marginTop: 20,
|
|
608
|
+
},
|
|
609
|
+
xs: 12,
|
|
610
|
+
sm: 12,
|
|
611
|
+
md: 6,
|
|
612
|
+
lg: 6,
|
|
613
|
+
xl: 6,
|
|
614
|
+
},
|
|
615
|
+
checkOfflineMonday: {
|
|
616
|
+
newLine: true,
|
|
617
|
+
type: 'checkbox',
|
|
618
|
+
label: 'Mon',
|
|
619
|
+
xs: 12,
|
|
620
|
+
sm: 6,
|
|
621
|
+
md: 6,
|
|
622
|
+
lg: 3,
|
|
623
|
+
xl: 3,
|
|
624
|
+
},
|
|
625
|
+
checkOfflineTuesday: {
|
|
626
|
+
type: 'checkbox',
|
|
627
|
+
label: 'Tue',
|
|
628
|
+
xs: 12,
|
|
629
|
+
sm: 6,
|
|
630
|
+
md: 6,
|
|
631
|
+
lg: 3,
|
|
632
|
+
xl: 3,
|
|
633
|
+
},
|
|
634
|
+
checkOfflineWednesday: {
|
|
635
|
+
type: 'checkbox',
|
|
636
|
+
label: 'Wed',
|
|
637
|
+
xs: 12,
|
|
638
|
+
sm: 6,
|
|
639
|
+
md: 6,
|
|
640
|
+
lg: 3,
|
|
641
|
+
xl: 3,
|
|
642
|
+
},
|
|
643
|
+
checkOfflineThursday: {
|
|
644
|
+
type: 'checkbox',
|
|
645
|
+
label: 'Thu',
|
|
646
|
+
xs: 12,
|
|
647
|
+
sm: 6,
|
|
648
|
+
md: 6,
|
|
649
|
+
lg: 3,
|
|
650
|
+
xl: 3,
|
|
651
|
+
},
|
|
652
|
+
checkOfflineFriday: {
|
|
653
|
+
type: 'checkbox',
|
|
654
|
+
label: 'Fri',
|
|
655
|
+
xs: 12,
|
|
656
|
+
sm: 6,
|
|
657
|
+
md: 6,
|
|
658
|
+
lg: 3,
|
|
659
|
+
xl: 3,
|
|
660
|
+
},
|
|
661
|
+
checkOfflineSaturday: {
|
|
662
|
+
type: 'checkbox',
|
|
663
|
+
label: 'Sat',
|
|
664
|
+
xs: 12,
|
|
665
|
+
sm: 6,
|
|
666
|
+
md: 6,
|
|
667
|
+
lg: 3,
|
|
668
|
+
xl: 3,
|
|
669
|
+
},
|
|
670
|
+
checkOfflineSunday: {
|
|
671
|
+
type: 'checkbox',
|
|
672
|
+
label: 'Sun',
|
|
673
|
+
xs: 12,
|
|
674
|
+
sm: 6,
|
|
675
|
+
md: 6,
|
|
676
|
+
lg: 3,
|
|
677
|
+
xl: 3,
|
|
678
|
+
},
|
|
679
|
+
},
|
|
270
680
|
},
|
|
271
|
-
|
|
272
|
-
type: '
|
|
681
|
+
_sendIntervallOfflineTime: {
|
|
682
|
+
type: 'panel',
|
|
273
683
|
xs: 12,
|
|
274
|
-
sm:
|
|
684
|
+
sm: 12,
|
|
275
685
|
md: 6,
|
|
276
|
-
lg:
|
|
277
|
-
xl:
|
|
278
|
-
|
|
686
|
+
lg: 6,
|
|
687
|
+
xl: 6,
|
|
688
|
+
hidden: '!data.checkSendOfflineMsgDaily',
|
|
689
|
+
hideOnlyControl: true,
|
|
690
|
+
items: {
|
|
691
|
+
_textTime: {
|
|
692
|
+
type: 'staticText',
|
|
693
|
+
text: 'Choose the Time:',
|
|
694
|
+
style: {
|
|
695
|
+
fontSize: 16,
|
|
696
|
+
marginTop: 20,
|
|
697
|
+
},
|
|
698
|
+
xs: 12,
|
|
699
|
+
sm: 12,
|
|
700
|
+
md: 6,
|
|
701
|
+
lg: 6,
|
|
702
|
+
xl: 6,
|
|
703
|
+
},
|
|
704
|
+
checkSendOfflineTime: {
|
|
705
|
+
newLine: true,
|
|
706
|
+
type: 'text',
|
|
707
|
+
help: 'Format hh:mm',
|
|
708
|
+
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendOfflineTime; if(timePattern.test(value)) return true;return false;',
|
|
709
|
+
validatorNoSaveOnError: true,
|
|
710
|
+
xs: 12,
|
|
711
|
+
sm: 12,
|
|
712
|
+
md: 6,
|
|
713
|
+
lg: 6,
|
|
714
|
+
xl: 6,
|
|
715
|
+
},
|
|
716
|
+
},
|
|
279
717
|
},
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
sm: 6,
|
|
284
|
-
md: 6,
|
|
285
|
-
lg: 3,
|
|
286
|
-
xl: 3,
|
|
287
|
-
label: 'MiHome',
|
|
718
|
+
_trenner: {
|
|
719
|
+
newLine: true,
|
|
720
|
+
type: 'divider',
|
|
288
721
|
},
|
|
289
|
-
|
|
722
|
+
checkSendBatteryMsg: {
|
|
723
|
+
newLine: true,
|
|
290
724
|
type: 'checkbox',
|
|
291
725
|
xs: 12,
|
|
292
|
-
sm:
|
|
726
|
+
sm: 12,
|
|
293
727
|
md: 6,
|
|
294
|
-
lg:
|
|
295
|
-
xl:
|
|
296
|
-
label: '
|
|
728
|
+
lg: 6,
|
|
729
|
+
xl: 6,
|
|
730
|
+
label: 'Battery message',
|
|
731
|
+
help: 'Get message if an device has low battery',
|
|
297
732
|
},
|
|
298
|
-
|
|
733
|
+
checkSendBatteryMsgDaily: {
|
|
299
734
|
type: 'checkbox',
|
|
300
735
|
xs: 12,
|
|
301
|
-
sm:
|
|
736
|
+
sm: 12,
|
|
302
737
|
md: 6,
|
|
303
|
-
lg:
|
|
304
|
-
xl:
|
|
305
|
-
label: '
|
|
738
|
+
lg: 6,
|
|
739
|
+
xl: 6,
|
|
740
|
+
label: 'Overview of low battery devices',
|
|
741
|
+
help: 'Get a regular message with an overview all low battery devices',
|
|
306
742
|
},
|
|
307
|
-
|
|
308
|
-
type: '
|
|
743
|
+
_chooseDay: {
|
|
744
|
+
type: 'panel',
|
|
745
|
+
newLine: true,
|
|
309
746
|
xs: 12,
|
|
310
|
-
sm:
|
|
747
|
+
sm: 12,
|
|
311
748
|
md: 6,
|
|
312
|
-
lg: 3,
|
|
313
|
-
xl: 3,
|
|
314
|
-
label: 'MQTT: Nuki Hub',
|
|
315
|
-
},
|
|
316
|
-
musiccastDevices: {
|
|
317
|
-
type: 'checkbox',
|
|
318
|
-
xs: 12,
|
|
319
|
-
sm: 6,
|
|
320
|
-
md: 6,
|
|
321
|
-
lg: 3,
|
|
322
|
-
xl: 3,
|
|
323
|
-
label: 'MusicCast',
|
|
324
|
-
},
|
|
325
|
-
netatmoDevices: {
|
|
326
|
-
type: 'checkbox',
|
|
327
|
-
xs: 12,
|
|
328
|
-
sm: 6,
|
|
329
|
-
md: 6,
|
|
330
|
-
lg: 3,
|
|
331
|
-
xl: 3,
|
|
332
|
-
label: 'Netatmo',
|
|
333
|
-
},
|
|
334
|
-
nukiExtDevices: {
|
|
335
|
-
type: 'checkbox',
|
|
336
|
-
xs: 12,
|
|
337
|
-
sm: 6,
|
|
338
|
-
md: 6,
|
|
339
|
-
lg: 3,
|
|
340
|
-
xl: 3,
|
|
341
|
-
label: 'Nuki Extended',
|
|
342
|
-
},
|
|
343
|
-
nutDevices: {
|
|
344
|
-
type: 'checkbox',
|
|
345
|
-
xs: 12,
|
|
346
|
-
sm: 6,
|
|
347
|
-
md: 6,
|
|
348
|
-
lg: 3,
|
|
349
|
-
xl: 3,
|
|
350
|
-
label: 'Nut',
|
|
351
|
-
},
|
|
352
|
-
pingDevices: {
|
|
353
|
-
type: 'checkbox',
|
|
354
|
-
xs: 12,
|
|
355
|
-
sm: 6,
|
|
356
|
-
md: 6,
|
|
357
|
-
lg: 3,
|
|
358
|
-
xl: 3,
|
|
359
|
-
label: 'Ping',
|
|
360
|
-
},
|
|
361
|
-
proxmoxDevices: {
|
|
362
|
-
type: 'checkbox',
|
|
363
|
-
xs: 12,
|
|
364
|
-
sm: 6,
|
|
365
|
-
md: 6,
|
|
366
|
-
lg: 3,
|
|
367
|
-
xl: 3,
|
|
368
|
-
label: 'Proxmox',
|
|
369
|
-
},
|
|
370
|
-
ringDevices: {
|
|
371
|
-
type: 'checkbox',
|
|
372
|
-
xs: 12,
|
|
373
|
-
sm: 6,
|
|
374
|
-
md: 6,
|
|
375
|
-
lg: 3,
|
|
376
|
-
xl: 3,
|
|
377
|
-
label: 'Ring',
|
|
378
|
-
},
|
|
379
|
-
roombaDevices: {
|
|
380
|
-
type: 'checkbox',
|
|
381
|
-
xs: 12,
|
|
382
|
-
sm: 6,
|
|
383
|
-
md: 6,
|
|
384
|
-
lg: 3,
|
|
385
|
-
xl: 3,
|
|
386
|
-
label: 'Roomba',
|
|
387
|
-
},
|
|
388
|
-
shellyDevices: {
|
|
389
|
-
type: 'checkbox',
|
|
390
|
-
xs: 12,
|
|
391
|
-
sm: 6,
|
|
392
|
-
md: 6,
|
|
393
|
-
lg: 3,
|
|
394
|
-
xl: 3,
|
|
395
|
-
label: 'Shelly',
|
|
396
|
-
},
|
|
397
|
-
smartgardenDevices: {
|
|
398
|
-
type: 'checkbox',
|
|
399
|
-
xs: 12,
|
|
400
|
-
sm: 6,
|
|
401
|
-
md: 6,
|
|
402
|
-
lg: 3,
|
|
403
|
-
xl: 3,
|
|
404
|
-
label: 'Smartgarden',
|
|
405
|
-
},
|
|
406
|
-
sonoffDevices: {
|
|
407
|
-
type: 'checkbox',
|
|
408
|
-
xs: 12,
|
|
409
|
-
sm: 6,
|
|
410
|
-
md: 6,
|
|
411
|
-
lg: 3,
|
|
412
|
-
xl: 3,
|
|
413
|
-
label: 'Sonoff',
|
|
414
|
-
},
|
|
415
|
-
sonosDevices: {
|
|
416
|
-
type: 'checkbox',
|
|
417
|
-
xs: 12,
|
|
418
|
-
sm: 6,
|
|
419
|
-
md: 6,
|
|
420
|
-
lg: 3,
|
|
421
|
-
xl: 3,
|
|
422
|
-
label: 'Sonos',
|
|
423
|
-
},
|
|
424
|
-
sureflapDevices: {
|
|
425
|
-
type: 'checkbox',
|
|
426
|
-
xs: 12,
|
|
427
|
-
sm: 6,
|
|
428
|
-
md: 6,
|
|
429
|
-
lg: 3,
|
|
430
|
-
xl: 3,
|
|
431
|
-
label: 'Sure Flap',
|
|
432
|
-
},
|
|
433
|
-
switchbotBleDevices: {
|
|
434
|
-
type: 'checkbox',
|
|
435
|
-
xs: 12,
|
|
436
|
-
sm: 6,
|
|
437
|
-
md: 6,
|
|
438
|
-
lg: 3,
|
|
439
|
-
xl: 3,
|
|
440
|
-
label: 'Switchbot Ble',
|
|
441
|
-
},
|
|
442
|
-
tadoDevices: {
|
|
443
|
-
type: 'checkbox',
|
|
444
|
-
xs: 12,
|
|
445
|
-
sm: 6,
|
|
446
|
-
md: 6,
|
|
447
|
-
lg: 3,
|
|
448
|
-
xl: 3,
|
|
449
|
-
label: 'Tado',
|
|
450
|
-
},
|
|
451
|
-
tapoDevices: {
|
|
452
|
-
type: 'checkbox',
|
|
453
|
-
xs: 12,
|
|
454
|
-
sm: 6,
|
|
455
|
-
md: 6,
|
|
456
|
-
lg: 3,
|
|
457
|
-
xl: 3,
|
|
458
|
-
label: 'Tapo',
|
|
459
|
-
},
|
|
460
|
-
tradfriDevices: {
|
|
461
|
-
type: 'checkbox',
|
|
462
|
-
xs: 12,
|
|
463
|
-
sm: 6,
|
|
464
|
-
md: 6,
|
|
465
|
-
lg: 3,
|
|
466
|
-
xl: 3,
|
|
467
|
-
label: 'Tradfri',
|
|
468
|
-
},
|
|
469
|
-
tuyaDevices: {
|
|
470
|
-
type: 'checkbox',
|
|
471
|
-
xs: 12,
|
|
472
|
-
sm: 6,
|
|
473
|
-
md: 6,
|
|
474
|
-
lg: 3,
|
|
475
|
-
xl: 3,
|
|
476
|
-
label: 'Tuya',
|
|
477
|
-
},
|
|
478
|
-
unifiDevices: {
|
|
479
|
-
type: 'checkbox',
|
|
480
|
-
xs: 12,
|
|
481
|
-
sm: 6,
|
|
482
|
-
md: 6,
|
|
483
|
-
lg: 3,
|
|
484
|
-
xl: 3,
|
|
485
|
-
label: 'Unifi',
|
|
486
|
-
},
|
|
487
|
-
viessmannDevices: {
|
|
488
|
-
type: 'checkbox',
|
|
489
|
-
xs: 12,
|
|
490
|
-
sm: 6,
|
|
491
|
-
md: 6,
|
|
492
|
-
lg: 3,
|
|
493
|
-
xl: 3,
|
|
494
|
-
label: 'Viessmann',
|
|
495
|
-
},
|
|
496
|
-
wifilightDevices: {
|
|
497
|
-
type: 'checkbox',
|
|
498
|
-
xs: 12,
|
|
499
|
-
sm: 6,
|
|
500
|
-
md: 6,
|
|
501
|
-
lg: 3,
|
|
502
|
-
xl: 3,
|
|
503
|
-
label: 'Wifilight',
|
|
504
|
-
},
|
|
505
|
-
wledDevices: {
|
|
506
|
-
type: 'checkbox',
|
|
507
|
-
xs: 12,
|
|
508
|
-
sm: 6,
|
|
509
|
-
md: 6,
|
|
510
|
-
lg: 3,
|
|
511
|
-
xl: 3,
|
|
512
|
-
label: 'WLED',
|
|
513
|
-
},
|
|
514
|
-
xsenseDevices: {
|
|
515
|
-
type: 'checkbox',
|
|
516
|
-
xs: 12,
|
|
517
|
-
sm: 6,
|
|
518
|
-
md: 6,
|
|
519
|
-
lg: 3,
|
|
520
|
-
xl: 3,
|
|
521
|
-
label: 'XSense',
|
|
522
|
-
},
|
|
523
|
-
yeelightDevices: {
|
|
524
|
-
type: 'checkbox',
|
|
525
|
-
xs: 12,
|
|
526
|
-
sm: 6,
|
|
527
|
-
md: 6,
|
|
528
|
-
lg: 3,
|
|
529
|
-
xl: 3,
|
|
530
|
-
label: 'Yeelight-2',
|
|
531
|
-
},
|
|
532
|
-
zigbeeDevices: {
|
|
533
|
-
type: 'checkbox',
|
|
534
|
-
xs: 12,
|
|
535
|
-
sm: 6,
|
|
536
|
-
md: 6,
|
|
537
|
-
lg: 3,
|
|
538
|
-
xl: 3,
|
|
539
|
-
label: 'Zigbee',
|
|
540
|
-
},
|
|
541
|
-
zigbee2mqttDevices: {
|
|
542
|
-
type: 'checkbox',
|
|
543
|
-
xs: 12,
|
|
544
|
-
sm: 6,
|
|
545
|
-
md: 6,
|
|
546
|
-
lg: 3,
|
|
547
|
-
xl: 3,
|
|
548
|
-
label: 'Zigbee2MQTT',
|
|
549
|
-
},
|
|
550
|
-
zwaveDevices: {
|
|
551
|
-
type: 'checkbox',
|
|
552
|
-
xs: 12,
|
|
553
|
-
sm: 6,
|
|
554
|
-
md: 6,
|
|
555
|
-
lg: 3,
|
|
556
|
-
xl: 3,
|
|
557
|
-
label: 'Zwave',
|
|
558
|
-
},
|
|
559
|
-
},
|
|
560
|
-
},
|
|
561
|
-
_notifications: {
|
|
562
|
-
type: 'panel',
|
|
563
|
-
label: 'Notifications',
|
|
564
|
-
items: {
|
|
565
|
-
_headerAdapterInstances: {
|
|
566
|
-
type: 'header',
|
|
567
|
-
text: 'Adapter & Instances Notification Settings',
|
|
568
|
-
size: 2,
|
|
569
|
-
hidden: '!data.checkAdapterInstances',
|
|
570
|
-
hideOnlyControl: false,
|
|
571
|
-
},
|
|
572
|
-
checkSendAdapterUpdateMsg: {
|
|
573
|
-
newLine: true,
|
|
574
|
-
type: 'checkbox',
|
|
575
|
-
xs: 12,
|
|
576
|
-
sm: 12,
|
|
577
|
-
md: 12,
|
|
578
|
-
lg: 6,
|
|
579
|
-
xl: 6,
|
|
580
|
-
label: 'Adapter update message',
|
|
581
|
-
help: 'Receive a message when an update for an adapter is available',
|
|
582
|
-
hidden: '!data.checkAdapterInstances',
|
|
583
|
-
hideOnlyControl: false,
|
|
584
|
-
},
|
|
585
|
-
checkSendAdapterUpdateMsgDaily: {
|
|
586
|
-
type: 'checkbox',
|
|
587
|
-
xs: 12,
|
|
588
|
-
sm: 12,
|
|
589
|
-
md: 12,
|
|
590
|
-
lg: 6,
|
|
591
|
-
xl: 6,
|
|
592
|
-
label: 'Overview of updatable adapter',
|
|
593
|
-
help: 'Get a message with an overview of all updatable adapter',
|
|
594
|
-
hidden: '!data.checkAdapterInstances',
|
|
595
|
-
hideOnlyControl: false,
|
|
596
|
-
},
|
|
597
|
-
_sendIntervallAdapterUpdateDay: {
|
|
598
|
-
type: 'panel',
|
|
599
|
-
newLine: true,
|
|
600
|
-
xs: 12,
|
|
601
|
-
sm: 12,
|
|
602
|
-
md: 12,
|
|
603
749
|
lg: 6,
|
|
604
750
|
xl: 6,
|
|
605
|
-
hidden: '!data.
|
|
606
|
-
hideOnlyControl:
|
|
751
|
+
hidden: '!data.checkSendBatteryMsgDaily',
|
|
752
|
+
hideOnlyControl: true,
|
|
607
753
|
items: {
|
|
608
754
|
_textDays: {
|
|
609
755
|
type: 'staticText',
|
|
610
|
-
text: 'Choose the day(s) where you want to get the
|
|
756
|
+
text: 'Choose the day(s) where you want to get the message of low battery:',
|
|
611
757
|
style: {
|
|
612
758
|
fontSize: 16,
|
|
613
759
|
marginTop: 20,
|
|
614
760
|
},
|
|
615
761
|
xs: 12,
|
|
616
762
|
sm: 12,
|
|
617
|
-
md:
|
|
618
|
-
lg: 12,
|
|
619
|
-
xl: 12,
|
|
620
|
-
},
|
|
621
|
-
checkAdapterUpdateMonday: {
|
|
622
|
-
newLine: true,
|
|
623
|
-
xs: 12,
|
|
624
|
-
sm: 12,
|
|
625
|
-
md: 12,
|
|
763
|
+
md: 6,
|
|
626
764
|
lg: 6,
|
|
627
765
|
xl: 6,
|
|
766
|
+
},
|
|
767
|
+
checkMonday: {
|
|
768
|
+
newLine: true,
|
|
628
769
|
type: 'checkbox',
|
|
629
770
|
label: 'Mon',
|
|
630
|
-
},
|
|
631
|
-
checkAdapterUpdateTuesday: {
|
|
632
771
|
xs: 12,
|
|
633
|
-
sm:
|
|
634
|
-
md:
|
|
635
|
-
lg:
|
|
636
|
-
xl:
|
|
637
|
-
type: 'checkbox',
|
|
638
|
-
label: 'Tue',
|
|
639
|
-
},
|
|
640
|
-
checkAdapterUpdateWednesday: {
|
|
641
|
-
xs: 12,
|
|
642
|
-
sm: 12,
|
|
643
|
-
md: 12,
|
|
644
|
-
lg: 6,
|
|
645
|
-
xl: 6,
|
|
646
|
-
type: 'checkbox',
|
|
647
|
-
label: 'Wed',
|
|
648
|
-
},
|
|
649
|
-
checkAdapterUpdateThursday: {
|
|
650
|
-
xs: 12,
|
|
651
|
-
sm: 12,
|
|
652
|
-
md: 12,
|
|
653
|
-
lg: 6,
|
|
654
|
-
xl: 6,
|
|
655
|
-
type: 'checkbox',
|
|
656
|
-
label: 'Thu',
|
|
657
|
-
},
|
|
658
|
-
checkAdapterUpdateFriday: {
|
|
659
|
-
xs: 12,
|
|
660
|
-
sm: 12,
|
|
661
|
-
md: 12,
|
|
662
|
-
lg: 6,
|
|
663
|
-
xl: 6,
|
|
664
|
-
type: 'checkbox',
|
|
665
|
-
label: 'Fri',
|
|
666
|
-
},
|
|
667
|
-
checkAdapterUpdateSaturday: {
|
|
668
|
-
xs: 12,
|
|
669
|
-
sm: 12,
|
|
670
|
-
md: 12,
|
|
671
|
-
lg: 6,
|
|
672
|
-
xl: 6,
|
|
673
|
-
type: 'checkbox',
|
|
674
|
-
label: 'Sat',
|
|
675
|
-
},
|
|
676
|
-
checkAdapterUpdateSunday: {
|
|
677
|
-
xs: 12,
|
|
678
|
-
sm: 12,
|
|
679
|
-
md: 12,
|
|
680
|
-
lg: 6,
|
|
681
|
-
xl: 6,
|
|
682
|
-
type: 'checkbox',
|
|
683
|
-
label: 'Sun',
|
|
684
|
-
},
|
|
685
|
-
},
|
|
686
|
-
},
|
|
687
|
-
_sendIntervallAdapterUpdateMsgTime: {
|
|
688
|
-
type: 'panel',
|
|
689
|
-
xs: 12,
|
|
690
|
-
sm: 12,
|
|
691
|
-
md: 12,
|
|
692
|
-
lg: 6,
|
|
693
|
-
xl: 6,
|
|
694
|
-
hidden: '!data.checkSendAdapterUpdateMsgDaily',
|
|
695
|
-
hideOnlyControl: false,
|
|
696
|
-
items: {
|
|
697
|
-
_textTime: {
|
|
698
|
-
type: 'staticText',
|
|
699
|
-
text: 'Choose the Time:',
|
|
700
|
-
style: {
|
|
701
|
-
fontSize: 16,
|
|
702
|
-
marginTop: 20,
|
|
703
|
-
},
|
|
704
|
-
xs: 12,
|
|
705
|
-
sm: 12,
|
|
706
|
-
md: 12,
|
|
707
|
-
lg: 12,
|
|
708
|
-
xl: 12,
|
|
709
|
-
},
|
|
710
|
-
checkSendAdapterUpdateTime: {
|
|
711
|
-
newLine: true,
|
|
712
|
-
type: 'text',
|
|
713
|
-
help: 'Format hh:mm',
|
|
714
|
-
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendAdapterUpdateTime; if(timePattern.test(value)) return true;return false;',
|
|
715
|
-
validatorNoSaveOnError: true,
|
|
716
|
-
xs: 12,
|
|
717
|
-
sm: 12,
|
|
718
|
-
md: 12,
|
|
719
|
-
lg: 12,
|
|
720
|
-
xl: 12,
|
|
721
|
-
},
|
|
722
|
-
},
|
|
723
|
-
},
|
|
724
|
-
trennerUpdatableAdapter: {
|
|
725
|
-
newLine: true,
|
|
726
|
-
type: 'divider',
|
|
727
|
-
hidden: '!data.checkAdapterInstances',
|
|
728
|
-
hideOnlyControl: false,
|
|
729
|
-
},
|
|
730
|
-
checkSendInstanceDeactivatedMsg: {
|
|
731
|
-
newLine: true,
|
|
732
|
-
type: 'checkbox',
|
|
733
|
-
xs: 12,
|
|
734
|
-
sm: 12,
|
|
735
|
-
md: 12,
|
|
736
|
-
lg: 6,
|
|
737
|
-
xl: 6,
|
|
738
|
-
label: 'Instance deactivated message',
|
|
739
|
-
help: 'Receive a message when an instance is deactivated',
|
|
740
|
-
hidden: '!data.checkAdapterInstances',
|
|
741
|
-
hideOnlyControl: false,
|
|
742
|
-
},
|
|
743
|
-
checkSendInstanceDeactivatedDaily: {
|
|
744
|
-
type: 'checkbox',
|
|
745
|
-
xs: 12,
|
|
746
|
-
sm: 12,
|
|
747
|
-
md: 12,
|
|
748
|
-
lg: 6,
|
|
749
|
-
xl: 6,
|
|
750
|
-
label: 'Overview of deactivated instances',
|
|
751
|
-
help: 'Get a message with an overview of all deactivated instances',
|
|
752
|
-
hidden: '!data.checkAdapterInstances',
|
|
753
|
-
hideOnlyControl: false,
|
|
754
|
-
},
|
|
755
|
-
_sendIntervallInstanceDeactivatedDay: {
|
|
756
|
-
type: 'panel',
|
|
757
|
-
newLine: true,
|
|
758
|
-
xs: 12,
|
|
759
|
-
sm: 12,
|
|
760
|
-
md: 12,
|
|
761
|
-
lg: 6,
|
|
762
|
-
xl: 6,
|
|
763
|
-
hidden: '!data.checkSendInstanceDeactivatedDaily',
|
|
764
|
-
hideOnlyControl: false,
|
|
765
|
-
items: {
|
|
766
|
-
_textDays: {
|
|
767
|
-
type: 'staticText',
|
|
768
|
-
text: 'Choose the day(s) where you want to get the overview of deactivated instances:',
|
|
769
|
-
style: {
|
|
770
|
-
fontSize: 16,
|
|
771
|
-
marginTop: 20,
|
|
772
|
-
},
|
|
773
|
-
xs: 12,
|
|
774
|
-
sm: 12,
|
|
775
|
-
md: 12,
|
|
776
|
-
lg: 12,
|
|
777
|
-
xl: 12,
|
|
778
|
-
},
|
|
779
|
-
checkInstanceDeactivatedMonday: {
|
|
780
|
-
xs: 12,
|
|
781
|
-
sm: 12,
|
|
782
|
-
md: 12,
|
|
783
|
-
lg: 6,
|
|
784
|
-
xl: 6,
|
|
785
|
-
newLine: true,
|
|
786
|
-
type: 'checkbox',
|
|
787
|
-
label: 'Mon',
|
|
772
|
+
sm: 6,
|
|
773
|
+
md: 6,
|
|
774
|
+
lg: 3,
|
|
775
|
+
xl: 3,
|
|
788
776
|
},
|
|
789
|
-
|
|
790
|
-
xs: 12,
|
|
791
|
-
sm: 12,
|
|
792
|
-
md: 12,
|
|
793
|
-
lg: 6,
|
|
794
|
-
xl: 6,
|
|
777
|
+
checkTuesday: {
|
|
795
778
|
type: 'checkbox',
|
|
796
779
|
label: 'Tue',
|
|
797
|
-
},
|
|
798
|
-
checkInstanceDeactivatedWednesday: {
|
|
799
|
-
xs: 12,
|
|
800
|
-
sm: 12,
|
|
801
|
-
md: 12,
|
|
802
|
-
lg: 6,
|
|
803
|
-
xl: 6,
|
|
804
|
-
type: 'checkbox',
|
|
805
|
-
label: 'Wed',
|
|
806
|
-
},
|
|
807
|
-
checkInstanceDeactivatedThursday: {
|
|
808
|
-
xs: 12,
|
|
809
|
-
sm: 12,
|
|
810
|
-
md: 12,
|
|
811
|
-
lg: 6,
|
|
812
|
-
xl: 6,
|
|
813
|
-
type: 'checkbox',
|
|
814
|
-
label: 'Thu',
|
|
815
|
-
},
|
|
816
|
-
checkInstanceDeactivatedFriday: {
|
|
817
|
-
xs: 12,
|
|
818
|
-
sm: 12,
|
|
819
|
-
md: 12,
|
|
820
|
-
lg: 6,
|
|
821
|
-
xl: 6,
|
|
822
|
-
type: 'checkbox',
|
|
823
|
-
label: 'Fri',
|
|
824
|
-
},
|
|
825
|
-
checkInstanceDeactivatedSaturday: {
|
|
826
780
|
xs: 12,
|
|
827
|
-
sm:
|
|
828
|
-
md:
|
|
829
|
-
lg:
|
|
830
|
-
xl:
|
|
831
|
-
type: 'checkbox',
|
|
832
|
-
label: 'Sat',
|
|
781
|
+
sm: 6,
|
|
782
|
+
md: 6,
|
|
783
|
+
lg: 3,
|
|
784
|
+
xl: 3,
|
|
833
785
|
},
|
|
834
|
-
|
|
835
|
-
xs: 12,
|
|
836
|
-
sm: 12,
|
|
837
|
-
md: 12,
|
|
838
|
-
lg: 6,
|
|
839
|
-
xl: 6,
|
|
786
|
+
checkWednesday: {
|
|
840
787
|
type: 'checkbox',
|
|
841
|
-
label: '
|
|
842
|
-
},
|
|
843
|
-
},
|
|
844
|
-
},
|
|
845
|
-
_sendIntervallInstanceDeactivatedMsgTime: {
|
|
846
|
-
type: 'panel',
|
|
847
|
-
xs: 12,
|
|
848
|
-
sm: 12,
|
|
849
|
-
md: 12,
|
|
850
|
-
lg: 6,
|
|
851
|
-
xl: 6,
|
|
852
|
-
hidden: '!data.checkSendInstanceDeactivatedDaily',
|
|
853
|
-
hideOnlyControl: false,
|
|
854
|
-
items: {
|
|
855
|
-
_textTime: {
|
|
856
|
-
type: 'staticText',
|
|
857
|
-
text: 'Choose the Time:',
|
|
858
|
-
style: {
|
|
859
|
-
fontSize: 16,
|
|
860
|
-
marginTop: 20,
|
|
861
|
-
},
|
|
862
|
-
xs: 12,
|
|
863
|
-
sm: 12,
|
|
864
|
-
md: 12,
|
|
865
|
-
lg: 12,
|
|
866
|
-
xl: 12,
|
|
867
|
-
},
|
|
868
|
-
checkSendInstanceDeactivatedTime: {
|
|
869
|
-
newLine: true,
|
|
870
|
-
type: 'text',
|
|
871
|
-
help: 'Format hh:mm',
|
|
872
|
-
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendInstanceDeactivatedTime; if(timePattern.test(value)) return true;return false;',
|
|
873
|
-
validatorNoSaveOnError: true,
|
|
874
|
-
xs: 12,
|
|
875
|
-
sm: 12,
|
|
876
|
-
md: 12,
|
|
877
|
-
lg: 12,
|
|
878
|
-
xl: 12,
|
|
879
|
-
},
|
|
880
|
-
},
|
|
881
|
-
},
|
|
882
|
-
trennerInstanceDeactivated: {
|
|
883
|
-
newLine: true,
|
|
884
|
-
type: 'divider',
|
|
885
|
-
hidden: '!data.checkAdapterInstances',
|
|
886
|
-
hideOnlyControl: false,
|
|
887
|
-
},
|
|
888
|
-
checkSendInstanceFailedMsg: {
|
|
889
|
-
newLine: true,
|
|
890
|
-
type: 'checkbox',
|
|
891
|
-
xs: 12,
|
|
892
|
-
sm: 12,
|
|
893
|
-
md: 12,
|
|
894
|
-
lg: 6,
|
|
895
|
-
xl: 6,
|
|
896
|
-
label: 'Instance failed message',
|
|
897
|
-
help: 'Receive a message when an instance failed',
|
|
898
|
-
hidden: '!data.checkAdapterInstances',
|
|
899
|
-
hideOnlyControl: false,
|
|
900
|
-
},
|
|
901
|
-
checkSendInstanceFailedDaily: {
|
|
902
|
-
type: 'checkbox',
|
|
903
|
-
xs: 12,
|
|
904
|
-
sm: 12,
|
|
905
|
-
md: 12,
|
|
906
|
-
lg: 6,
|
|
907
|
-
xl: 6,
|
|
908
|
-
label: 'Overview of failed instances',
|
|
909
|
-
help: 'Get a message with an overview of all failed instances',
|
|
910
|
-
hidden: '!data.checkAdapterInstances',
|
|
911
|
-
hideOnlyControl: false,
|
|
912
|
-
},
|
|
913
|
-
_sendIntervallFailedInstancesDay: {
|
|
914
|
-
type: 'panel',
|
|
915
|
-
newLine: true,
|
|
916
|
-
xs: 12,
|
|
917
|
-
sm: 12,
|
|
918
|
-
md: 12,
|
|
919
|
-
lg: 6,
|
|
920
|
-
xl: 6,
|
|
921
|
-
hidden: '!data.checkSendInstanceFailedDaily',
|
|
922
|
-
hideOnlyControl: false,
|
|
923
|
-
items: {
|
|
924
|
-
_textDays: {
|
|
925
|
-
type: 'staticText',
|
|
926
|
-
text: 'Choose the day(s) where you want to get the overview of failed instances:',
|
|
927
|
-
style: {
|
|
928
|
-
fontSize: 16,
|
|
929
|
-
marginTop: 20,
|
|
930
|
-
},
|
|
931
|
-
xs: 12,
|
|
932
|
-
sm: 12,
|
|
933
|
-
md: 12,
|
|
934
|
-
lg: 12,
|
|
935
|
-
xl: 12,
|
|
936
|
-
},
|
|
937
|
-
checkFailedInstancesMonday: {
|
|
938
|
-
newLine: true,
|
|
939
|
-
type: 'checkbox',
|
|
940
|
-
label: 'Mon',
|
|
941
|
-
xs: 12,
|
|
942
|
-
sm: 6,
|
|
943
|
-
md: 6,
|
|
944
|
-
lg: 3,
|
|
945
|
-
xl: 3,
|
|
946
|
-
},
|
|
947
|
-
checkFailedInstancesTuesday: {
|
|
948
|
-
type: 'checkbox',
|
|
949
|
-
label: 'Tue',
|
|
950
|
-
xs: 12,
|
|
951
|
-
sm: 6,
|
|
952
|
-
md: 6,
|
|
953
|
-
lg: 3,
|
|
954
|
-
xl: 3,
|
|
955
|
-
},
|
|
956
|
-
checkFailedInstancesWednesday: {
|
|
957
|
-
type: 'checkbox',
|
|
958
|
-
label: 'Wed',
|
|
959
|
-
xs: 12,
|
|
960
|
-
sm: 6,
|
|
961
|
-
md: 6,
|
|
962
|
-
lg: 3,
|
|
963
|
-
xl: 3,
|
|
964
|
-
},
|
|
965
|
-
checkFailedInstancesThursday: {
|
|
966
|
-
type: 'checkbox',
|
|
967
|
-
label: 'Thu',
|
|
968
|
-
xs: 12,
|
|
969
|
-
sm: 6,
|
|
970
|
-
md: 6,
|
|
971
|
-
lg: 3,
|
|
972
|
-
xl: 3,
|
|
973
|
-
},
|
|
974
|
-
checkFailedInstancesFriday: {
|
|
975
|
-
type: 'checkbox',
|
|
976
|
-
label: 'Fri',
|
|
977
|
-
xs: 12,
|
|
978
|
-
sm: 6,
|
|
979
|
-
md: 6,
|
|
980
|
-
lg: 3,
|
|
981
|
-
xl: 3,
|
|
982
|
-
},
|
|
983
|
-
checkFailedInstancesSaturday: {
|
|
984
|
-
type: 'checkbox',
|
|
985
|
-
label: 'Sat',
|
|
986
|
-
xs: 12,
|
|
987
|
-
sm: 6,
|
|
988
|
-
md: 6,
|
|
989
|
-
lg: 3,
|
|
990
|
-
xl: 3,
|
|
991
|
-
},
|
|
992
|
-
checkFailedInstancesSunday: {
|
|
993
|
-
type: 'checkbox',
|
|
994
|
-
label: 'Sun',
|
|
995
|
-
xs: 12,
|
|
996
|
-
sm: 6,
|
|
997
|
-
md: 6,
|
|
998
|
-
lg: 3,
|
|
999
|
-
xl: 3,
|
|
1000
|
-
},
|
|
1001
|
-
},
|
|
1002
|
-
},
|
|
1003
|
-
_sendIntervallInstanceFailedMsgTime: {
|
|
1004
|
-
type: 'panel',
|
|
1005
|
-
xs: 12,
|
|
1006
|
-
sm: 12,
|
|
1007
|
-
md: 12,
|
|
1008
|
-
lg: 6,
|
|
1009
|
-
xl: 6,
|
|
1010
|
-
hidden: '!data.checkSendInstanceFailedDaily',
|
|
1011
|
-
hideOnlyControl: false,
|
|
1012
|
-
items: {
|
|
1013
|
-
_textTime: {
|
|
1014
|
-
type: 'staticText',
|
|
1015
|
-
text: 'Choose the Time:',
|
|
1016
|
-
style: {
|
|
1017
|
-
fontSize: 16,
|
|
1018
|
-
marginTop: 20,
|
|
1019
|
-
},
|
|
1020
|
-
xs: 12,
|
|
1021
|
-
sm: 12,
|
|
1022
|
-
md: 12,
|
|
1023
|
-
lg: 12,
|
|
1024
|
-
xl: 12,
|
|
1025
|
-
},
|
|
1026
|
-
checkSendInstanceFailedTime: {
|
|
1027
|
-
newLine: true,
|
|
1028
|
-
type: 'text',
|
|
1029
|
-
help: 'Format hh:mm',
|
|
1030
|
-
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendInstanceFailedTime; if(timePattern.test(value)) return true;return false;',
|
|
1031
|
-
validatorNoSaveOnError: true,
|
|
1032
|
-
xs: 12,
|
|
1033
|
-
sm: 12,
|
|
1034
|
-
md: 12,
|
|
1035
|
-
lg: 12,
|
|
1036
|
-
xl: 12,
|
|
1037
|
-
},
|
|
1038
|
-
},
|
|
1039
|
-
},
|
|
1040
|
-
_headerCommon: {
|
|
1041
|
-
type: 'header',
|
|
1042
|
-
text: 'Devices/Services Notification Settings',
|
|
1043
|
-
size: 2,
|
|
1044
|
-
},
|
|
1045
|
-
checkSendOfflineMsg: {
|
|
1046
|
-
type: 'checkbox',
|
|
1047
|
-
xs: 12,
|
|
1048
|
-
sm: 12,
|
|
1049
|
-
md: 12,
|
|
1050
|
-
lg: 6,
|
|
1051
|
-
xl: 6,
|
|
1052
|
-
label: 'Offline message',
|
|
1053
|
-
help: 'Get message if an device is not reachable',
|
|
1054
|
-
},
|
|
1055
|
-
checkSendOfflineMsgDaily: {
|
|
1056
|
-
type: 'checkbox',
|
|
1057
|
-
xs: 12,
|
|
1058
|
-
sm: 12,
|
|
1059
|
-
md: 12,
|
|
1060
|
-
lg: 6,
|
|
1061
|
-
xl: 6,
|
|
1062
|
-
label: 'Overview of offline devices/services',
|
|
1063
|
-
help: 'Get a message with an overview all offline devices/services',
|
|
1064
|
-
},
|
|
1065
|
-
_sendIntervallOfflineDay: {
|
|
1066
|
-
type: 'panel',
|
|
1067
|
-
newLine: true,
|
|
1068
|
-
xs: 12,
|
|
1069
|
-
sm: 12,
|
|
1070
|
-
md: 12,
|
|
1071
|
-
lg: 6,
|
|
1072
|
-
xl: 6,
|
|
1073
|
-
hidden: '!data.checkSendOfflineMsgDaily',
|
|
1074
|
-
hideOnlyControl: true,
|
|
1075
|
-
items: {
|
|
1076
|
-
_textDays: {
|
|
1077
|
-
type: 'staticText',
|
|
1078
|
-
text: 'Choose the day(s) where you want to get the overview of offline devices/services:',
|
|
1079
|
-
style: {
|
|
1080
|
-
fontSize: 16,
|
|
1081
|
-
marginTop: 20,
|
|
1082
|
-
},
|
|
1083
|
-
xs: 12,
|
|
1084
|
-
sm: 12,
|
|
1085
|
-
md: 12,
|
|
1086
|
-
lg: 12,
|
|
1087
|
-
xl: 12,
|
|
1088
|
-
},
|
|
1089
|
-
checkOfflineMonday: {
|
|
1090
|
-
newLine: true,
|
|
1091
|
-
type: 'checkbox',
|
|
1092
|
-
label: 'Mon',
|
|
1093
|
-
xs: 12,
|
|
1094
|
-
sm: 6,
|
|
1095
|
-
md: 6,
|
|
1096
|
-
lg: 3,
|
|
1097
|
-
xl: 3,
|
|
1098
|
-
},
|
|
1099
|
-
checkOfflineTuesday: {
|
|
1100
|
-
type: 'checkbox',
|
|
1101
|
-
label: 'Tue',
|
|
1102
|
-
xs: 12,
|
|
1103
|
-
sm: 6,
|
|
1104
|
-
md: 6,
|
|
1105
|
-
lg: 3,
|
|
1106
|
-
xl: 3,
|
|
1107
|
-
},
|
|
1108
|
-
checkOfflineWednesday: {
|
|
1109
|
-
type: 'checkbox',
|
|
1110
|
-
label: 'Wed',
|
|
1111
|
-
xs: 12,
|
|
1112
|
-
sm: 6,
|
|
1113
|
-
md: 6,
|
|
1114
|
-
lg: 3,
|
|
1115
|
-
xl: 3,
|
|
1116
|
-
},
|
|
1117
|
-
checkOfflineThursday: {
|
|
1118
|
-
type: 'checkbox',
|
|
1119
|
-
label: 'Thu',
|
|
1120
|
-
xs: 12,
|
|
1121
|
-
sm: 6,
|
|
1122
|
-
md: 6,
|
|
1123
|
-
lg: 3,
|
|
1124
|
-
xl: 3,
|
|
1125
|
-
},
|
|
1126
|
-
checkOfflineFriday: {
|
|
1127
|
-
type: 'checkbox',
|
|
1128
|
-
label: 'Fri',
|
|
1129
|
-
xs: 12,
|
|
1130
|
-
sm: 6,
|
|
1131
|
-
md: 6,
|
|
1132
|
-
lg: 3,
|
|
1133
|
-
xl: 3,
|
|
1134
|
-
},
|
|
1135
|
-
checkOfflineSaturday: {
|
|
1136
|
-
type: 'checkbox',
|
|
1137
|
-
label: 'Sat',
|
|
1138
|
-
xs: 12,
|
|
1139
|
-
sm: 6,
|
|
1140
|
-
md: 6,
|
|
1141
|
-
lg: 3,
|
|
1142
|
-
xl: 3,
|
|
1143
|
-
},
|
|
1144
|
-
checkOfflineSunday: {
|
|
1145
|
-
type: 'checkbox',
|
|
1146
|
-
label: 'Sun',
|
|
788
|
+
label: 'Wed',
|
|
1147
789
|
xs: 12,
|
|
1148
790
|
sm: 6,
|
|
1149
791
|
md: 6,
|
|
1150
|
-
lg: 3,
|
|
1151
|
-
xl: 3,
|
|
1152
|
-
},
|
|
1153
|
-
},
|
|
1154
|
-
},
|
|
1155
|
-
_sendIntervallOfflineTime: {
|
|
1156
|
-
type: 'panel',
|
|
1157
|
-
xs: 12,
|
|
1158
|
-
sm: 12,
|
|
1159
|
-
md: 12,
|
|
1160
|
-
lg: 6,
|
|
1161
|
-
xl: 6,
|
|
1162
|
-
hidden: '!data.checkSendOfflineMsgDaily',
|
|
1163
|
-
hideOnlyControl: true,
|
|
1164
|
-
items: {
|
|
1165
|
-
_textTime: {
|
|
1166
|
-
type: 'staticText',
|
|
1167
|
-
text: 'Choose the Time:',
|
|
1168
|
-
style: {
|
|
1169
|
-
fontSize: 16,
|
|
1170
|
-
marginTop: 20,
|
|
1171
|
-
},
|
|
1172
|
-
xs: 12,
|
|
1173
|
-
sm: 12,
|
|
1174
|
-
md: 12,
|
|
1175
|
-
lg: 12,
|
|
1176
|
-
xl: 12,
|
|
1177
|
-
},
|
|
1178
|
-
checkSendOfflineTime: {
|
|
1179
|
-
newLine: true,
|
|
1180
|
-
type: 'text',
|
|
1181
|
-
help: 'Format hh:mm',
|
|
1182
|
-
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendOfflineTime; if(timePattern.test(value)) return true;return false;',
|
|
1183
|
-
validatorNoSaveOnError: true,
|
|
1184
|
-
xs: 12,
|
|
1185
|
-
sm: 12,
|
|
1186
|
-
md: 12,
|
|
1187
|
-
lg: 12,
|
|
1188
|
-
xl: 12,
|
|
1189
|
-
},
|
|
1190
|
-
},
|
|
1191
|
-
},
|
|
1192
|
-
_trenner: {
|
|
1193
|
-
newLine: true,
|
|
1194
|
-
type: 'divider',
|
|
1195
|
-
},
|
|
1196
|
-
checkSendBatteryMsg: {
|
|
1197
|
-
newLine: true,
|
|
1198
|
-
type: 'checkbox',
|
|
1199
|
-
xs: 12,
|
|
1200
|
-
sm: 12,
|
|
1201
|
-
md: 12,
|
|
1202
|
-
lg: 6,
|
|
1203
|
-
xl: 6,
|
|
1204
|
-
label: 'Battery message',
|
|
1205
|
-
help: 'Get message if an device has low battery',
|
|
1206
|
-
},
|
|
1207
|
-
checkSendBatteryMsgDaily: {
|
|
1208
|
-
type: 'checkbox',
|
|
1209
|
-
xs: 12,
|
|
1210
|
-
sm: 12,
|
|
1211
|
-
md: 12,
|
|
1212
|
-
lg: 6,
|
|
1213
|
-
xl: 6,
|
|
1214
|
-
label: 'Overview of low battery devices',
|
|
1215
|
-
help: 'Get a regular message with an overview all low battery devices',
|
|
1216
|
-
},
|
|
1217
|
-
_chooseDay: {
|
|
1218
|
-
type: 'panel',
|
|
1219
|
-
newLine: true,
|
|
1220
|
-
xs: 12,
|
|
1221
|
-
sm: 12,
|
|
1222
|
-
md: 12,
|
|
1223
|
-
lg: 6,
|
|
1224
|
-
xl: 6,
|
|
1225
|
-
hidden: '!data.checkSendBatteryMsgDaily',
|
|
1226
|
-
hideOnlyControl: true,
|
|
1227
|
-
items: {
|
|
1228
|
-
_textDays: {
|
|
1229
|
-
type: 'staticText',
|
|
1230
|
-
text: 'Choose the day(s) where you want to get the message of low battery:',
|
|
1231
|
-
style: {
|
|
1232
|
-
fontSize: 16,
|
|
1233
|
-
marginTop: 20,
|
|
1234
|
-
},
|
|
1235
|
-
xs: 12,
|
|
1236
|
-
sm: 12,
|
|
1237
|
-
md: 12,
|
|
1238
|
-
lg: 12,
|
|
1239
|
-
xl: 12,
|
|
1240
|
-
},
|
|
1241
|
-
checkMonday: {
|
|
1242
|
-
newLine: true,
|
|
1243
|
-
type: 'checkbox',
|
|
1244
|
-
label: 'Mon',
|
|
1245
|
-
xs: 12,
|
|
1246
|
-
sm: 6,
|
|
1247
|
-
md: 6,
|
|
1248
|
-
lg: 3,
|
|
1249
|
-
xl: 3,
|
|
1250
|
-
},
|
|
1251
|
-
checkTuesday: {
|
|
1252
|
-
type: 'checkbox',
|
|
1253
|
-
label: 'Tue',
|
|
1254
|
-
xs: 12,
|
|
1255
|
-
sm: 6,
|
|
1256
|
-
md: 6,
|
|
1257
|
-
lg: 3,
|
|
1258
|
-
xl: 3,
|
|
1259
|
-
},
|
|
1260
|
-
checkWednesday: {
|
|
1261
|
-
type: 'checkbox',
|
|
1262
|
-
label: 'Wed',
|
|
1263
|
-
xs: 12,
|
|
1264
|
-
sm: 6,
|
|
1265
|
-
md: 6,
|
|
1266
|
-
lg: 3,
|
|
1267
|
-
xl: 3,
|
|
1268
|
-
},
|
|
1269
|
-
checkThursday: {
|
|
1270
|
-
type: 'checkbox',
|
|
1271
|
-
label: 'Thu',
|
|
1272
|
-
xs: 12,
|
|
1273
|
-
sm: 6,
|
|
1274
|
-
md: 6,
|
|
1275
|
-
lg: 3,
|
|
1276
|
-
xl: 3,
|
|
1277
|
-
},
|
|
1278
|
-
checkFriday: {
|
|
1279
|
-
type: 'checkbox',
|
|
1280
|
-
label: 'Fri',
|
|
1281
|
-
xs: 12,
|
|
1282
|
-
sm: 6,
|
|
1283
|
-
md: 6,
|
|
1284
|
-
lg: 3,
|
|
1285
|
-
xl: 3,
|
|
1286
|
-
},
|
|
1287
|
-
checkSaturday: {
|
|
1288
|
-
type: 'checkbox',
|
|
1289
|
-
label: 'Sat',
|
|
1290
|
-
xs: 12,
|
|
1291
|
-
sm: 6,
|
|
1292
|
-
md: 6,
|
|
1293
|
-
lg: 3,
|
|
1294
|
-
xl: 3,
|
|
1295
|
-
},
|
|
1296
|
-
checkSunday: {
|
|
1297
|
-
type: 'checkbox',
|
|
1298
|
-
label: 'Sun',
|
|
1299
|
-
xs: 12,
|
|
1300
|
-
sm: 6,
|
|
1301
|
-
md: 6,
|
|
1302
|
-
lg: 3,
|
|
1303
|
-
xl: 3,
|
|
1304
|
-
},
|
|
1305
|
-
},
|
|
1306
|
-
},
|
|
1307
|
-
_checkSendBatteryTime: {
|
|
1308
|
-
type: 'panel',
|
|
1309
|
-
xs: 12,
|
|
1310
|
-
sm: 12,
|
|
1311
|
-
md: 12,
|
|
1312
|
-
lg: 6,
|
|
1313
|
-
xl: 6,
|
|
1314
|
-
hidden: '!data.checkSendBatteryMsgDaily',
|
|
1315
|
-
hideOnlyControl: true,
|
|
1316
|
-
items: {
|
|
1317
|
-
_textTime: {
|
|
1318
|
-
type: 'staticText',
|
|
1319
|
-
text: 'Choose the Time:',
|
|
1320
|
-
style: {
|
|
1321
|
-
fontSize: 16,
|
|
1322
|
-
marginTop: 20,
|
|
1323
|
-
},
|
|
1324
|
-
xs: 12,
|
|
1325
|
-
sm: 12,
|
|
1326
|
-
md: 12,
|
|
1327
|
-
lg: 12,
|
|
1328
|
-
xl: 12,
|
|
1329
|
-
},
|
|
1330
|
-
checkSendBatteryTime: {
|
|
1331
|
-
newLine: true,
|
|
1332
|
-
type: 'text',
|
|
1333
|
-
help: 'Format hh:mm',
|
|
1334
|
-
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendBatteryTime; if(timePattern.test(value)) return true;return false;',
|
|
1335
|
-
validatorNoSaveOnError: true,
|
|
1336
|
-
xs: 12,
|
|
1337
|
-
sm: 12,
|
|
1338
|
-
md: 12,
|
|
1339
|
-
lg: 12,
|
|
1340
|
-
xl: 12,
|
|
1341
|
-
},
|
|
1342
|
-
},
|
|
1343
|
-
},
|
|
1344
|
-
_trennerZwei: {
|
|
1345
|
-
newLine: true,
|
|
1346
|
-
type: 'divider',
|
|
1347
|
-
},
|
|
1348
|
-
checkSendDeviceUpgrade: {
|
|
1349
|
-
newLine: true,
|
|
1350
|
-
type: 'checkbox',
|
|
1351
|
-
xs: 12,
|
|
1352
|
-
sm: 12,
|
|
1353
|
-
md: 12,
|
|
1354
|
-
lg: 6,
|
|
1355
|
-
xl: 6,
|
|
1356
|
-
label: 'Device update message',
|
|
1357
|
-
help: 'Receive a message when an update for an device is available',
|
|
1358
|
-
},
|
|
1359
|
-
checkSendUpgradeMsgDaily: {
|
|
1360
|
-
type: 'checkbox',
|
|
1361
|
-
xs: 12,
|
|
1362
|
-
sm: 12,
|
|
1363
|
-
md: 12,
|
|
1364
|
-
lg: 6,
|
|
1365
|
-
xl: 6,
|
|
1366
|
-
label: 'Overview of devices with update',
|
|
1367
|
-
help: 'Get a message with an overview all devices with update',
|
|
1368
|
-
},
|
|
1369
|
-
_sendIntervallUpgradeDay: {
|
|
1370
|
-
type: 'panel',
|
|
1371
|
-
newLine: true,
|
|
1372
|
-
xs: 12,
|
|
1373
|
-
sm: 12,
|
|
1374
|
-
md: 12,
|
|
1375
|
-
lg: 6,
|
|
1376
|
-
xl: 6,
|
|
1377
|
-
hidden: '!data.checkSendUpgradeMsgDaily',
|
|
1378
|
-
hideOnlyControl: true,
|
|
1379
|
-
items: {
|
|
1380
|
-
_textDays: {
|
|
1381
|
-
type: 'staticText',
|
|
1382
|
-
text: 'Choose the day(s) where you want to get the overview of update devices:',
|
|
1383
|
-
style: {
|
|
1384
|
-
fontSize: 16,
|
|
1385
|
-
marginTop: 20,
|
|
1386
|
-
},
|
|
1387
|
-
xs: 12,
|
|
1388
|
-
sm: 12,
|
|
1389
|
-
md: 12,
|
|
1390
|
-
lg: 12,
|
|
1391
|
-
xl: 12,
|
|
1392
|
-
},
|
|
1393
|
-
checkUpgradeMonday: {
|
|
1394
|
-
newLine: true,
|
|
1395
|
-
type: 'checkbox',
|
|
1396
|
-
label: 'Mon',
|
|
1397
|
-
xs: 12,
|
|
1398
|
-
sm: 6,
|
|
1399
|
-
md: 6,
|
|
1400
|
-
lg: 3,
|
|
1401
|
-
xl: 3,
|
|
1402
|
-
},
|
|
1403
|
-
checkUpgradeTuesday: {
|
|
1404
|
-
type: 'checkbox',
|
|
1405
|
-
label: 'Tue',
|
|
1406
|
-
xs: 12,
|
|
1407
|
-
sm: 6,
|
|
1408
|
-
md: 6,
|
|
1409
|
-
lg: 3,
|
|
1410
|
-
xl: 3,
|
|
1411
|
-
},
|
|
1412
|
-
checkUpgradeWednesday: {
|
|
1413
|
-
type: 'checkbox',
|
|
1414
|
-
label: 'Wed',
|
|
1415
|
-
xs: 12,
|
|
1416
|
-
sm: 6,
|
|
1417
|
-
md: 6,
|
|
1418
|
-
lg: 3,
|
|
1419
|
-
xl: 3,
|
|
1420
|
-
},
|
|
1421
|
-
checkUpgradeThursday: {
|
|
1422
|
-
type: 'checkbox',
|
|
1423
|
-
label: 'Thu',
|
|
1424
|
-
xs: 12,
|
|
1425
|
-
sm: 6,
|
|
1426
|
-
md: 6,
|
|
1427
|
-
lg: 3,
|
|
1428
|
-
xl: 3,
|
|
1429
|
-
},
|
|
1430
|
-
checkUpgradeFriday: {
|
|
1431
|
-
type: 'checkbox',
|
|
1432
|
-
label: 'Fri',
|
|
1433
|
-
xs: 12,
|
|
1434
|
-
sm: 6,
|
|
1435
|
-
md: 6,
|
|
1436
|
-
lg: 3,
|
|
1437
|
-
xl: 3,
|
|
1438
|
-
},
|
|
1439
|
-
checkUpgradeSaturday: {
|
|
1440
|
-
type: 'checkbox',
|
|
1441
|
-
label: 'Sat',
|
|
1442
|
-
xs: 12,
|
|
1443
|
-
sm: 6,
|
|
1444
|
-
md: 6,
|
|
1445
|
-
lg: 3,
|
|
1446
|
-
xl: 3,
|
|
1447
|
-
},
|
|
1448
|
-
checkUpgradeSunday: {
|
|
1449
|
-
type: 'checkbox',
|
|
1450
|
-
label: 'Sun',
|
|
1451
|
-
xs: 12,
|
|
1452
|
-
sm: 6,
|
|
1453
|
-
md: 6,
|
|
1454
|
-
lg: 3,
|
|
1455
|
-
xl: 3,
|
|
1456
|
-
},
|
|
1457
|
-
},
|
|
1458
|
-
},
|
|
1459
|
-
_sendIntervallUpgradeTime: {
|
|
1460
|
-
type: 'panel',
|
|
1461
|
-
xs: 12,
|
|
1462
|
-
sm: 12,
|
|
1463
|
-
md: 12,
|
|
1464
|
-
lg: 6,
|
|
1465
|
-
xl: 6,
|
|
1466
|
-
hidden: '!data.checkSendUpgradeMsgDaily',
|
|
1467
|
-
hideOnlyControl: true,
|
|
1468
|
-
items: {
|
|
1469
|
-
_textTime: {
|
|
1470
|
-
type: 'staticText',
|
|
1471
|
-
text: 'Choose the Time:',
|
|
1472
|
-
style: {
|
|
1473
|
-
fontSize: 16,
|
|
1474
|
-
marginTop: 20,
|
|
1475
|
-
},
|
|
1476
|
-
xs: 12,
|
|
1477
|
-
sm: 12,
|
|
1478
|
-
md: 12,
|
|
1479
|
-
lg: 12,
|
|
1480
|
-
xl: 12,
|
|
1481
|
-
},
|
|
1482
|
-
checkSendUpgradeTime: {
|
|
1483
|
-
newLine: true,
|
|
1484
|
-
type: 'text',
|
|
1485
|
-
help: 'Format hh:mm',
|
|
1486
|
-
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendUpgradeTime; if(timePattern.test(value)) return true;return false;',
|
|
1487
|
-
validatorNoSaveOnError: true,
|
|
1488
|
-
xs: 12,
|
|
1489
|
-
sm: 12,
|
|
1490
|
-
md: 12,
|
|
1491
|
-
lg: 12,
|
|
1492
|
-
xl: 12,
|
|
1493
|
-
},
|
|
1494
|
-
},
|
|
1495
|
-
},
|
|
1496
|
-
_headerOtherSettings: {
|
|
1497
|
-
type: 'header',
|
|
1498
|
-
text: 'Other Notification Settings',
|
|
1499
|
-
size: 2,
|
|
1500
|
-
hidden: '!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade && !data.checkSendUpgradeMsgDaily',
|
|
1501
|
-
},
|
|
1502
|
-
showAdapterNameinMsg: {
|
|
1503
|
-
newLine: true,
|
|
1504
|
-
type: 'checkbox',
|
|
1505
|
-
xs: 12,
|
|
1506
|
-
sm: 12,
|
|
1507
|
-
md: 6,
|
|
1508
|
-
lg: 3,
|
|
1509
|
-
xl: 3,
|
|
1510
|
-
label: 'Add adapter name in notifcations',
|
|
1511
|
-
help: 'Will add the adaptername from the device',
|
|
1512
|
-
hidden: '!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade && !data.checkSendUpgradeMsgDaily',
|
|
1513
|
-
},
|
|
1514
|
-
},
|
|
1515
|
-
},
|
|
1516
|
-
_notificationServices: {
|
|
1517
|
-
type: 'panel',
|
|
1518
|
-
label: 'Notification Service',
|
|
1519
|
-
items: {
|
|
1520
|
-
_headerMSGservice: {
|
|
1521
|
-
newLine: true,
|
|
1522
|
-
type: 'header',
|
|
1523
|
-
text: 'Notification Service',
|
|
1524
|
-
size: 2,
|
|
1525
|
-
},
|
|
1526
|
-
_msgServiceText: {
|
|
1527
|
-
type: 'staticText',
|
|
1528
|
-
text: 'Here you can choose your notification service, you can use more than one service, but you can also leave all blank, then only the datapoint lastNotification will be filled.',
|
|
1529
|
-
style: {
|
|
1530
|
-
fontSize: 16,
|
|
1531
|
-
marginTop: 20,
|
|
1532
|
-
},
|
|
1533
|
-
xs: 12,
|
|
1534
|
-
sm: 12,
|
|
1535
|
-
md: 12,
|
|
1536
|
-
lg: 12,
|
|
1537
|
-
xl: 12,
|
|
1538
|
-
},
|
|
1539
|
-
msgService: {
|
|
1540
|
-
newLine: true,
|
|
1541
|
-
type: 'select',
|
|
1542
|
-
help: 'Choose your notification services',
|
|
1543
|
-
options: [
|
|
1544
|
-
{ label: 'Please choose', value: 'none' },
|
|
1545
|
-
{ label: 'E-Mail', value: 'email' },
|
|
1546
|
-
{ label: 'Jarvis', value: 'jarvis' },
|
|
1547
|
-
{ label: 'Lovelace', value: 'lovelace' },
|
|
1548
|
-
{ label: 'Matrix', value: 'matrix' },
|
|
1549
|
-
{ label: 'Pushover', value: 'pushover' },
|
|
1550
|
-
{ label: 'Signal', value: 'signal' },
|
|
1551
|
-
{ label: 'Synochat', value: 'synochat' },
|
|
1552
|
-
{ label: 'Telegram', value: 'telegram' },
|
|
1553
|
-
{ label: 'Whatsapp', value: 'whatsapp' },
|
|
1554
|
-
],
|
|
1555
|
-
default: 'none',
|
|
1556
|
-
xs: 12,
|
|
1557
|
-
sm: 12,
|
|
1558
|
-
md: 4,
|
|
1559
|
-
lg: 4,
|
|
1560
|
-
xl: 4,
|
|
1561
|
-
},
|
|
1562
|
-
_headerEmail: {
|
|
1563
|
-
newLine: true,
|
|
1564
|
-
type: 'header',
|
|
1565
|
-
text: 'Email',
|
|
1566
|
-
size: 2,
|
|
1567
|
-
hidden: "data.msgService !== 'email' && !data.instanceEmail",
|
|
1568
|
-
hideOnlyControl: false,
|
|
1569
|
-
},
|
|
1570
|
-
instanceEmail: {
|
|
1571
|
-
newLine: true,
|
|
1572
|
-
type: 'instance',
|
|
1573
|
-
adapter: 'email',
|
|
1574
|
-
all: false,
|
|
1575
|
-
xs: 12,
|
|
1576
|
-
sm: 12,
|
|
1577
|
-
md: 4,
|
|
1578
|
-
lg: 4,
|
|
1579
|
-
xl: 4,
|
|
1580
|
-
label: 'Email Instance',
|
|
1581
|
-
help: 'Please choose the email instance',
|
|
1582
|
-
hidden: "data.msgService !== 'email' && !data.instanceEmail",
|
|
1583
|
-
hideOnlyControl: false,
|
|
1584
|
-
},
|
|
1585
|
-
sendToEmail: {
|
|
1586
|
-
type: 'text',
|
|
1587
|
-
xs: 12,
|
|
1588
|
-
sm: 12,
|
|
1589
|
-
md: 4,
|
|
1590
|
-
lg: 4,
|
|
1591
|
-
xl: 4,
|
|
1592
|
-
label: 'Send to (optional)',
|
|
1593
|
-
help: 'Choose your email address',
|
|
1594
|
-
hidden: "data.msgService !== 'email' && !data.instanceEmail",
|
|
1595
|
-
hideOnlyControl: false,
|
|
1596
|
-
},
|
|
1597
|
-
subjectEmail: {
|
|
1598
|
-
type: 'text',
|
|
1599
|
-
xs: 12,
|
|
1600
|
-
sm: 12,
|
|
1601
|
-
md: 4,
|
|
1602
|
-
lg: 4,
|
|
1603
|
-
xl: 4,
|
|
1604
|
-
label: 'Subject (optional)',
|
|
1605
|
-
help: 'Choose your subject for the Email',
|
|
1606
|
-
hidden: "data.msgService !== 'email' && !data.instanceEmail",
|
|
1607
|
-
hideOnlyControl: false,
|
|
1608
|
-
},
|
|
1609
|
-
headerJarvis: {
|
|
1610
|
-
newLine: true,
|
|
1611
|
-
type: 'header',
|
|
1612
|
-
text: 'Jarvis Notification',
|
|
1613
|
-
size: 2,
|
|
1614
|
-
hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
|
|
1615
|
-
hideOnlyControl: false,
|
|
1616
|
-
},
|
|
1617
|
-
instanceJarvis: {
|
|
1618
|
-
newLine: true,
|
|
1619
|
-
type: 'instance',
|
|
1620
|
-
adapter: 'jarvis',
|
|
1621
|
-
all: false,
|
|
1622
|
-
xs: 12,
|
|
1623
|
-
sm: 12,
|
|
1624
|
-
md: 4,
|
|
1625
|
-
lg: 4,
|
|
1626
|
-
xl: 4,
|
|
1627
|
-
label: 'Jarvis Instance',
|
|
1628
|
-
help: 'Please choose the jarvis instance',
|
|
1629
|
-
hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
|
|
1630
|
-
hideOnlyControl: false,
|
|
1631
|
-
},
|
|
1632
|
-
titleJarvis: {
|
|
1633
|
-
type: 'text',
|
|
1634
|
-
xs: 12,
|
|
1635
|
-
sm: 12,
|
|
1636
|
-
md: 4,
|
|
1637
|
-
lg: 4,
|
|
1638
|
-
xl: 4,
|
|
1639
|
-
label: 'Title (optional)',
|
|
1640
|
-
help: 'Choose your title for Pushmessage',
|
|
1641
|
-
hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
|
|
1642
|
-
hideOnlyControl: false,
|
|
1643
|
-
},
|
|
1644
|
-
headerLovelace: {
|
|
1645
|
-
newLine: true,
|
|
1646
|
-
type: 'header',
|
|
1647
|
-
text: 'Lovelace Notification',
|
|
1648
|
-
size: 2,
|
|
1649
|
-
hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
|
|
1650
|
-
hideOnlyControl: false,
|
|
1651
|
-
},
|
|
1652
|
-
instanceLovelace: {
|
|
1653
|
-
newLine: true,
|
|
1654
|
-
type: 'instance',
|
|
1655
|
-
adapter: 'lovelace',
|
|
1656
|
-
all: false,
|
|
1657
|
-
xs: 12,
|
|
1658
|
-
sm: 12,
|
|
1659
|
-
md: 4,
|
|
1660
|
-
lg: 4,
|
|
1661
|
-
xl: 4,
|
|
1662
|
-
label: 'Lovelace Instance',
|
|
1663
|
-
help: 'Please choose the lovelace instance',
|
|
1664
|
-
hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
|
|
1665
|
-
hideOnlyControl: false,
|
|
1666
|
-
},
|
|
1667
|
-
titleLovelace: {
|
|
1668
|
-
type: 'text',
|
|
1669
|
-
xs: 12,
|
|
1670
|
-
sm: 12,
|
|
1671
|
-
md: 4,
|
|
1672
|
-
lg: 4,
|
|
1673
|
-
xl: 4,
|
|
1674
|
-
label: 'Title (optional)',
|
|
1675
|
-
help: 'Choose your title for Pushmessage',
|
|
1676
|
-
hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
|
|
1677
|
-
hideOnlyControl: false,
|
|
1678
|
-
},
|
|
1679
|
-
headerMatrix: {
|
|
1680
|
-
newLine: true,
|
|
1681
|
-
type: 'header',
|
|
1682
|
-
text: 'Matrix',
|
|
1683
|
-
size: 2,
|
|
1684
|
-
hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
|
|
1685
|
-
hideOnlyControl: false,
|
|
1686
|
-
},
|
|
1687
|
-
instanceMatrix: {
|
|
1688
|
-
newLine: true,
|
|
1689
|
-
type: 'instance',
|
|
1690
|
-
adapter: 'matrix-org',
|
|
1691
|
-
all: false,
|
|
1692
|
-
xs: 12,
|
|
1693
|
-
sm: 12,
|
|
1694
|
-
md: 4,
|
|
1695
|
-
lg: 4,
|
|
1696
|
-
xl: 4,
|
|
1697
|
-
label: 'Matrix Instance',
|
|
1698
|
-
help: 'Please choose the matrix instance',
|
|
1699
|
-
hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
|
|
1700
|
-
hideOnlyControl: false,
|
|
1701
|
-
},
|
|
1702
|
-
titleMatrix: {
|
|
1703
|
-
type: 'text',
|
|
1704
|
-
xs: 12,
|
|
1705
|
-
sm: 12,
|
|
1706
|
-
md: 4,
|
|
1707
|
-
lg: 4,
|
|
1708
|
-
xl: 4,
|
|
1709
|
-
label: 'Title (optional)',
|
|
1710
|
-
help: 'Choose your title for message',
|
|
1711
|
-
hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
|
|
1712
|
-
hideOnlyControl: false,
|
|
1713
|
-
},
|
|
1714
|
-
_headerPushover: {
|
|
1715
|
-
newLine: true,
|
|
1716
|
-
type: 'header',
|
|
1717
|
-
text: 'Pushover',
|
|
1718
|
-
size: 2,
|
|
1719
|
-
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
1720
|
-
hideOnlyControl: false,
|
|
1721
|
-
},
|
|
1722
|
-
instancePushover: {
|
|
1723
|
-
newLine: true,
|
|
1724
|
-
type: 'instance',
|
|
1725
|
-
adapter: 'pushover',
|
|
1726
|
-
all: false,
|
|
1727
|
-
xs: 12,
|
|
1728
|
-
sm: 12,
|
|
1729
|
-
md: 4,
|
|
1730
|
-
lg: 4,
|
|
1731
|
-
xl: 4,
|
|
1732
|
-
label: 'Pushover Instance',
|
|
1733
|
-
help: 'Please choose the pushover instance',
|
|
1734
|
-
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
1735
|
-
hideOnlyControl: false,
|
|
1736
|
-
},
|
|
1737
|
-
userPushover: {
|
|
1738
|
-
type: 'text',
|
|
1739
|
-
xs: 12,
|
|
1740
|
-
sm: 12,
|
|
1741
|
-
md: 4,
|
|
1742
|
-
lg: 4,
|
|
1743
|
-
xl: 4,
|
|
1744
|
-
label: 'User/Group key (optional)',
|
|
1745
|
-
help: 'Choose your User/Group key for Pushmessage',
|
|
1746
|
-
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
1747
|
-
hideOnlyControl: false,
|
|
1748
|
-
},
|
|
1749
|
-
devicePushover: {
|
|
1750
|
-
type: 'text',
|
|
1751
|
-
xs: 12,
|
|
1752
|
-
sm: 12,
|
|
1753
|
-
md: 4,
|
|
1754
|
-
lg: 4,
|
|
1755
|
-
xl: 4,
|
|
1756
|
-
label: 'Device-ID (optional)',
|
|
1757
|
-
help: 'Choose your device',
|
|
1758
|
-
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
1759
|
-
hideOnlyControl: false,
|
|
1760
|
-
},
|
|
1761
|
-
prioPushover: {
|
|
1762
|
-
type: 'select',
|
|
1763
|
-
xs: 12,
|
|
1764
|
-
sm: 12,
|
|
1765
|
-
md: 4,
|
|
1766
|
-
lg: 4,
|
|
1767
|
-
xl: 4,
|
|
1768
|
-
help: 'Choose the priority',
|
|
1769
|
-
options: [
|
|
1770
|
-
{ label: 'Normal', value: '' },
|
|
1771
|
-
{ label: 'High Priority', value: 1 },
|
|
1772
|
-
{ label: 'Silent', value: -1 },
|
|
1773
|
-
{ label: 'With confirmation', value: 2 },
|
|
1774
|
-
],
|
|
1775
|
-
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
1776
|
-
hideOnlyControl: false,
|
|
1777
|
-
},
|
|
1778
|
-
titlePushover: {
|
|
1779
|
-
type: 'text',
|
|
1780
|
-
xs: 12,
|
|
1781
|
-
sm: 12,
|
|
1782
|
-
md: 4,
|
|
1783
|
-
lg: 4,
|
|
1784
|
-
xl: 4,
|
|
1785
|
-
label: 'Title (optional)',
|
|
1786
|
-
help: 'Choose your title for Pushmessage',
|
|
1787
|
-
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
1788
|
-
hideOnlyControl: false,
|
|
1789
|
-
},
|
|
1790
|
-
headerSignal: {
|
|
1791
|
-
newLine: true,
|
|
1792
|
-
type: 'header',
|
|
1793
|
-
text: 'Signal',
|
|
1794
|
-
size: 2,
|
|
1795
|
-
hidden: "data.msgService !== 'signal' && !data.instanceSignal",
|
|
1796
|
-
hideOnlyControl: false,
|
|
1797
|
-
},
|
|
1798
|
-
instanceSignal: {
|
|
1799
|
-
newLine: true,
|
|
1800
|
-
type: 'instance',
|
|
1801
|
-
adapter: 'signal-cmb',
|
|
1802
|
-
all: false,
|
|
1803
|
-
xs: 12,
|
|
1804
|
-
sm: 12,
|
|
1805
|
-
md: 4,
|
|
1806
|
-
lg: 4,
|
|
1807
|
-
xl: 4,
|
|
1808
|
-
label: 'Signal Instance',
|
|
1809
|
-
help: 'Please choose the Signal instance',
|
|
1810
|
-
hidden: "data.msgService !== 'signal' && !data.instanceSignal",
|
|
1811
|
-
hideOnlyControl: false,
|
|
1812
|
-
},
|
|
1813
|
-
phonSignal: {
|
|
1814
|
-
type: 'text',
|
|
1815
|
-
xs: 12,
|
|
1816
|
-
sm: 12,
|
|
1817
|
-
md: 4,
|
|
1818
|
-
lg: 4,
|
|
1819
|
-
xl: 4,
|
|
1820
|
-
label: 'Recipient (optional)',
|
|
1821
|
-
help: 'Choose your recipient',
|
|
1822
|
-
hidden: "data.msgService !== 'signal' && !data.instanceSignal",
|
|
1823
|
-
hideOnlyControl: false,
|
|
1824
|
-
},
|
|
1825
|
-
headerSynochat: {
|
|
1826
|
-
newLine: true,
|
|
1827
|
-
type: 'header',
|
|
1828
|
-
text: 'Synochat',
|
|
1829
|
-
size: 2,
|
|
1830
|
-
hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
|
|
1831
|
-
hideOnlyControl: false,
|
|
1832
|
-
},
|
|
1833
|
-
instanceSynochat: {
|
|
1834
|
-
newLine: true,
|
|
1835
|
-
type: 'instance',
|
|
1836
|
-
adapter: 'synochat',
|
|
1837
|
-
all: false,
|
|
1838
|
-
xs: 12,
|
|
1839
|
-
sm: 12,
|
|
1840
|
-
md: 4,
|
|
1841
|
-
lg: 4,
|
|
1842
|
-
xl: 4,
|
|
1843
|
-
label: 'Synochat Instance',
|
|
1844
|
-
help: 'Please choose the Synochat instance',
|
|
1845
|
-
hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
|
|
1846
|
-
hideOnlyControl: false,
|
|
1847
|
-
},
|
|
1848
|
-
channelSynochat: {
|
|
1849
|
-
type: 'text',
|
|
1850
|
-
xs: 12,
|
|
1851
|
-
sm: 12,
|
|
1852
|
-
md: 4,
|
|
1853
|
-
lg: 4,
|
|
1854
|
-
xl: 4,
|
|
1855
|
-
label: 'Channel',
|
|
1856
|
-
help: 'Enter the channelname for Synochat',
|
|
1857
|
-
hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
|
|
1858
|
-
hideOnlyControl: false,
|
|
1859
|
-
},
|
|
1860
|
-
headerTelegram: {
|
|
1861
|
-
newLine: true,
|
|
1862
|
-
type: 'header',
|
|
1863
|
-
text: 'Telegram',
|
|
1864
|
-
size: 2,
|
|
1865
|
-
hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
1866
|
-
hideOnlyControl: false,
|
|
1867
|
-
},
|
|
1868
|
-
instanceTelegram: {
|
|
1869
|
-
newLine: true,
|
|
1870
|
-
type: 'instance',
|
|
1871
|
-
adapter: 'telegram',
|
|
1872
|
-
all: false,
|
|
1873
|
-
xs: 12,
|
|
1874
|
-
sm: 12,
|
|
1875
|
-
md: 4,
|
|
1876
|
-
lg: 4,
|
|
1877
|
-
xl: 4,
|
|
1878
|
-
label: 'Telegram Instance',
|
|
1879
|
-
help: 'Please choose the telegram instance',
|
|
1880
|
-
hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
1881
|
-
hideOnlyControl: false,
|
|
1882
|
-
},
|
|
1883
|
-
deviceTelegram: {
|
|
1884
|
-
type: 'text',
|
|
1885
|
-
xs: 12,
|
|
1886
|
-
sm: 12,
|
|
1887
|
-
md: 4,
|
|
1888
|
-
lg: 4,
|
|
1889
|
-
xl: 4,
|
|
1890
|
-
label: 'Device-ID (optional)',
|
|
1891
|
-
help: 'Choose your device',
|
|
1892
|
-
hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
1893
|
-
hideOnlyControl: false,
|
|
1894
|
-
},
|
|
1895
|
-
chatIdTelegram: {
|
|
1896
|
-
type: 'text',
|
|
1897
|
-
xs: 12,
|
|
1898
|
-
sm: 12,
|
|
1899
|
-
md: 4,
|
|
1900
|
-
lg: 4,
|
|
1901
|
-
xl: 4,
|
|
1902
|
-
label: 'Chat-ID (optional)',
|
|
1903
|
-
help: 'Choose your Chat-ID',
|
|
1904
|
-
hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
1905
|
-
hideOnlyControl: false,
|
|
1906
|
-
},
|
|
1907
|
-
headerWhatsapp: {
|
|
1908
|
-
newLine: true,
|
|
1909
|
-
type: 'header',
|
|
1910
|
-
text: 'Whatsapp',
|
|
1911
|
-
size: 2,
|
|
1912
|
-
hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
|
|
1913
|
-
hideOnlyControl: false,
|
|
1914
|
-
},
|
|
1915
|
-
instanceWhatsapp: {
|
|
1916
|
-
newLine: true,
|
|
1917
|
-
type: 'instance',
|
|
1918
|
-
adapter: 'whatsapp-cmb',
|
|
1919
|
-
all: false,
|
|
1920
|
-
xs: 12,
|
|
1921
|
-
sm: 12,
|
|
1922
|
-
md: 4,
|
|
1923
|
-
lg: 4,
|
|
1924
|
-
xl: 4,
|
|
1925
|
-
label: 'Whatsapp Instance',
|
|
1926
|
-
help: 'Please choose the Whatsapp instance',
|
|
1927
|
-
hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
|
|
1928
|
-
hideOnlyControl: false,
|
|
1929
|
-
},
|
|
1930
|
-
phoneWhatapp: {
|
|
1931
|
-
type: 'text',
|
|
1932
|
-
xs: 12,
|
|
1933
|
-
sm: 12,
|
|
1934
|
-
md: 4,
|
|
1935
|
-
lg: 4,
|
|
1936
|
-
xl: 4,
|
|
1937
|
-
label: 'Recipient (optional)',
|
|
1938
|
-
help: 'Choose your recipient',
|
|
1939
|
-
hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
|
|
1940
|
-
hideOnlyControl: false,
|
|
1941
|
-
},
|
|
1942
|
-
},
|
|
1943
|
-
},
|
|
1944
|
-
_blacklist: {
|
|
1945
|
-
type: 'panel',
|
|
1946
|
-
label: 'Blacklist',
|
|
1947
|
-
items: {
|
|
1948
|
-
_headerBlacklistInstances: {
|
|
1949
|
-
newLine: true,
|
|
1950
|
-
type: 'header',
|
|
1951
|
-
text: 'Instances Blacklist',
|
|
1952
|
-
size: 2,
|
|
1953
|
-
hidden: '!data.checkAdapterInstances',
|
|
1954
|
-
hideOnlyControl: false,
|
|
1955
|
-
},
|
|
1956
|
-
tableBlacklistInstances: {
|
|
1957
|
-
type: 'table',
|
|
1958
|
-
xs: 12,
|
|
1959
|
-
sm: 12,
|
|
1960
|
-
md: 12,
|
|
1961
|
-
lg: 12,
|
|
1962
|
-
xl: 12,
|
|
1963
|
-
hidden: '!data.checkAdapterInstances',
|
|
1964
|
-
hideOnlyControl: false,
|
|
1965
|
-
confirm: {
|
|
1966
|
-
condition: '!_alive',
|
|
1967
|
-
title: 'Attention!',
|
|
1968
|
-
text: 'This selection is only possible with a running instance!',
|
|
1969
|
-
ok: 'Got it!',
|
|
1970
|
-
cancel: 'cancel',
|
|
1971
|
-
type: 'warning',
|
|
1972
|
-
},
|
|
1973
|
-
items: [
|
|
1974
|
-
{
|
|
1975
|
-
type: 'selectSendTo',
|
|
1976
|
-
title: 'Choose which instances should be excluded',
|
|
1977
|
-
attr: 'instances',
|
|
1978
|
-
filter: false,
|
|
1979
|
-
sort: false,
|
|
1980
|
-
jsonData: '{"instanceID":"${globalData.instanceID}","adapter":"${globalData.adapter}"}',
|
|
1981
|
-
command: 'instancesList',
|
|
1982
|
-
width: '60%',
|
|
1983
|
-
},
|
|
1984
|
-
{
|
|
1985
|
-
type: 'checkbox',
|
|
1986
|
-
title: 'Ignor in notifications',
|
|
1987
|
-
attr: 'checkIgnorNotify',
|
|
1988
|
-
width: '15%',
|
|
1989
|
-
},
|
|
1990
|
-
{
|
|
1991
|
-
type: 'checkbox',
|
|
1992
|
-
title: 'Ignore in lists',
|
|
1993
|
-
attr: 'checkIgnorLists',
|
|
1994
|
-
width: '10%',
|
|
1995
|
-
},
|
|
1996
|
-
],
|
|
1997
|
-
},
|
|
1998
|
-
_headerDevices: {
|
|
1999
|
-
newLine: true,
|
|
2000
|
-
type: 'header',
|
|
2001
|
-
text: 'Devices/Services Blacklist',
|
|
2002
|
-
size: 2,
|
|
2003
|
-
},
|
|
2004
|
-
tableBlacklist: {
|
|
2005
|
-
type: 'table',
|
|
2006
|
-
xs: 12,
|
|
2007
|
-
sm: 12,
|
|
2008
|
-
md: 12,
|
|
2009
|
-
lg: 12,
|
|
2010
|
-
xl: 12,
|
|
2011
|
-
confirm: {
|
|
2012
|
-
condition: '!_alive',
|
|
2013
|
-
title: 'Attention!',
|
|
2014
|
-
text: 'This selection is only possible with a running instance!',
|
|
2015
|
-
ok: 'Got it!',
|
|
2016
|
-
cancel: 'cancel',
|
|
2017
|
-
type: 'warning',
|
|
2018
|
-
},
|
|
2019
|
-
items: [
|
|
2020
|
-
{
|
|
2021
|
-
type: 'selectSendTo',
|
|
2022
|
-
title: 'Choose which devices/services should be excluded',
|
|
2023
|
-
attr: 'devices',
|
|
2024
|
-
filter: false,
|
|
2025
|
-
sort: false,
|
|
2026
|
-
jsonData: '{"deviceName":"${globalData.deviceName}","adapter":"${globalData.adapter}","path":"${globalData.path}"}',
|
|
2027
|
-
command: 'devicesList',
|
|
2028
|
-
width: '60%',
|
|
2029
|
-
},
|
|
2030
|
-
{
|
|
2031
|
-
type: 'checkbox',
|
|
2032
|
-
title: 'Ignor in notifications',
|
|
2033
|
-
attr: 'checkIgnorNotify',
|
|
2034
|
-
width: '15%',
|
|
2035
|
-
},
|
|
2036
|
-
{
|
|
2037
|
-
type: 'checkbox',
|
|
2038
|
-
title: 'Ignore in main lists',
|
|
2039
|
-
attr: 'checkIgnorLists',
|
|
2040
|
-
width: '10%',
|
|
2041
|
-
},
|
|
2042
|
-
{
|
|
2043
|
-
type: 'checkbox',
|
|
2044
|
-
title: 'Ignore in lists per adapter',
|
|
2045
|
-
attr: 'checkIgnorAdapterLists',
|
|
2046
|
-
width: '10%',
|
|
2047
|
-
},
|
|
2048
|
-
],
|
|
2049
|
-
},
|
|
2050
|
-
},
|
|
2051
|
-
},
|
|
2052
|
-
_otherSettings: {
|
|
2053
|
-
type: 'panel',
|
|
2054
|
-
label: 'Other Settings',
|
|
2055
|
-
items: {
|
|
2056
|
-
_headerOtherSettings: {
|
|
2057
|
-
type: 'header',
|
|
2058
|
-
text: 'Other Settings',
|
|
2059
|
-
size: 2,
|
|
2060
|
-
},
|
|
2061
|
-
trueState: {
|
|
2062
|
-
newLine: true,
|
|
2063
|
-
type: 'checkbox',
|
|
2064
|
-
xs: 12,
|
|
2065
|
-
sm: 12,
|
|
2066
|
-
md: 6,
|
|
2067
|
-
lg: 4,
|
|
2068
|
-
xl: 4,
|
|
2069
|
-
label: 'True State',
|
|
2070
|
-
help: 'Use the true value of the signal strength, or it is converted to %',
|
|
2071
|
-
},
|
|
2072
|
-
listOnlyBattery: {
|
|
2073
|
-
type: 'checkbox',
|
|
2074
|
-
xs: 12,
|
|
2075
|
-
sm: 12,
|
|
2076
|
-
md: 6,
|
|
2077
|
-
lg: 4,
|
|
2078
|
-
xl: 4,
|
|
2079
|
-
label: 'List only devices with batteries',
|
|
2080
|
-
help: 'Choose if only devices with batteries should be listed or all devices',
|
|
2081
|
-
},
|
|
2082
|
-
minWarnBatterie: {
|
|
2083
|
-
type: 'number',
|
|
2084
|
-
min: -1,
|
|
2085
|
-
max: 100,
|
|
2086
|
-
xs: 12,
|
|
2087
|
-
sm: 12,
|
|
2088
|
-
md: 12,
|
|
2089
|
-
lg: 4,
|
|
2090
|
-
xl: 4,
|
|
2091
|
-
label: 'From what % battery is considered low',
|
|
2092
|
-
help: 'in percent',
|
|
2093
|
-
},
|
|
2094
|
-
createOwnFolder: {
|
|
2095
|
-
type: 'checkbox',
|
|
2096
|
-
xs: 12,
|
|
2097
|
-
sm: 12,
|
|
2098
|
-
md: 6,
|
|
2099
|
-
lg: 4,
|
|
2100
|
-
xl: 4,
|
|
2101
|
-
label: 'Create own folders for each adapter',
|
|
2102
|
-
help: 'If you like to have for every Adapter an own folder with own data',
|
|
2103
|
-
},
|
|
2104
|
-
createHtmlList: {
|
|
2105
|
-
type: 'checkbox',
|
|
2106
|
-
xs: 12,
|
|
2107
|
-
sm: 12,
|
|
2108
|
-
md: 6,
|
|
2109
|
-
lg: 4,
|
|
2110
|
-
xl: 4,
|
|
2111
|
-
label: 'Create additionally HTML lists',
|
|
2112
|
-
help: 'Create the lists also in HTML',
|
|
2113
|
-
},
|
|
2114
|
-
showLastSignal: {
|
|
2115
|
-
type: 'checkbox',
|
|
2116
|
-
xs: 12,
|
|
2117
|
-
sm: 12,
|
|
2118
|
-
md: 6,
|
|
2119
|
-
lg: 4,
|
|
2120
|
-
xl: 4,
|
|
2121
|
-
label: 'Display last signal strength',
|
|
2122
|
-
help: 'Display the last signal strength value when the device is offline',
|
|
2123
|
-
},
|
|
2124
|
-
_updateInterval: {
|
|
2125
|
-
type: 'header',
|
|
2126
|
-
text: 'Update-Interval',
|
|
2127
|
-
size: 2,
|
|
2128
|
-
},
|
|
2129
|
-
_textUpdateInterval: {
|
|
2130
|
-
type: 'staticText',
|
|
2131
|
-
text: 'Here you can define the update interval of the datapoints/lists. For performance reasons, it is not recommended to select a poll value that is too low. Lower than two seconds is not selectable.',
|
|
2132
|
-
xs: 12,
|
|
2133
|
-
sm: 12,
|
|
2134
|
-
md: 12,
|
|
2135
|
-
lg: 12,
|
|
2136
|
-
xl: 12,
|
|
2137
|
-
style: {
|
|
2138
|
-
fontSize: 16,
|
|
2139
|
-
marginBottom: 10,
|
|
2140
|
-
},
|
|
2141
|
-
},
|
|
2142
|
-
updateinterval: {
|
|
2143
|
-
type: 'number',
|
|
2144
|
-
min: 2,
|
|
2145
|
-
max: 100000,
|
|
2146
|
-
xs: 12,
|
|
2147
|
-
sm: 6,
|
|
2148
|
-
md: 6,
|
|
2149
|
-
lg: 3,
|
|
2150
|
-
xl: 3,
|
|
2151
|
-
label: 'Update-Interval',
|
|
2152
|
-
help: 'in seconds',
|
|
2153
|
-
hideOnlyControl: false,
|
|
2154
|
-
},
|
|
2155
|
-
_headerLanguage: {
|
|
2156
|
-
type: 'header',
|
|
2157
|
-
text: 'Language',
|
|
2158
|
-
size: 2,
|
|
2159
|
-
},
|
|
2160
|
-
_textLanguage: {
|
|
2161
|
-
type: 'staticText',
|
|
2162
|
-
text: 'Here you can select the language for the tables and messages',
|
|
2163
|
-
xs: 12,
|
|
2164
|
-
sm: 12,
|
|
2165
|
-
md: 12,
|
|
2166
|
-
lg: 12,
|
|
2167
|
-
xl: 12,
|
|
2168
|
-
style: {
|
|
2169
|
-
fontSize: 16,
|
|
2170
|
-
marginBottom: 10,
|
|
2171
|
-
},
|
|
2172
|
-
},
|
|
2173
|
-
userSelectedLanguage: {
|
|
2174
|
-
type: 'language',
|
|
2175
|
-
system: false,
|
|
2176
|
-
xs: 12,
|
|
2177
|
-
sm: 6,
|
|
2178
|
-
md: 6,
|
|
2179
|
-
lg: 3,
|
|
2180
|
-
xl: 3,
|
|
2181
|
-
label: 'Language',
|
|
2182
|
-
},
|
|
2183
|
-
},
|
|
2184
|
-
},
|
|
2185
|
-
_expertSettings: {
|
|
2186
|
-
type: 'panel',
|
|
2187
|
-
label: 'Expert Settings',
|
|
2188
|
-
items: {
|
|
2189
|
-
_headerTimeInstances: {
|
|
2190
|
-
type: 'header',
|
|
2191
|
-
text: 'Deactivation and Error Time for Instances',
|
|
2192
|
-
size: 2,
|
|
2193
|
-
hidden: '!data.checkAdapterInstances',
|
|
2194
|
-
hideOnlyControl: false,
|
|
2195
|
-
},
|
|
2196
|
-
_textTimeInstances: {
|
|
2197
|
-
type: 'staticText',
|
|
2198
|
-
text: 'Define the global instance deactivation and error time. The default value is 20 seconds.',
|
|
2199
|
-
xs: 12,
|
|
2200
|
-
sm: 12,
|
|
2201
|
-
md: 12,
|
|
2202
|
-
lg: 12,
|
|
2203
|
-
xl: 12,
|
|
2204
|
-
hidden: '!data.checkAdapterInstances',
|
|
2205
|
-
hideOnlyControl: false,
|
|
2206
|
-
style: {
|
|
2207
|
-
fontSize: 16,
|
|
2208
|
-
marginBottom: 10,
|
|
2209
|
-
},
|
|
2210
|
-
},
|
|
2211
|
-
offlineTimeInstances: {
|
|
2212
|
-
type: 'number',
|
|
2213
|
-
min: 20,
|
|
2214
|
-
max: 100000,
|
|
2215
|
-
xs: 12,
|
|
2216
|
-
sm: 6,
|
|
2217
|
-
md: 6,
|
|
2218
|
-
lg: 3,
|
|
2219
|
-
xl: 3,
|
|
2220
|
-
label: 'Global deactivation time',
|
|
2221
|
-
help: 'in seconds',
|
|
2222
|
-
hidden: '!data.checkAdapterInstances',
|
|
2223
|
-
hideOnlyControl: false,
|
|
2224
|
-
},
|
|
2225
|
-
errorTimeInstances: {
|
|
2226
|
-
type: 'number',
|
|
2227
|
-
min: 20,
|
|
2228
|
-
max: 100000,
|
|
2229
|
-
xs: 12,
|
|
2230
|
-
sm: 6,
|
|
2231
|
-
md: 6,
|
|
2232
|
-
lg: 3,
|
|
2233
|
-
xl: 3,
|
|
2234
|
-
label: 'Global error time',
|
|
2235
|
-
help: 'in seconds',
|
|
2236
|
-
hidden: '!data.checkAdapterInstances',
|
|
2237
|
-
hideOnlyControl: false,
|
|
2238
|
-
},
|
|
2239
|
-
_divider: {
|
|
2240
|
-
newLine: true,
|
|
2241
|
-
type: 'divider',
|
|
2242
|
-
hidden: '!data.checkAdapterInstances',
|
|
2243
|
-
hideOnlyControl: false,
|
|
2244
|
-
},
|
|
2245
|
-
_textTableTimeInstances: {
|
|
2246
|
-
type: 'staticText',
|
|
2247
|
-
text: 'If necessary, set the deactivation and error time of each instance for yourself here. This setting overwrites the global setting for the selected instance.',
|
|
2248
|
-
xs: 12,
|
|
2249
|
-
sm: 12,
|
|
2250
|
-
md: 12,
|
|
2251
|
-
lg: 12,
|
|
2252
|
-
xl: 12,
|
|
2253
|
-
hidden: '!data.checkAdapterInstances',
|
|
2254
|
-
hideOnlyControl: false,
|
|
2255
|
-
style: {
|
|
2256
|
-
fontSize: 16,
|
|
2257
|
-
marginBottom: 10,
|
|
2258
|
-
},
|
|
2259
|
-
},
|
|
2260
|
-
tableTimeInstance: {
|
|
2261
|
-
type: 'table',
|
|
2262
|
-
xs: 12,
|
|
2263
|
-
sm: 12,
|
|
2264
|
-
md: 12,
|
|
2265
|
-
lg: 12,
|
|
2266
|
-
xl: 12,
|
|
2267
|
-
hidden: '!data.checkAdapterInstances',
|
|
2268
|
-
hideOnlyControl: false,
|
|
2269
|
-
confirm: {
|
|
2270
|
-
condition: '!_alive',
|
|
2271
|
-
title: 'Attention!',
|
|
2272
|
-
text: 'This selection is only possible with a running instance!',
|
|
2273
|
-
ok: 'Got it!',
|
|
2274
|
-
cancel: 'cancel',
|
|
2275
|
-
type: 'warning',
|
|
2276
|
-
},
|
|
2277
|
-
items: [
|
|
2278
|
-
{
|
|
2279
|
-
type: 'selectSendTo',
|
|
2280
|
-
title: 'Choose which instances should have a longer downtime',
|
|
2281
|
-
attr: 'instancesTime',
|
|
2282
|
-
filter: false,
|
|
2283
|
-
sort: false,
|
|
2284
|
-
jsonData: '{"instanceID":"${globalData.instanceID}","adapter":"${globalData.adapter}"}',
|
|
2285
|
-
command: 'instancesListTime',
|
|
2286
|
-
width: '60%',
|
|
792
|
+
lg: 3,
|
|
793
|
+
xl: 3,
|
|
2287
794
|
},
|
|
2288
|
-
{
|
|
2289
|
-
type: '
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
795
|
+
checkThursday: {
|
|
796
|
+
type: 'checkbox',
|
|
797
|
+
label: 'Thu',
|
|
798
|
+
xs: 12,
|
|
799
|
+
sm: 6,
|
|
800
|
+
md: 6,
|
|
801
|
+
lg: 3,
|
|
802
|
+
xl: 3,
|
|
2296
803
|
},
|
|
2297
|
-
{
|
|
2298
|
-
type: '
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
804
|
+
checkFriday: {
|
|
805
|
+
type: 'checkbox',
|
|
806
|
+
label: 'Fri',
|
|
807
|
+
xs: 12,
|
|
808
|
+
sm: 6,
|
|
809
|
+
md: 6,
|
|
810
|
+
lg: 3,
|
|
811
|
+
xl: 3,
|
|
812
|
+
},
|
|
813
|
+
checkSaturday: {
|
|
814
|
+
type: 'checkbox',
|
|
815
|
+
label: 'Sat',
|
|
816
|
+
xs: 12,
|
|
817
|
+
sm: 6,
|
|
818
|
+
md: 6,
|
|
819
|
+
lg: 3,
|
|
820
|
+
xl: 3,
|
|
821
|
+
},
|
|
822
|
+
checkSunday: {
|
|
823
|
+
type: 'checkbox',
|
|
824
|
+
label: 'Sun',
|
|
825
|
+
xs: 12,
|
|
826
|
+
sm: 6,
|
|
827
|
+
md: 6,
|
|
828
|
+
lg: 3,
|
|
829
|
+
xl: 3,
|
|
2305
830
|
},
|
|
2306
|
-
],
|
|
2307
|
-
},
|
|
2308
|
-
_headerOfflineTime: {
|
|
2309
|
-
type: 'header',
|
|
2310
|
-
text: 'Offline Time for devices/services',
|
|
2311
|
-
size: 2,
|
|
2312
|
-
},
|
|
2313
|
-
_textOfflineTime: {
|
|
2314
|
-
type: 'staticText',
|
|
2315
|
-
text: "Here you can define the offline times of each adapter. If you want to use the data points of the devices/services (online, available, reachable etc.) directly to determine the status, enter ' 0 '.",
|
|
2316
|
-
xs: 12,
|
|
2317
|
-
sm: 12,
|
|
2318
|
-
md: 12,
|
|
2319
|
-
lg: 12,
|
|
2320
|
-
xl: 12,
|
|
2321
|
-
style: {
|
|
2322
|
-
fontSize: 16,
|
|
2323
|
-
marginBottom: 10,
|
|
2324
831
|
},
|
|
2325
832
|
},
|
|
2326
|
-
|
|
2327
|
-
type: '
|
|
2328
|
-
min: -1,
|
|
2329
|
-
max: 100000,
|
|
2330
|
-
xs: 12,
|
|
2331
|
-
sm: 6,
|
|
2332
|
-
md: 6,
|
|
2333
|
-
lg: 3,
|
|
2334
|
-
xl: 3,
|
|
2335
|
-
label: 'Alexa2',
|
|
2336
|
-
help: 'in minutes',
|
|
2337
|
-
hidden: '!data.alexa2Devices',
|
|
2338
|
-
hideOnlyControl: false,
|
|
2339
|
-
},
|
|
2340
|
-
apcupsMaxMinutes: {
|
|
2341
|
-
type: 'number',
|
|
2342
|
-
min: -1,
|
|
2343
|
-
max: 100000,
|
|
2344
|
-
xs: 12,
|
|
2345
|
-
sm: 6,
|
|
2346
|
-
md: 6,
|
|
2347
|
-
lg: 3,
|
|
2348
|
-
xl: 3,
|
|
2349
|
-
label: 'Apc UPS',
|
|
2350
|
-
help: 'in minutes',
|
|
2351
|
-
hidden: '!data.apcupsDevices',
|
|
2352
|
-
hideOnlyControl: false,
|
|
2353
|
-
},
|
|
2354
|
-
bleMaxMinutes: {
|
|
2355
|
-
type: 'number',
|
|
2356
|
-
min: 1,
|
|
2357
|
-
max: 100000,
|
|
833
|
+
_checkSendBatteryTime: {
|
|
834
|
+
type: 'panel',
|
|
2358
835
|
xs: 12,
|
|
2359
|
-
sm:
|
|
836
|
+
sm: 12,
|
|
2360
837
|
md: 6,
|
|
2361
|
-
lg:
|
|
2362
|
-
xl:
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
838
|
+
lg: 6,
|
|
839
|
+
xl: 6,
|
|
840
|
+
hidden: '!data.checkSendBatteryMsgDaily',
|
|
841
|
+
hideOnlyControl: true,
|
|
842
|
+
items: {
|
|
843
|
+
_textTime: {
|
|
844
|
+
type: 'staticText',
|
|
845
|
+
text: 'Choose the Time:',
|
|
846
|
+
style: {
|
|
847
|
+
fontSize: 16,
|
|
848
|
+
marginTop: 20,
|
|
849
|
+
},
|
|
850
|
+
xs: 12,
|
|
851
|
+
sm: 12,
|
|
852
|
+
md: 6,
|
|
853
|
+
lg: 6,
|
|
854
|
+
xl: 6,
|
|
855
|
+
},
|
|
856
|
+
checkSendBatteryTime: {
|
|
857
|
+
newLine: true,
|
|
858
|
+
type: 'text',
|
|
859
|
+
help: 'Format hh:mm',
|
|
860
|
+
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendBatteryTime; if(timePattern.test(value)) return true;return false;',
|
|
861
|
+
validatorNoSaveOnError: true,
|
|
862
|
+
xs: 12,
|
|
863
|
+
sm: 12,
|
|
864
|
+
md: 6,
|
|
865
|
+
lg: 6,
|
|
866
|
+
xl: 6,
|
|
867
|
+
},
|
|
868
|
+
},
|
|
2367
869
|
},
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
max: 100000,
|
|
2372
|
-
xs: 12,
|
|
2373
|
-
sm: 6,
|
|
2374
|
-
md: 6,
|
|
2375
|
-
lg: 3,
|
|
2376
|
-
xl: 3,
|
|
2377
|
-
label: 'Deconz',
|
|
2378
|
-
help: 'in minutes',
|
|
2379
|
-
hidden: '!data.deconzDevices',
|
|
2380
|
-
hideOnlyControl: false,
|
|
870
|
+
_trennerZwei: {
|
|
871
|
+
newLine: true,
|
|
872
|
+
type: 'divider',
|
|
2381
873
|
},
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
max: 100000,
|
|
874
|
+
checkSendDeviceUpgrade: {
|
|
875
|
+
newLine: true,
|
|
876
|
+
type: 'checkbox',
|
|
2386
877
|
xs: 12,
|
|
2387
|
-
sm:
|
|
878
|
+
sm: 12,
|
|
2388
879
|
md: 6,
|
|
2389
|
-
lg:
|
|
2390
|
-
xl:
|
|
2391
|
-
label: '
|
|
2392
|
-
help: '
|
|
2393
|
-
hidden: '!data.ecovacsdeebotDevices',
|
|
2394
|
-
hideOnlyControl: false,
|
|
880
|
+
lg: 6,
|
|
881
|
+
xl: 6,
|
|
882
|
+
label: 'Device update message',
|
|
883
|
+
help: 'Receive a message when an update for an device is available',
|
|
2395
884
|
},
|
|
2396
|
-
|
|
2397
|
-
type: '
|
|
2398
|
-
min: 1,
|
|
2399
|
-
max: 100000,
|
|
885
|
+
checkSendUpgradeMsgDaily: {
|
|
886
|
+
type: 'checkbox',
|
|
2400
887
|
xs: 12,
|
|
2401
|
-
sm:
|
|
888
|
+
sm: 12,
|
|
2402
889
|
md: 6,
|
|
2403
|
-
lg:
|
|
2404
|
-
xl:
|
|
2405
|
-
label: '
|
|
2406
|
-
help: '
|
|
2407
|
-
hidden: '!data.enoceanDevices',
|
|
2408
|
-
hideOnlyControl: false,
|
|
890
|
+
lg: 6,
|
|
891
|
+
xl: 6,
|
|
892
|
+
label: 'Overview of devices with update',
|
|
893
|
+
help: 'Get a message with an overview all devices with update',
|
|
2409
894
|
},
|
|
2410
|
-
|
|
2411
|
-
type: '
|
|
2412
|
-
|
|
2413
|
-
max: 100000,
|
|
895
|
+
_sendIntervallUpgradeDay: {
|
|
896
|
+
type: 'panel',
|
|
897
|
+
newLine: true,
|
|
2414
898
|
xs: 12,
|
|
2415
|
-
sm:
|
|
899
|
+
sm: 12,
|
|
2416
900
|
md: 6,
|
|
2417
|
-
lg:
|
|
2418
|
-
xl:
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
901
|
+
lg: 6,
|
|
902
|
+
xl: 6,
|
|
903
|
+
hidden: '!data.checkSendUpgradeMsgDaily',
|
|
904
|
+
hideOnlyControl: true,
|
|
905
|
+
items: {
|
|
906
|
+
_textDays: {
|
|
907
|
+
type: 'staticText',
|
|
908
|
+
text: 'Choose the day(s) where you want to get the overview of update devices:',
|
|
909
|
+
style: {
|
|
910
|
+
fontSize: 16,
|
|
911
|
+
marginTop: 20,
|
|
912
|
+
},
|
|
913
|
+
xs: 12,
|
|
914
|
+
sm: 12,
|
|
915
|
+
md: 6,
|
|
916
|
+
lg: 6,
|
|
917
|
+
xl: 6,
|
|
918
|
+
},
|
|
919
|
+
checkUpgradeMonday: {
|
|
920
|
+
newLine: true,
|
|
921
|
+
type: 'checkbox',
|
|
922
|
+
label: 'Mon',
|
|
923
|
+
xs: 12,
|
|
924
|
+
sm: 6,
|
|
925
|
+
md: 6,
|
|
926
|
+
lg: 3,
|
|
927
|
+
xl: 3,
|
|
928
|
+
},
|
|
929
|
+
checkUpgradeTuesday: {
|
|
930
|
+
type: 'checkbox',
|
|
931
|
+
label: 'Tue',
|
|
932
|
+
xs: 12,
|
|
933
|
+
sm: 6,
|
|
934
|
+
md: 6,
|
|
935
|
+
lg: 3,
|
|
936
|
+
xl: 3,
|
|
937
|
+
},
|
|
938
|
+
checkUpgradeWednesday: {
|
|
939
|
+
type: 'checkbox',
|
|
940
|
+
label: 'Wed',
|
|
941
|
+
xs: 12,
|
|
942
|
+
sm: 6,
|
|
943
|
+
md: 6,
|
|
944
|
+
lg: 3,
|
|
945
|
+
xl: 3,
|
|
946
|
+
},
|
|
947
|
+
checkUpgradeThursday: {
|
|
948
|
+
type: 'checkbox',
|
|
949
|
+
label: 'Thu',
|
|
950
|
+
xs: 12,
|
|
951
|
+
sm: 6,
|
|
952
|
+
md: 6,
|
|
953
|
+
lg: 3,
|
|
954
|
+
xl: 3,
|
|
955
|
+
},
|
|
956
|
+
checkUpgradeFriday: {
|
|
957
|
+
type: 'checkbox',
|
|
958
|
+
label: 'Fri',
|
|
959
|
+
xs: 12,
|
|
960
|
+
sm: 6,
|
|
961
|
+
md: 6,
|
|
962
|
+
lg: 3,
|
|
963
|
+
xl: 3,
|
|
964
|
+
},
|
|
965
|
+
checkUpgradeSaturday: {
|
|
966
|
+
type: 'checkbox',
|
|
967
|
+
label: 'Sat',
|
|
968
|
+
xs: 12,
|
|
969
|
+
sm: 6,
|
|
970
|
+
md: 6,
|
|
971
|
+
lg: 3,
|
|
972
|
+
xl: 3,
|
|
973
|
+
},
|
|
974
|
+
checkUpgradeSunday: {
|
|
975
|
+
type: 'checkbox',
|
|
976
|
+
label: 'Sun',
|
|
977
|
+
xs: 12,
|
|
978
|
+
sm: 6,
|
|
979
|
+
md: 6,
|
|
980
|
+
lg: 3,
|
|
981
|
+
xl: 3,
|
|
982
|
+
},
|
|
983
|
+
},
|
|
2423
984
|
},
|
|
2424
|
-
|
|
2425
|
-
type: '
|
|
2426
|
-
min: 1,
|
|
2427
|
-
max: 100000,
|
|
985
|
+
_sendIntervallUpgradeTime: {
|
|
986
|
+
type: 'panel',
|
|
2428
987
|
xs: 12,
|
|
2429
|
-
sm:
|
|
988
|
+
sm: 12,
|
|
2430
989
|
md: 6,
|
|
2431
|
-
lg:
|
|
2432
|
-
xl:
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
990
|
+
lg: 6,
|
|
991
|
+
xl: 6,
|
|
992
|
+
hidden: '!data.checkSendUpgradeMsgDaily',
|
|
993
|
+
hideOnlyControl: true,
|
|
994
|
+
items: {
|
|
995
|
+
_textTime: {
|
|
996
|
+
type: 'staticText',
|
|
997
|
+
text: 'Choose the Time:',
|
|
998
|
+
style: {
|
|
999
|
+
fontSize: 16,
|
|
1000
|
+
marginTop: 20,
|
|
1001
|
+
},
|
|
1002
|
+
xs: 12,
|
|
1003
|
+
sm: 12,
|
|
1004
|
+
md: 6,
|
|
1005
|
+
lg: 6,
|
|
1006
|
+
xl: 6,
|
|
1007
|
+
},
|
|
1008
|
+
checkSendUpgradeTime: {
|
|
1009
|
+
newLine: true,
|
|
1010
|
+
type: 'text',
|
|
1011
|
+
help: 'Format hh:mm',
|
|
1012
|
+
validator: 'const timePattern = /^(?:[01]\\d|2[0-3]):[0-5]\\d$/; const value = data.checkSendUpgradeTime; if(timePattern.test(value)) return true;return false;',
|
|
1013
|
+
validatorNoSaveOnError: true,
|
|
1014
|
+
xs: 12,
|
|
1015
|
+
sm: 12,
|
|
1016
|
+
md: 6,
|
|
1017
|
+
lg: 6,
|
|
1018
|
+
xl: 6,
|
|
1019
|
+
},
|
|
1020
|
+
},
|
|
2437
1021
|
},
|
|
2438
|
-
|
|
2439
|
-
type: '
|
|
2440
|
-
|
|
2441
|
-
|
|
1022
|
+
_headerOtherSettings: {
|
|
1023
|
+
type: 'header',
|
|
1024
|
+
text: 'Other Notification Settings',
|
|
1025
|
+
size: 2,
|
|
1026
|
+
hidden: '!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade && !data.checkSendUpgradeMsgDaily',
|
|
1027
|
+
},
|
|
1028
|
+
showAdapterNameinMsg: {
|
|
1029
|
+
newLine: true,
|
|
1030
|
+
type: 'checkbox',
|
|
2442
1031
|
xs: 12,
|
|
2443
|
-
sm:
|
|
1032
|
+
sm: 12,
|
|
2444
1033
|
md: 6,
|
|
2445
|
-
lg:
|
|
2446
|
-
xl:
|
|
2447
|
-
label: '
|
|
2448
|
-
help: '
|
|
2449
|
-
hidden: '!data.
|
|
2450
|
-
hideOnlyControl: false,
|
|
1034
|
+
lg: 6,
|
|
1035
|
+
xl: 6,
|
|
1036
|
+
label: 'Add adapter name in notifications',
|
|
1037
|
+
help: 'Will add the adaptername from the device',
|
|
1038
|
+
hidden: '!data.checkSendBatteryMsg && !data.checkSendBatteryMsgDaily && !data.checkSendOfflineMsgDaily && !data.checkSendOfflineMsg && !data.checkSendDeviceUpgrade && !data.checkSendUpgradeMsgDaily',
|
|
2451
1039
|
},
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
1040
|
+
},
|
|
1041
|
+
},
|
|
1042
|
+
_notificationServices: {
|
|
1043
|
+
type: 'panel',
|
|
1044
|
+
label: 'Notification Service',
|
|
1045
|
+
items: {
|
|
1046
|
+
_headerMSGservice: {
|
|
1047
|
+
newLine: true,
|
|
1048
|
+
type: 'header',
|
|
1049
|
+
text: 'Notification Service',
|
|
1050
|
+
size: 2,
|
|
1051
|
+
},
|
|
1052
|
+
_msgServiceText: {
|
|
1053
|
+
type: 'staticText',
|
|
1054
|
+
text: 'Here you can choose your notification service, you can use more than one service, but you can also leave all blank, then only the datapoint lastNotification will be filled.',
|
|
1055
|
+
style: {
|
|
1056
|
+
fontSize: 16,
|
|
1057
|
+
marginTop: 20,
|
|
1058
|
+
},
|
|
2456
1059
|
xs: 12,
|
|
2457
|
-
sm:
|
|
1060
|
+
sm: 12,
|
|
2458
1061
|
md: 6,
|
|
2459
|
-
lg:
|
|
2460
|
-
xl:
|
|
2461
|
-
label: 'FritzDect',
|
|
2462
|
-
help: 'in minutes',
|
|
2463
|
-
hidden: '!data.fritzdectDevices',
|
|
2464
|
-
hideOnlyControl: false,
|
|
1062
|
+
lg: 6,
|
|
1063
|
+
xl: 6,
|
|
2465
1064
|
},
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
1065
|
+
msgService: {
|
|
1066
|
+
newLine: true,
|
|
1067
|
+
type: 'select',
|
|
1068
|
+
help: 'Choose your notification services',
|
|
1069
|
+
options: [
|
|
1070
|
+
{ label: 'Please choose', value: 'none' },
|
|
1071
|
+
{ label: 'E-Mail', value: 'email' },
|
|
1072
|
+
{ label: 'Jarvis', value: 'jarvis' },
|
|
1073
|
+
{ label: 'Lovelace', value: 'lovelace' },
|
|
1074
|
+
{ label: 'Matrix', value: 'matrix' },
|
|
1075
|
+
{ label: 'Pushover', value: 'pushover' },
|
|
1076
|
+
{ label: 'Signal', value: 'signal' },
|
|
1077
|
+
{ label: 'Synochat', value: 'synochat' },
|
|
1078
|
+
{ label: 'Telegram', value: 'telegram' },
|
|
1079
|
+
{ label: 'Whatsapp', value: 'whatsapp' },
|
|
1080
|
+
],
|
|
1081
|
+
default: 'none',
|
|
2470
1082
|
xs: 12,
|
|
2471
|
-
sm:
|
|
2472
|
-
md:
|
|
2473
|
-
lg:
|
|
2474
|
-
xl:
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
1083
|
+
sm: 12,
|
|
1084
|
+
md: 4,
|
|
1085
|
+
lg: 4,
|
|
1086
|
+
xl: 4,
|
|
1087
|
+
},
|
|
1088
|
+
_headerEmail: {
|
|
1089
|
+
newLine: true,
|
|
1090
|
+
type: 'header',
|
|
1091
|
+
text: 'Email',
|
|
1092
|
+
size: 2,
|
|
1093
|
+
hidden: "data.msgService !== 'email' && !data.instanceEmail",
|
|
2478
1094
|
hideOnlyControl: false,
|
|
2479
1095
|
},
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
1096
|
+
instanceEmail: {
|
|
1097
|
+
newLine: true,
|
|
1098
|
+
type: 'instance',
|
|
1099
|
+
adapter: 'email',
|
|
1100
|
+
all: false,
|
|
2484
1101
|
xs: 12,
|
|
2485
|
-
sm:
|
|
2486
|
-
md:
|
|
2487
|
-
lg:
|
|
2488
|
-
xl:
|
|
2489
|
-
label: '
|
|
2490
|
-
help: '
|
|
2491
|
-
hidden: '!data.
|
|
1102
|
+
sm: 12,
|
|
1103
|
+
md: 4,
|
|
1104
|
+
lg: 4,
|
|
1105
|
+
xl: 4,
|
|
1106
|
+
label: 'Email Instance',
|
|
1107
|
+
help: 'Please choose the email instance',
|
|
1108
|
+
hidden: "data.msgService !== 'email' && !data.instanceEmail",
|
|
2492
1109
|
hideOnlyControl: false,
|
|
2493
1110
|
},
|
|
2494
|
-
|
|
2495
|
-
type: '
|
|
2496
|
-
min: -1,
|
|
2497
|
-
max: 100000,
|
|
1111
|
+
sendToEmail: {
|
|
1112
|
+
type: 'text',
|
|
2498
1113
|
xs: 12,
|
|
2499
|
-
sm:
|
|
2500
|
-
md:
|
|
2501
|
-
lg:
|
|
2502
|
-
xl:
|
|
2503
|
-
label: '
|
|
2504
|
-
help: '
|
|
2505
|
-
hidden: '!data.
|
|
1114
|
+
sm: 12,
|
|
1115
|
+
md: 4,
|
|
1116
|
+
lg: 4,
|
|
1117
|
+
xl: 4,
|
|
1118
|
+
label: 'Send to (optional)',
|
|
1119
|
+
help: 'Choose your email address',
|
|
1120
|
+
hidden: "data.msgService !== 'email' && !data.instanceEmail",
|
|
2506
1121
|
hideOnlyControl: false,
|
|
2507
1122
|
},
|
|
2508
|
-
|
|
2509
|
-
type: '
|
|
2510
|
-
min: 1,
|
|
2511
|
-
max: 100000,
|
|
1123
|
+
subjectEmail: {
|
|
1124
|
+
type: 'text',
|
|
2512
1125
|
xs: 12,
|
|
2513
|
-
sm:
|
|
2514
|
-
md:
|
|
2515
|
-
lg:
|
|
2516
|
-
xl:
|
|
2517
|
-
label: '
|
|
2518
|
-
help: '
|
|
2519
|
-
hidden: '!data.
|
|
1126
|
+
sm: 12,
|
|
1127
|
+
md: 4,
|
|
1128
|
+
lg: 4,
|
|
1129
|
+
xl: 4,
|
|
1130
|
+
label: 'Subject (optional)',
|
|
1131
|
+
help: 'Choose your subject for the Email',
|
|
1132
|
+
hidden: "data.msgService !== 'email' && !data.instanceEmail",
|
|
2520
1133
|
hideOnlyControl: false,
|
|
2521
1134
|
},
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
md: 6,
|
|
2529
|
-
lg: 3,
|
|
2530
|
-
xl: 3,
|
|
2531
|
-
label: 'Harmony',
|
|
2532
|
-
help: 'in minutes',
|
|
2533
|
-
hidden: '!data.harmonyDevices',
|
|
1135
|
+
headerJarvis: {
|
|
1136
|
+
newLine: true,
|
|
1137
|
+
type: 'header',
|
|
1138
|
+
text: 'Jarvis Notification',
|
|
1139
|
+
size: 2,
|
|
1140
|
+
hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
|
|
2534
1141
|
hideOnlyControl: false,
|
|
2535
1142
|
},
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
1143
|
+
instanceJarvis: {
|
|
1144
|
+
newLine: true,
|
|
1145
|
+
type: 'instance',
|
|
1146
|
+
adapter: 'jarvis',
|
|
1147
|
+
all: false,
|
|
2540
1148
|
xs: 12,
|
|
2541
|
-
sm:
|
|
2542
|
-
md:
|
|
2543
|
-
lg:
|
|
2544
|
-
xl:
|
|
2545
|
-
label: '
|
|
2546
|
-
help: '
|
|
2547
|
-
hidden: '!data.
|
|
1149
|
+
sm: 12,
|
|
1150
|
+
md: 4,
|
|
1151
|
+
lg: 4,
|
|
1152
|
+
xl: 4,
|
|
1153
|
+
label: 'Jarvis Instance',
|
|
1154
|
+
help: 'Please choose the jarvis instance',
|
|
1155
|
+
hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
|
|
2548
1156
|
hideOnlyControl: false,
|
|
2549
1157
|
},
|
|
2550
|
-
|
|
2551
|
-
type: '
|
|
2552
|
-
min: -1,
|
|
2553
|
-
max: 100000,
|
|
1158
|
+
titleJarvis: {
|
|
1159
|
+
type: 'text',
|
|
2554
1160
|
xs: 12,
|
|
2555
|
-
sm:
|
|
2556
|
-
md:
|
|
2557
|
-
lg:
|
|
2558
|
-
xl:
|
|
2559
|
-
label: '
|
|
2560
|
-
help: '
|
|
2561
|
-
hidden: '!data.
|
|
1161
|
+
sm: 12,
|
|
1162
|
+
md: 4,
|
|
1163
|
+
lg: 4,
|
|
1164
|
+
xl: 4,
|
|
1165
|
+
label: 'Title (optional)',
|
|
1166
|
+
help: 'Choose your title for Pushmessage',
|
|
1167
|
+
hidden: "data.msgService !== 'jarvis' && !data.instanceJarvis",
|
|
2562
1168
|
hideOnlyControl: false,
|
|
2563
1169
|
},
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
md: 6,
|
|
2571
|
-
lg: 3,
|
|
2572
|
-
xl: 3,
|
|
2573
|
-
label: 'Home Connect',
|
|
2574
|
-
help: 'in minutes',
|
|
2575
|
-
hidden: '!data.homeconnectDevices',
|
|
1170
|
+
headerLovelace: {
|
|
1171
|
+
newLine: true,
|
|
1172
|
+
type: 'header',
|
|
1173
|
+
text: 'Lovelace Notification',
|
|
1174
|
+
size: 2,
|
|
1175
|
+
hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
|
|
2576
1176
|
hideOnlyControl: false,
|
|
2577
1177
|
},
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
1178
|
+
instanceLovelace: {
|
|
1179
|
+
newLine: true,
|
|
1180
|
+
type: 'instance',
|
|
1181
|
+
adapter: 'lovelace',
|
|
1182
|
+
all: false,
|
|
2582
1183
|
xs: 12,
|
|
2583
|
-
sm:
|
|
2584
|
-
md:
|
|
2585
|
-
lg:
|
|
2586
|
-
xl:
|
|
2587
|
-
label: '
|
|
2588
|
-
help: '
|
|
2589
|
-
hidden: '!data.
|
|
1184
|
+
sm: 12,
|
|
1185
|
+
md: 4,
|
|
1186
|
+
lg: 4,
|
|
1187
|
+
xl: 4,
|
|
1188
|
+
label: 'Lovelace Instance',
|
|
1189
|
+
help: 'Please choose the lovelace instance',
|
|
1190
|
+
hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
|
|
2590
1191
|
hideOnlyControl: false,
|
|
2591
1192
|
},
|
|
2592
|
-
|
|
2593
|
-
type: '
|
|
2594
|
-
min: 1,
|
|
2595
|
-
max: 100000,
|
|
1193
|
+
titleLovelace: {
|
|
1194
|
+
type: 'text',
|
|
2596
1195
|
xs: 12,
|
|
2597
|
-
sm:
|
|
2598
|
-
md:
|
|
2599
|
-
lg:
|
|
2600
|
-
xl:
|
|
2601
|
-
label: '
|
|
2602
|
-
help: '
|
|
2603
|
-
hidden: '!data.
|
|
1196
|
+
sm: 12,
|
|
1197
|
+
md: 4,
|
|
1198
|
+
lg: 4,
|
|
1199
|
+
xl: 4,
|
|
1200
|
+
label: 'Title (optional)',
|
|
1201
|
+
help: 'Choose your title for Pushmessage',
|
|
1202
|
+
hidden: "data.msgService !== 'lovelace' && !data.instanceLovelace",
|
|
2604
1203
|
hideOnlyControl: false,
|
|
2605
1204
|
},
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
md: 6,
|
|
2613
|
-
lg: 3,
|
|
2614
|
-
xl: 3,
|
|
2615
|
-
label: 'Hue',
|
|
2616
|
-
help: 'in minutes',
|
|
2617
|
-
hidden: '!data.hueDevices',
|
|
1205
|
+
headerMatrix: {
|
|
1206
|
+
newLine: true,
|
|
1207
|
+
type: 'header',
|
|
1208
|
+
text: 'Matrix',
|
|
1209
|
+
size: 2,
|
|
1210
|
+
hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
|
|
2618
1211
|
hideOnlyControl: false,
|
|
2619
1212
|
},
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
1213
|
+
instanceMatrix: {
|
|
1214
|
+
newLine: true,
|
|
1215
|
+
type: 'instance',
|
|
1216
|
+
adapter: 'matrix-org',
|
|
1217
|
+
all: false,
|
|
2624
1218
|
xs: 12,
|
|
2625
|
-
sm:
|
|
2626
|
-
md:
|
|
2627
|
-
lg:
|
|
2628
|
-
xl:
|
|
2629
|
-
label: '
|
|
2630
|
-
help: '
|
|
2631
|
-
hidden: '!data.
|
|
1219
|
+
sm: 12,
|
|
1220
|
+
md: 4,
|
|
1221
|
+
lg: 4,
|
|
1222
|
+
xl: 4,
|
|
1223
|
+
label: 'Matrix Instance',
|
|
1224
|
+
help: 'Please choose the matrix instance',
|
|
1225
|
+
hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
|
|
2632
1226
|
hideOnlyControl: false,
|
|
2633
1227
|
},
|
|
2634
|
-
|
|
2635
|
-
type: '
|
|
2636
|
-
min: 0,
|
|
2637
|
-
max: 100000,
|
|
1228
|
+
titleMatrix: {
|
|
1229
|
+
type: 'text',
|
|
2638
1230
|
xs: 12,
|
|
2639
|
-
sm:
|
|
2640
|
-
md:
|
|
2641
|
-
lg:
|
|
2642
|
-
xl:
|
|
2643
|
-
label: '
|
|
2644
|
-
help: '
|
|
2645
|
-
hidden: '!data.
|
|
1231
|
+
sm: 12,
|
|
1232
|
+
md: 4,
|
|
1233
|
+
lg: 4,
|
|
1234
|
+
xl: 4,
|
|
1235
|
+
label: 'Title (optional)',
|
|
1236
|
+
help: 'Choose your title for message',
|
|
1237
|
+
hidden: "data.msgService !== 'matrix' && !data.instanceMatrix",
|
|
2646
1238
|
hideOnlyControl: false,
|
|
2647
1239
|
},
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
md: 6,
|
|
2655
|
-
lg: 3,
|
|
2656
|
-
xl: 3,
|
|
2657
|
-
label: 'Jeelink',
|
|
2658
|
-
help: 'in minutes',
|
|
2659
|
-
hidden: '!data.jeelinkDevices',
|
|
1240
|
+
_headerPushover: {
|
|
1241
|
+
newLine: true,
|
|
1242
|
+
type: 'header',
|
|
1243
|
+
text: 'Pushover',
|
|
1244
|
+
size: 2,
|
|
1245
|
+
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
2660
1246
|
hideOnlyControl: false,
|
|
2661
1247
|
},
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
1248
|
+
instancePushover: {
|
|
1249
|
+
newLine: true,
|
|
1250
|
+
type: 'instance',
|
|
1251
|
+
adapter: 'pushover',
|
|
1252
|
+
all: false,
|
|
2666
1253
|
xs: 12,
|
|
2667
|
-
sm:
|
|
2668
|
-
md:
|
|
2669
|
-
lg:
|
|
2670
|
-
xl:
|
|
2671
|
-
label: '
|
|
2672
|
-
help: '
|
|
2673
|
-
hidden: '!data.
|
|
1254
|
+
sm: 12,
|
|
1255
|
+
md: 4,
|
|
1256
|
+
lg: 4,
|
|
1257
|
+
xl: 4,
|
|
1258
|
+
label: 'Pushover Instance',
|
|
1259
|
+
help: 'Please choose the pushover instance',
|
|
1260
|
+
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
2674
1261
|
hideOnlyControl: false,
|
|
2675
1262
|
},
|
|
2676
|
-
|
|
2677
|
-
type: '
|
|
2678
|
-
min: -1,
|
|
2679
|
-
max: 100000,
|
|
1263
|
+
userPushover: {
|
|
1264
|
+
type: 'text',
|
|
2680
1265
|
xs: 12,
|
|
2681
|
-
sm:
|
|
2682
|
-
md:
|
|
2683
|
-
lg:
|
|
2684
|
-
xl:
|
|
2685
|
-
label: '
|
|
2686
|
-
help: '
|
|
2687
|
-
hidden: '!data.
|
|
1266
|
+
sm: 12,
|
|
1267
|
+
md: 4,
|
|
1268
|
+
lg: 4,
|
|
1269
|
+
xl: 4,
|
|
1270
|
+
label: 'User/Group key (optional)',
|
|
1271
|
+
help: 'Choose your User/Group key for Pushmessage',
|
|
1272
|
+
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
2688
1273
|
hideOnlyControl: false,
|
|
2689
1274
|
},
|
|
2690
|
-
|
|
2691
|
-
type: '
|
|
2692
|
-
min: -1,
|
|
2693
|
-
max: 100000,
|
|
1275
|
+
devicePushover: {
|
|
1276
|
+
type: 'text',
|
|
2694
1277
|
xs: 12,
|
|
2695
|
-
sm:
|
|
2696
|
-
md:
|
|
2697
|
-
lg:
|
|
2698
|
-
xl:
|
|
2699
|
-
label: '
|
|
2700
|
-
help: '
|
|
2701
|
-
hidden: '!data.
|
|
1278
|
+
sm: 12,
|
|
1279
|
+
md: 4,
|
|
1280
|
+
lg: 4,
|
|
1281
|
+
xl: 4,
|
|
1282
|
+
label: 'Device-ID (optional)',
|
|
1283
|
+
help: 'Choose your device',
|
|
1284
|
+
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
2702
1285
|
hideOnlyControl: false,
|
|
2703
1286
|
},
|
|
2704
|
-
|
|
2705
|
-
type: '
|
|
2706
|
-
min: -1,
|
|
2707
|
-
max: 100000,
|
|
1287
|
+
prioPushover: {
|
|
1288
|
+
type: 'select',
|
|
2708
1289
|
xs: 12,
|
|
2709
|
-
sm:
|
|
2710
|
-
md:
|
|
2711
|
-
lg:
|
|
2712
|
-
xl:
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
1290
|
+
sm: 12,
|
|
1291
|
+
md: 4,
|
|
1292
|
+
lg: 4,
|
|
1293
|
+
xl: 4,
|
|
1294
|
+
help: 'Choose the priority',
|
|
1295
|
+
options: [
|
|
1296
|
+
{ label: 'Normal', value: '' },
|
|
1297
|
+
{ label: 'High Priority', value: 1 },
|
|
1298
|
+
{ label: 'Silent', value: -1 },
|
|
1299
|
+
{ label: 'With confirmation', value: 2 },
|
|
1300
|
+
],
|
|
1301
|
+
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
2716
1302
|
hideOnlyControl: false,
|
|
2717
1303
|
},
|
|
2718
|
-
|
|
2719
|
-
type: '
|
|
2720
|
-
min: 1,
|
|
2721
|
-
max: 100000,
|
|
1304
|
+
titlePushover: {
|
|
1305
|
+
type: 'text',
|
|
2722
1306
|
xs: 12,
|
|
2723
|
-
sm:
|
|
2724
|
-
md:
|
|
2725
|
-
lg:
|
|
2726
|
-
xl:
|
|
2727
|
-
label: '
|
|
2728
|
-
help: '
|
|
2729
|
-
hidden: '!data.
|
|
1307
|
+
sm: 12,
|
|
1308
|
+
md: 4,
|
|
1309
|
+
lg: 4,
|
|
1310
|
+
xl: 4,
|
|
1311
|
+
label: 'Title (optional)',
|
|
1312
|
+
help: 'Choose your title for Pushmessage',
|
|
1313
|
+
hidden: "data.msgService !== 'pushover' && !data.instancePushover",
|
|
2730
1314
|
hideOnlyControl: false,
|
|
2731
1315
|
},
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
md: 6,
|
|
2739
|
-
lg: 3,
|
|
2740
|
-
xl: 3,
|
|
2741
|
-
label: 'MiHome Gateway',
|
|
2742
|
-
help: 'in minutes',
|
|
2743
|
-
hidden: '!data.mihomeDevices',
|
|
1316
|
+
headerSignal: {
|
|
1317
|
+
newLine: true,
|
|
1318
|
+
type: 'header',
|
|
1319
|
+
text: 'Signal',
|
|
1320
|
+
size: 2,
|
|
1321
|
+
hidden: "data.msgService !== 'signal' && !data.instanceSignal",
|
|
2744
1322
|
hideOnlyControl: false,
|
|
2745
1323
|
},
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
1324
|
+
instanceSignal: {
|
|
1325
|
+
newLine: true,
|
|
1326
|
+
type: 'instance',
|
|
1327
|
+
adapter: 'signal-cmb',
|
|
1328
|
+
all: false,
|
|
2750
1329
|
xs: 12,
|
|
2751
|
-
sm:
|
|
2752
|
-
md:
|
|
2753
|
-
lg:
|
|
2754
|
-
xl:
|
|
2755
|
-
label: '
|
|
2756
|
-
help: '
|
|
2757
|
-
hidden: '!data.
|
|
1330
|
+
sm: 12,
|
|
1331
|
+
md: 4,
|
|
1332
|
+
lg: 4,
|
|
1333
|
+
xl: 4,
|
|
1334
|
+
label: 'Signal Instance',
|
|
1335
|
+
help: 'Please choose the Signal instance',
|
|
1336
|
+
hidden: "data.msgService !== 'signal' && !data.instanceSignal",
|
|
2758
1337
|
hideOnlyControl: false,
|
|
2759
1338
|
},
|
|
2760
|
-
|
|
2761
|
-
type: '
|
|
2762
|
-
min: -1,
|
|
2763
|
-
max: 100000,
|
|
1339
|
+
phonSignal: {
|
|
1340
|
+
type: 'text',
|
|
2764
1341
|
xs: 12,
|
|
2765
|
-
sm:
|
|
2766
|
-
md:
|
|
2767
|
-
lg:
|
|
2768
|
-
xl:
|
|
2769
|
-
label: '
|
|
2770
|
-
help: '
|
|
2771
|
-
hidden: '!data.
|
|
1342
|
+
sm: 12,
|
|
1343
|
+
md: 4,
|
|
1344
|
+
lg: 4,
|
|
1345
|
+
xl: 4,
|
|
1346
|
+
label: 'Recipient (optional)',
|
|
1347
|
+
help: 'Choose your recipient',
|
|
1348
|
+
hidden: "data.msgService !== 'signal' && !data.instanceSignal",
|
|
2772
1349
|
hideOnlyControl: false,
|
|
2773
1350
|
},
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
1351
|
+
headerSynochat: {
|
|
1352
|
+
newLine: true,
|
|
1353
|
+
type: 'header',
|
|
1354
|
+
text: 'Synochat',
|
|
1355
|
+
size: 2,
|
|
1356
|
+
hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
|
|
1357
|
+
hideOnlyControl: false,
|
|
1358
|
+
},
|
|
1359
|
+
instanceSynochat: {
|
|
1360
|
+
newLine: true,
|
|
1361
|
+
type: 'instance',
|
|
1362
|
+
adapter: 'synochat',
|
|
1363
|
+
all: false,
|
|
2778
1364
|
xs: 12,
|
|
2779
|
-
sm:
|
|
2780
|
-
md:
|
|
2781
|
-
lg:
|
|
2782
|
-
xl:
|
|
2783
|
-
label: '
|
|
2784
|
-
help: '
|
|
2785
|
-
hidden: '!data.
|
|
1365
|
+
sm: 12,
|
|
1366
|
+
md: 4,
|
|
1367
|
+
lg: 4,
|
|
1368
|
+
xl: 4,
|
|
1369
|
+
label: 'Synochat Instance',
|
|
1370
|
+
help: 'Please choose the Synochat instance',
|
|
1371
|
+
hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
|
|
2786
1372
|
hideOnlyControl: false,
|
|
2787
1373
|
},
|
|
2788
|
-
|
|
2789
|
-
type: '
|
|
2790
|
-
min: -1,
|
|
2791
|
-
max: 100000,
|
|
1374
|
+
channelSynochat: {
|
|
1375
|
+
type: 'text',
|
|
2792
1376
|
xs: 12,
|
|
2793
|
-
sm:
|
|
2794
|
-
md:
|
|
2795
|
-
lg:
|
|
2796
|
-
xl:
|
|
2797
|
-
label: '
|
|
2798
|
-
help: '
|
|
2799
|
-
hidden: '!data.
|
|
1377
|
+
sm: 12,
|
|
1378
|
+
md: 4,
|
|
1379
|
+
lg: 4,
|
|
1380
|
+
xl: 4,
|
|
1381
|
+
label: 'Channel',
|
|
1382
|
+
help: 'Enter the channelname for Synochat',
|
|
1383
|
+
hidden: "data.msgService !== 'synochat' && !data.instanceSynochat",
|
|
2800
1384
|
hideOnlyControl: false,
|
|
2801
1385
|
},
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
md: 6,
|
|
2809
|
-
lg: 3,
|
|
2810
|
-
xl: 3,
|
|
2811
|
-
label: 'Netatmo',
|
|
2812
|
-
help: 'in minutes',
|
|
2813
|
-
hidden: '!data.netatmoDevices',
|
|
1386
|
+
headerTelegram: {
|
|
1387
|
+
newLine: true,
|
|
1388
|
+
type: 'header',
|
|
1389
|
+
text: 'Telegram',
|
|
1390
|
+
size: 2,
|
|
1391
|
+
hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
2814
1392
|
hideOnlyControl: false,
|
|
2815
1393
|
},
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
1394
|
+
instanceTelegram: {
|
|
1395
|
+
newLine: true,
|
|
1396
|
+
type: 'instance',
|
|
1397
|
+
adapter: 'telegram',
|
|
1398
|
+
all: false,
|
|
2820
1399
|
xs: 12,
|
|
2821
|
-
sm:
|
|
2822
|
-
md:
|
|
2823
|
-
lg:
|
|
2824
|
-
xl:
|
|
2825
|
-
label: '
|
|
2826
|
-
help: '
|
|
2827
|
-
hidden: '!data.
|
|
1400
|
+
sm: 12,
|
|
1401
|
+
md: 4,
|
|
1402
|
+
lg: 4,
|
|
1403
|
+
xl: 4,
|
|
1404
|
+
label: 'Telegram Instance',
|
|
1405
|
+
help: 'Please choose the telegram instance',
|
|
1406
|
+
hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
2828
1407
|
hideOnlyControl: false,
|
|
2829
1408
|
},
|
|
2830
|
-
|
|
2831
|
-
type: '
|
|
2832
|
-
min: 1,
|
|
2833
|
-
max: 100000,
|
|
1409
|
+
deviceTelegram: {
|
|
1410
|
+
type: 'text',
|
|
2834
1411
|
xs: 12,
|
|
2835
|
-
sm:
|
|
2836
|
-
md:
|
|
2837
|
-
lg:
|
|
2838
|
-
xl:
|
|
2839
|
-
label: '
|
|
2840
|
-
help: '
|
|
2841
|
-
hidden: '!data.
|
|
1412
|
+
sm: 12,
|
|
1413
|
+
md: 4,
|
|
1414
|
+
lg: 4,
|
|
1415
|
+
xl: 4,
|
|
1416
|
+
label: 'Device-ID (optional)',
|
|
1417
|
+
help: 'Choose your device',
|
|
1418
|
+
hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
2842
1419
|
hideOnlyControl: false,
|
|
2843
1420
|
},
|
|
2844
|
-
|
|
2845
|
-
type: '
|
|
2846
|
-
min: -1,
|
|
2847
|
-
max: 100000,
|
|
1421
|
+
chatIdTelegram: {
|
|
1422
|
+
type: 'text',
|
|
2848
1423
|
xs: 12,
|
|
2849
|
-
sm:
|
|
2850
|
-
md:
|
|
2851
|
-
lg:
|
|
2852
|
-
xl:
|
|
2853
|
-
label: '
|
|
2854
|
-
help: '
|
|
2855
|
-
hidden: '!data.
|
|
1424
|
+
sm: 12,
|
|
1425
|
+
md: 4,
|
|
1426
|
+
lg: 4,
|
|
1427
|
+
xl: 4,
|
|
1428
|
+
label: 'Chat-ID (optional)',
|
|
1429
|
+
help: 'Choose your Chat-ID',
|
|
1430
|
+
hidden: "data.msgService !== 'telegram' && !data.instanceTelegram",
|
|
2856
1431
|
hideOnlyControl: false,
|
|
2857
1432
|
},
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
md: 6,
|
|
2865
|
-
lg: 3,
|
|
2866
|
-
xl: 3,
|
|
2867
|
-
label: 'Proxmox',
|
|
2868
|
-
help: 'in minutes',
|
|
2869
|
-
hidden: '!data.proxmoxDevices',
|
|
1433
|
+
headerWhatsapp: {
|
|
1434
|
+
newLine: true,
|
|
1435
|
+
type: 'header',
|
|
1436
|
+
text: 'Whatsapp',
|
|
1437
|
+
size: 2,
|
|
1438
|
+
hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
|
|
2870
1439
|
hideOnlyControl: false,
|
|
2871
1440
|
},
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
1441
|
+
instanceWhatsapp: {
|
|
1442
|
+
newLine: true,
|
|
1443
|
+
type: 'instance',
|
|
1444
|
+
adapter: 'whatsapp-cmb',
|
|
1445
|
+
all: false,
|
|
2876
1446
|
xs: 12,
|
|
2877
|
-
sm:
|
|
2878
|
-
md:
|
|
2879
|
-
lg:
|
|
2880
|
-
xl:
|
|
2881
|
-
label: '
|
|
2882
|
-
help: '
|
|
2883
|
-
hidden: '!data.
|
|
1447
|
+
sm: 12,
|
|
1448
|
+
md: 4,
|
|
1449
|
+
lg: 4,
|
|
1450
|
+
xl: 4,
|
|
1451
|
+
label: 'Whatsapp Instance',
|
|
1452
|
+
help: 'Please choose the Whatsapp instance',
|
|
1453
|
+
hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
|
|
2884
1454
|
hideOnlyControl: false,
|
|
2885
1455
|
},
|
|
2886
|
-
|
|
2887
|
-
type: '
|
|
2888
|
-
min: -1,
|
|
2889
|
-
max: 100000,
|
|
1456
|
+
phoneWhatapp: {
|
|
1457
|
+
type: 'text',
|
|
2890
1458
|
xs: 12,
|
|
2891
|
-
sm:
|
|
2892
|
-
md:
|
|
2893
|
-
lg:
|
|
2894
|
-
xl:
|
|
2895
|
-
label: '
|
|
2896
|
-
help: '
|
|
2897
|
-
hidden: '!data.
|
|
1459
|
+
sm: 12,
|
|
1460
|
+
md: 4,
|
|
1461
|
+
lg: 4,
|
|
1462
|
+
xl: 4,
|
|
1463
|
+
label: 'Recipient (optional)',
|
|
1464
|
+
help: 'Choose your recipient',
|
|
1465
|
+
hidden: "data.msgService !== 'whatsapp' && !data.instanceWhatsapp",
|
|
2898
1466
|
hideOnlyControl: false,
|
|
2899
1467
|
},
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
hidden: '!data.
|
|
1468
|
+
},
|
|
1469
|
+
},
|
|
1470
|
+
_blacklist: {
|
|
1471
|
+
type: 'panel',
|
|
1472
|
+
label: 'Blacklist',
|
|
1473
|
+
items: {
|
|
1474
|
+
_headerBlacklistInstances: {
|
|
1475
|
+
newLine: true,
|
|
1476
|
+
type: 'header',
|
|
1477
|
+
text: 'Instances Blacklist',
|
|
1478
|
+
size: 2,
|
|
1479
|
+
hidden: '!data.checkAdapterInstances',
|
|
2912
1480
|
hideOnlyControl: false,
|
|
2913
1481
|
},
|
|
2914
|
-
|
|
2915
|
-
type: '
|
|
2916
|
-
min: -1,
|
|
2917
|
-
max: 100000,
|
|
1482
|
+
tableBlacklistInstances: {
|
|
1483
|
+
type: 'table',
|
|
2918
1484
|
xs: 12,
|
|
2919
|
-
sm:
|
|
2920
|
-
md:
|
|
2921
|
-
lg:
|
|
2922
|
-
xl:
|
|
2923
|
-
|
|
2924
|
-
help: 'in minutes',
|
|
2925
|
-
hidden: '!data.smartgardenDevices',
|
|
1485
|
+
sm: 12,
|
|
1486
|
+
md: 12,
|
|
1487
|
+
lg: 12,
|
|
1488
|
+
xl: 12,
|
|
1489
|
+
hidden: '!data.checkAdapterInstances',
|
|
2926
1490
|
hideOnlyControl: false,
|
|
1491
|
+
confirm: {
|
|
1492
|
+
condition: '!_alive',
|
|
1493
|
+
title: 'Attention!',
|
|
1494
|
+
text: 'This selection is only possible with a running instance!',
|
|
1495
|
+
ok: 'Got it!',
|
|
1496
|
+
cancel: 'cancel',
|
|
1497
|
+
type: 'warning',
|
|
1498
|
+
},
|
|
1499
|
+
items: [
|
|
1500
|
+
{
|
|
1501
|
+
type: 'selectSendTo',
|
|
1502
|
+
title: 'Choose which instances should be excluded',
|
|
1503
|
+
attr: 'instances',
|
|
1504
|
+
filter: false,
|
|
1505
|
+
sort: false,
|
|
1506
|
+
jsonData: '{"instanceID":"${globalData.instanceID}","adapter":"${globalData.adapter}"}',
|
|
1507
|
+
command: 'instancesList',
|
|
1508
|
+
width: '60%',
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
type: 'checkbox',
|
|
1512
|
+
title: 'Ignor in notifications',
|
|
1513
|
+
attr: 'checkIgnorNotify',
|
|
1514
|
+
width: '15%',
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
type: 'checkbox',
|
|
1518
|
+
title: 'Ignore in lists',
|
|
1519
|
+
attr: 'checkIgnorLists',
|
|
1520
|
+
width: '10%',
|
|
1521
|
+
},
|
|
1522
|
+
],
|
|
2927
1523
|
},
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
sm: 6,
|
|
2934
|
-
md: 6,
|
|
2935
|
-
lg: 3,
|
|
2936
|
-
xl: 3,
|
|
2937
|
-
label: 'Sonoff',
|
|
2938
|
-
help: 'in minutes',
|
|
2939
|
-
hidden: '!data.sonoffDevices',
|
|
2940
|
-
hideOnlyControl: false,
|
|
1524
|
+
_headerDevices: {
|
|
1525
|
+
newLine: true,
|
|
1526
|
+
type: 'header',
|
|
1527
|
+
text: 'Devices/Services Blacklist',
|
|
1528
|
+
size: 2,
|
|
2941
1529
|
},
|
|
2942
|
-
|
|
2943
|
-
type: '
|
|
2944
|
-
min: -1,
|
|
2945
|
-
max: 100000,
|
|
1530
|
+
tableBlacklist: {
|
|
1531
|
+
type: 'table',
|
|
2946
1532
|
xs: 12,
|
|
2947
|
-
sm:
|
|
2948
|
-
md:
|
|
2949
|
-
lg:
|
|
2950
|
-
xl:
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
1533
|
+
sm: 12,
|
|
1534
|
+
md: 12,
|
|
1535
|
+
lg: 12,
|
|
1536
|
+
xl: 12,
|
|
1537
|
+
confirm: {
|
|
1538
|
+
condition: '!_alive',
|
|
1539
|
+
title: 'Attention!',
|
|
1540
|
+
text: 'This selection is only possible with a running instance!',
|
|
1541
|
+
ok: 'Got it!',
|
|
1542
|
+
cancel: 'cancel',
|
|
1543
|
+
type: 'warning',
|
|
1544
|
+
},
|
|
1545
|
+
items: [
|
|
1546
|
+
{
|
|
1547
|
+
type: 'selectSendTo',
|
|
1548
|
+
title: 'Choose which devices/services should be excluded',
|
|
1549
|
+
attr: 'devices',
|
|
1550
|
+
filter: false,
|
|
1551
|
+
sort: false,
|
|
1552
|
+
jsonData: '{"deviceName":"${globalData.deviceName}","adapter":"${globalData.adapter}","path":"${globalData.path}"}',
|
|
1553
|
+
command: 'devicesList',
|
|
1554
|
+
width: '60%',
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
type: 'checkbox',
|
|
1558
|
+
title: 'Ignor in notifications',
|
|
1559
|
+
attr: 'checkIgnorNotify',
|
|
1560
|
+
width: '15%',
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
type: 'checkbox',
|
|
1564
|
+
title: 'Ignore in main lists',
|
|
1565
|
+
attr: 'checkIgnorLists',
|
|
1566
|
+
width: '10%',
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
type: 'checkbox',
|
|
1570
|
+
title: 'Ignore in lists per adapter',
|
|
1571
|
+
attr: 'checkIgnorAdapterLists',
|
|
1572
|
+
width: '10%',
|
|
1573
|
+
},
|
|
1574
|
+
],
|
|
1575
|
+
},
|
|
1576
|
+
},
|
|
1577
|
+
},
|
|
1578
|
+
_otherSettings: {
|
|
1579
|
+
type: 'panel',
|
|
1580
|
+
label: 'Other Settings',
|
|
1581
|
+
items: {
|
|
1582
|
+
_headerOtherSettings: {
|
|
1583
|
+
type: 'header',
|
|
1584
|
+
text: 'Other Settings',
|
|
1585
|
+
size: 2,
|
|
2955
1586
|
},
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
max: 100000,
|
|
1587
|
+
trueState: {
|
|
1588
|
+
newLine: true,
|
|
1589
|
+
type: 'checkbox',
|
|
2960
1590
|
xs: 12,
|
|
2961
|
-
sm:
|
|
1591
|
+
sm: 12,
|
|
2962
1592
|
md: 6,
|
|
2963
|
-
lg:
|
|
2964
|
-
xl:
|
|
2965
|
-
label: '
|
|
2966
|
-
help: '
|
|
2967
|
-
hidden: '!data.sureflapDevices',
|
|
2968
|
-
hideOnlyControl: false,
|
|
1593
|
+
lg: 4,
|
|
1594
|
+
xl: 4,
|
|
1595
|
+
label: 'True State',
|
|
1596
|
+
help: 'Use the true value of the signal strength, or it is converted to %',
|
|
2969
1597
|
},
|
|
2970
|
-
|
|
2971
|
-
type: '
|
|
2972
|
-
min: 1,
|
|
2973
|
-
max: 100000,
|
|
1598
|
+
listOnlyBattery: {
|
|
1599
|
+
type: 'checkbox',
|
|
2974
1600
|
xs: 12,
|
|
2975
|
-
sm:
|
|
1601
|
+
sm: 12,
|
|
2976
1602
|
md: 6,
|
|
2977
|
-
lg:
|
|
2978
|
-
xl:
|
|
2979
|
-
label: '
|
|
2980
|
-
help: '
|
|
2981
|
-
hidden: '!data.switchbotBleDevices',
|
|
2982
|
-
hideOnlyControl: false,
|
|
1603
|
+
lg: 4,
|
|
1604
|
+
xl: 4,
|
|
1605
|
+
label: 'List only devices with batteries',
|
|
1606
|
+
help: 'Choose if only devices with batteries should be listed or all devices',
|
|
2983
1607
|
},
|
|
2984
|
-
|
|
1608
|
+
minWarnBatterie: {
|
|
2985
1609
|
type: 'number',
|
|
2986
1610
|
min: -1,
|
|
2987
|
-
max:
|
|
1611
|
+
max: 100,
|
|
2988
1612
|
xs: 12,
|
|
2989
|
-
sm:
|
|
1613
|
+
sm: 12,
|
|
2990
1614
|
md: 6,
|
|
2991
|
-
lg:
|
|
2992
|
-
xl:
|
|
2993
|
-
label: '
|
|
2994
|
-
help: 'in
|
|
2995
|
-
hidden: '!data.tadoDevices',
|
|
2996
|
-
hideOnlyControl: false,
|
|
1615
|
+
lg: 4,
|
|
1616
|
+
xl: 4,
|
|
1617
|
+
label: 'From what % battery is considered low',
|
|
1618
|
+
help: 'in percent',
|
|
2997
1619
|
},
|
|
2998
|
-
|
|
2999
|
-
type: '
|
|
3000
|
-
min: 1,
|
|
3001
|
-
max: 100000,
|
|
1620
|
+
createOwnFolder: {
|
|
1621
|
+
type: 'checkbox',
|
|
3002
1622
|
xs: 12,
|
|
3003
|
-
sm:
|
|
1623
|
+
sm: 12,
|
|
3004
1624
|
md: 6,
|
|
3005
|
-
lg:
|
|
3006
|
-
xl:
|
|
3007
|
-
label: '
|
|
3008
|
-
help: '
|
|
3009
|
-
hidden: '!data.tapoDevices',
|
|
3010
|
-
hideOnlyControl: false,
|
|
1625
|
+
lg: 4,
|
|
1626
|
+
xl: 4,
|
|
1627
|
+
label: 'Create own folders for each adapter',
|
|
1628
|
+
help: 'If you like to have for every Adapter an own folder with own data',
|
|
3011
1629
|
},
|
|
3012
|
-
|
|
3013
|
-
type: '
|
|
3014
|
-
min: -1,
|
|
3015
|
-
max: 100000,
|
|
1630
|
+
createHtmlList: {
|
|
1631
|
+
type: 'checkbox',
|
|
3016
1632
|
xs: 12,
|
|
3017
|
-
sm:
|
|
1633
|
+
sm: 12,
|
|
3018
1634
|
md: 6,
|
|
3019
|
-
lg:
|
|
3020
|
-
xl:
|
|
3021
|
-
label: '
|
|
3022
|
-
help: 'in
|
|
3023
|
-
hidden: '!data.tradfriDevices',
|
|
3024
|
-
hideOnlyControl: false,
|
|
1635
|
+
lg: 4,
|
|
1636
|
+
xl: 4,
|
|
1637
|
+
label: 'Create additionally HTML lists',
|
|
1638
|
+
help: 'Create the lists also in HTML',
|
|
3025
1639
|
},
|
|
3026
|
-
|
|
3027
|
-
type: '
|
|
3028
|
-
min: -1,
|
|
3029
|
-
max: 100000,
|
|
1640
|
+
showLastSignal: {
|
|
1641
|
+
type: 'checkbox',
|
|
3030
1642
|
xs: 12,
|
|
3031
|
-
sm:
|
|
1643
|
+
sm: 12,
|
|
3032
1644
|
md: 6,
|
|
3033
|
-
lg:
|
|
3034
|
-
xl:
|
|
3035
|
-
label: '
|
|
3036
|
-
help: '
|
|
3037
|
-
hidden: '!data.tuyaDevices',
|
|
3038
|
-
hideOnlyControl: false,
|
|
1645
|
+
lg: 4,
|
|
1646
|
+
xl: 4,
|
|
1647
|
+
label: 'Display last signal strength',
|
|
1648
|
+
help: 'Display the last signal strength value when the device is offline',
|
|
3039
1649
|
},
|
|
3040
|
-
|
|
3041
|
-
type: '
|
|
3042
|
-
|
|
3043
|
-
|
|
1650
|
+
_updateInterval: {
|
|
1651
|
+
type: 'header',
|
|
1652
|
+
text: 'Update-Interval',
|
|
1653
|
+
size: 2,
|
|
1654
|
+
},
|
|
1655
|
+
_textUpdateInterval: {
|
|
1656
|
+
type: 'staticText',
|
|
1657
|
+
text: 'Here you can define the update interval of the datapoints/lists. For performance reasons, it is not recommended to select a poll value that is too low. Lower than two seconds is not selectable.',
|
|
3044
1658
|
xs: 12,
|
|
3045
|
-
sm:
|
|
1659
|
+
sm: 12,
|
|
3046
1660
|
md: 6,
|
|
3047
|
-
lg:
|
|
3048
|
-
xl:
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
1661
|
+
lg: 6,
|
|
1662
|
+
xl: 6,
|
|
1663
|
+
style: {
|
|
1664
|
+
fontSize: 16,
|
|
1665
|
+
marginBottom: 10,
|
|
1666
|
+
},
|
|
3053
1667
|
},
|
|
3054
|
-
|
|
1668
|
+
updateinterval: {
|
|
3055
1669
|
type: 'number',
|
|
3056
|
-
min:
|
|
1670
|
+
min: 2,
|
|
3057
1671
|
max: 100000,
|
|
3058
1672
|
xs: 12,
|
|
3059
1673
|
sm: 6,
|
|
3060
1674
|
md: 6,
|
|
3061
1675
|
lg: 3,
|
|
3062
1676
|
xl: 3,
|
|
3063
|
-
label: '
|
|
3064
|
-
help: 'in
|
|
3065
|
-
hidden: '!data.viessmannDevices',
|
|
1677
|
+
label: 'Update-Interval',
|
|
1678
|
+
help: 'in seconds',
|
|
3066
1679
|
hideOnlyControl: false,
|
|
3067
1680
|
},
|
|
3068
|
-
|
|
3069
|
-
type: '
|
|
3070
|
-
|
|
3071
|
-
|
|
1681
|
+
_headerLanguage: {
|
|
1682
|
+
type: 'header',
|
|
1683
|
+
text: 'Language',
|
|
1684
|
+
size: 2,
|
|
1685
|
+
},
|
|
1686
|
+
_textLanguage: {
|
|
1687
|
+
type: 'staticText',
|
|
1688
|
+
text: 'Here you can select the language for the tables and messages',
|
|
3072
1689
|
xs: 12,
|
|
3073
|
-
sm:
|
|
1690
|
+
sm: 12,
|
|
3074
1691
|
md: 6,
|
|
3075
|
-
lg:
|
|
3076
|
-
xl:
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
1692
|
+
lg: 6,
|
|
1693
|
+
xl: 6,
|
|
1694
|
+
style: {
|
|
1695
|
+
fontSize: 16,
|
|
1696
|
+
marginBottom: 10,
|
|
1697
|
+
},
|
|
3081
1698
|
},
|
|
3082
|
-
|
|
3083
|
-
type: '
|
|
3084
|
-
|
|
3085
|
-
max: 100000,
|
|
1699
|
+
userSelectedLanguage: {
|
|
1700
|
+
type: 'language',
|
|
1701
|
+
system: false,
|
|
3086
1702
|
xs: 12,
|
|
3087
1703
|
sm: 6,
|
|
3088
1704
|
md: 6,
|
|
3089
1705
|
lg: 3,
|
|
3090
1706
|
xl: 3,
|
|
3091
|
-
label: '
|
|
3092
|
-
|
|
3093
|
-
|
|
1707
|
+
label: 'Language',
|
|
1708
|
+
},
|
|
1709
|
+
},
|
|
1710
|
+
},
|
|
1711
|
+
_expertSettings: {
|
|
1712
|
+
type: 'panel',
|
|
1713
|
+
label: 'Expert Settings',
|
|
1714
|
+
items: {
|
|
1715
|
+
_headerTimeInstances: {
|
|
1716
|
+
type: 'header',
|
|
1717
|
+
text: 'Deactivation and Error Time for Instances',
|
|
1718
|
+
size: 2,
|
|
1719
|
+
hidden: '!data.checkAdapterInstances',
|
|
3094
1720
|
hideOnlyControl: false,
|
|
3095
1721
|
},
|
|
3096
|
-
|
|
3097
|
-
type: '
|
|
3098
|
-
|
|
3099
|
-
max: 100000,
|
|
1722
|
+
_textTimeInstances: {
|
|
1723
|
+
type: 'staticText',
|
|
1724
|
+
text: 'Define the global instance deactivation and error time. The default value is 20 seconds.',
|
|
3100
1725
|
xs: 12,
|
|
3101
|
-
sm:
|
|
1726
|
+
sm: 12,
|
|
3102
1727
|
md: 6,
|
|
3103
|
-
lg:
|
|
3104
|
-
xl:
|
|
3105
|
-
|
|
3106
|
-
help: 'in minutes',
|
|
3107
|
-
hidden: '!data.xsenseDevices',
|
|
1728
|
+
lg: 6,
|
|
1729
|
+
xl: 6,
|
|
1730
|
+
hidden: '!data.checkAdapterInstances',
|
|
3108
1731
|
hideOnlyControl: false,
|
|
1732
|
+
style: {
|
|
1733
|
+
fontSize: 16,
|
|
1734
|
+
marginBottom: 10,
|
|
1735
|
+
},
|
|
3109
1736
|
},
|
|
3110
|
-
|
|
1737
|
+
offlineTimeInstances: {
|
|
3111
1738
|
type: 'number',
|
|
3112
|
-
min:
|
|
1739
|
+
min: 20,
|
|
3113
1740
|
max: 100000,
|
|
3114
1741
|
xs: 12,
|
|
3115
1742
|
sm: 6,
|
|
3116
1743
|
md: 6,
|
|
3117
1744
|
lg: 3,
|
|
3118
1745
|
xl: 3,
|
|
3119
|
-
label: '
|
|
3120
|
-
help: 'in
|
|
3121
|
-
hidden: '!data.
|
|
1746
|
+
label: 'Global deactivation time',
|
|
1747
|
+
help: 'in seconds',
|
|
1748
|
+
hidden: '!data.checkAdapterInstances',
|
|
3122
1749
|
hideOnlyControl: false,
|
|
3123
1750
|
},
|
|
3124
|
-
|
|
1751
|
+
errorTimeInstances: {
|
|
3125
1752
|
type: 'number',
|
|
3126
|
-
min:
|
|
1753
|
+
min: 20,
|
|
3127
1754
|
max: 100000,
|
|
3128
1755
|
xs: 12,
|
|
3129
1756
|
sm: 6,
|
|
3130
1757
|
md: 6,
|
|
3131
1758
|
lg: 3,
|
|
3132
1759
|
xl: 3,
|
|
3133
|
-
label: '
|
|
3134
|
-
help: 'in
|
|
3135
|
-
hidden: '!data.
|
|
1760
|
+
label: 'Global error time',
|
|
1761
|
+
help: 'in seconds',
|
|
1762
|
+
hidden: '!data.checkAdapterInstances',
|
|
3136
1763
|
hideOnlyControl: false,
|
|
3137
1764
|
},
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
xs: 12,
|
|
3143
|
-
sm: 6,
|
|
3144
|
-
md: 6,
|
|
3145
|
-
lg: 3,
|
|
3146
|
-
xl: 3,
|
|
3147
|
-
label: 'Zigbee2MQTT',
|
|
3148
|
-
help: 'in minutes',
|
|
3149
|
-
hidden: '!data.zigbee2mqttDevices',
|
|
1765
|
+
_divider: {
|
|
1766
|
+
newLine: true,
|
|
1767
|
+
type: 'divider',
|
|
1768
|
+
hidden: '!data.checkAdapterInstances',
|
|
3150
1769
|
hideOnlyControl: false,
|
|
3151
1770
|
},
|
|
3152
|
-
|
|
3153
|
-
type: '
|
|
3154
|
-
|
|
3155
|
-
max: 100000,
|
|
1771
|
+
_textTableTimeInstances: {
|
|
1772
|
+
type: 'staticText',
|
|
1773
|
+
text: 'If necessary, set the deactivation and error time of each instance for yourself here. This setting overwrites the global setting for the selected instance.',
|
|
3156
1774
|
xs: 12,
|
|
3157
|
-
sm:
|
|
3158
|
-
md:
|
|
3159
|
-
lg:
|
|
3160
|
-
xl:
|
|
3161
|
-
|
|
3162
|
-
help: 'in minutes',
|
|
3163
|
-
hidden: '!data.zwaveDevices',
|
|
1775
|
+
sm: 12,
|
|
1776
|
+
md: 12,
|
|
1777
|
+
lg: 12,
|
|
1778
|
+
xl: 12,
|
|
1779
|
+
hidden: '!data.checkAdapterInstances',
|
|
3164
1780
|
hideOnlyControl: false,
|
|
1781
|
+
style: {
|
|
1782
|
+
fontSize: 16,
|
|
1783
|
+
marginBottom: 10,
|
|
1784
|
+
},
|
|
3165
1785
|
},
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
1786
|
+
tableTimeInstance: {
|
|
1787
|
+
type: 'table',
|
|
1788
|
+
xs: 12,
|
|
1789
|
+
sm: 12,
|
|
1790
|
+
md: 12,
|
|
1791
|
+
lg: 12,
|
|
1792
|
+
xl: 12,
|
|
1793
|
+
hidden: '!data.checkAdapterInstances',
|
|
1794
|
+
hideOnlyControl: false,
|
|
1795
|
+
confirm: {
|
|
1796
|
+
condition: '!_alive',
|
|
1797
|
+
title: 'Attention!',
|
|
1798
|
+
text: 'This selection is only possible with a running instance!',
|
|
1799
|
+
ok: 'Got it!',
|
|
1800
|
+
cancel: 'cancel',
|
|
1801
|
+
type: 'warning',
|
|
1802
|
+
},
|
|
1803
|
+
items: [
|
|
1804
|
+
{
|
|
1805
|
+
type: 'selectSendTo',
|
|
1806
|
+
title: 'Choose which instances should have a longer downtime',
|
|
1807
|
+
attr: 'instancesTime',
|
|
1808
|
+
filter: false,
|
|
1809
|
+
sort: false,
|
|
1810
|
+
jsonData: '{"instanceID":"${globalData.instanceID}","adapter":"${globalData.adapter}"}',
|
|
1811
|
+
command: 'instancesListTime',
|
|
1812
|
+
width: '60%',
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
type: 'number',
|
|
1816
|
+
min: 20,
|
|
1817
|
+
max: 1000000,
|
|
1818
|
+
default: 20,
|
|
1819
|
+
title: 'Deactivation time in seconds',
|
|
1820
|
+
attr: 'deactivationTime',
|
|
1821
|
+
width: '15%',
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
type: 'number',
|
|
1825
|
+
min: 20,
|
|
1826
|
+
max: 1000000,
|
|
1827
|
+
default: 20,
|
|
1828
|
+
title: 'Error time in seconds',
|
|
1829
|
+
attr: 'errorTime',
|
|
1830
|
+
width: '15%',
|
|
1831
|
+
}
|
|
1832
|
+
]
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
3169
1837
|
}
|