@ncd-io/node-red-enterprise-sensors 1.0.3 → 1.0.5

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.
@@ -0,0 +1,1935 @@
1
+ [
2
+ {
3
+ "id": "6af5d35f8af16f9f",
4
+ "type": "subflow",
5
+ "name": "Uptime-dashboard",
6
+ "info": "",
7
+ "category": "NCD",
8
+ "in": [
9
+ {
10
+ "x": 120,
11
+ "y": 580,
12
+ "wires": [
13
+ {
14
+ "id": "0d96e2fb91524ab7"
15
+ }
16
+ ]
17
+ }
18
+ ],
19
+ "out": [],
20
+ "env": [],
21
+ "meta": {},
22
+ "color": "#3FADB5",
23
+ "icon": "@flowfuse/node-red-dashboard/ui-gauge.svg",
24
+ "status": {
25
+ "x": 820,
26
+ "y": 380,
27
+ "wires": [
28
+ {
29
+ "id": "5442a27ce3b22075",
30
+ "port": 0
31
+ }
32
+ ]
33
+ }
34
+ },
35
+ {
36
+ "id": "0dbd8cdac68f3b94",
37
+ "type": "ui-text",
38
+ "z": "6af5d35f8af16f9f",
39
+ "g": "f5f98d73b2f28dc3",
40
+ "group": "a1614549c408f643",
41
+ "order": 1,
42
+ "width": "2",
43
+ "height": 0,
44
+ "name": "Digital Input Counter",
45
+ "label": "Contact Closure Counter",
46
+ "format": "{{msg.payload}}",
47
+ "layout": "col-center",
48
+ "style": true,
49
+ "font": "",
50
+ "fontSize": "23",
51
+ "color": "#ffffff",
52
+ "className": "textStyle",
53
+ "x": 800,
54
+ "y": 460,
55
+ "wires": []
56
+ },
57
+ {
58
+ "id": "4bf29016c44d1fc8",
59
+ "type": "ui-template",
60
+ "z": "6af5d35f8af16f9f",
61
+ "g": "f5f98d73b2f28dc3",
62
+ "group": "a1614549c408f643",
63
+ "page": "",
64
+ "ui": "",
65
+ "name": "Digital Input Counter",
66
+ "order": 2,
67
+ "width": "2",
68
+ "height": "2",
69
+ "head": "",
70
+ "format": "<template>\n <v-progress-circular class=\"gaugeVue\" bg-color=\"#383838\" model-value=\"20\" :size=\"270\" :width=\"10\" color=\"yellow\" v-model=\"value\">\n <div class=\"icon\">\n <v-icon size=\"smaller\" color=\"#ffce21\" icon=\"mdi-electric-switch\"></v-icon>\n </div>\n <div class=\"text-center\">\n {{ msg.scale }}\n </div>\n <div class=\"unit\">\n Unit\n </div>\n </v-progress-circular>\n</template>\n<style>\n.gaugeVue{\n font-size: 44px;\n font-weight: bold !important;\n top: -30px !important;\n left: 25px !important;\n}\n.icon{\n position: absolute;\n top: 40px;\n left: 43%;\n}\n.unit{\n position: absolute;\n top: 190px;\n left: 40%;\n font-size: 30px;\n}\n</style>",
71
+ "storeOutMessages": true,
72
+ "passthru": false,
73
+ "resendOnRefresh": true,
74
+ "templateScope": "local",
75
+ "className": "",
76
+ "x": 800,
77
+ "y": 500,
78
+ "wires": [
79
+ []
80
+ ]
81
+ },
82
+ {
83
+ "id": "5620868c18230265",
84
+ "type": "ui-text",
85
+ "z": "6af5d35f8af16f9f",
86
+ "g": "f5f98d73b2f28dc3",
87
+ "group": "bb34489cec40b987",
88
+ "order": 1,
89
+ "width": 0,
90
+ "height": 0,
91
+ "name": "Digital Input Uptime",
92
+ "label": "Contact Closure Uptime",
93
+ "format": "{{msg.payload}}",
94
+ "layout": "col-center",
95
+ "style": true,
96
+ "font": "",
97
+ "fontSize": "23",
98
+ "color": "#ffffff",
99
+ "className": "textStyle",
100
+ "x": 810,
101
+ "y": 540,
102
+ "wires": []
103
+ },
104
+ {
105
+ "id": "3126bad7f3b39d9c",
106
+ "type": "ui-template",
107
+ "z": "6af5d35f8af16f9f",
108
+ "g": "f5f98d73b2f28dc3",
109
+ "group": "bb34489cec40b987",
110
+ "page": "",
111
+ "ui": "",
112
+ "name": "Digital Input Uptime",
113
+ "order": 2,
114
+ "width": "2",
115
+ "height": "1",
116
+ "head": "",
117
+ "format": "<template>\n <v-progress-circular class=\"gaugeVue\" bg-color=\"#383838\" model-value=\"20\" :size=\"270\" :width=\"10\" color=\"yellow\" v-model=\"value\">\n <div class=\"icon\">\n <v-icon size=\"smaller\" color=\"#ffce21\" icon=\"mdi-clock\"></v-icon>\n </div>\n <div class=\"text-center\">\n {{ msg.scale }}\n </div>\n <div class=\"unit\">\n Sec\n </div>\n </v-progress-circular>\n</template>",
118
+ "storeOutMessages": true,
119
+ "passthru": true,
120
+ "resendOnRefresh": true,
121
+ "templateScope": "local",
122
+ "className": "",
123
+ "x": 810,
124
+ "y": 580,
125
+ "wires": [
126
+ []
127
+ ]
128
+ },
129
+ {
130
+ "id": "453bd967e89403a4",
131
+ "type": "ui-text",
132
+ "z": "6af5d35f8af16f9f",
133
+ "g": "f5f98d73b2f28dc3",
134
+ "group": "061122425c5dc0ba",
135
+ "order": 1,
136
+ "width": 0,
137
+ "height": 0,
138
+ "name": "Current Input Counter",
139
+ "label": "Current Input Counter",
140
+ "format": "{{msg.payload}}",
141
+ "layout": "col-center",
142
+ "style": true,
143
+ "font": "",
144
+ "fontSize": "23",
145
+ "color": "#ffffff",
146
+ "className": "textStyle",
147
+ "x": 1200,
148
+ "y": 460,
149
+ "wires": []
150
+ },
151
+ {
152
+ "id": "7752e7d623f58741",
153
+ "type": "ui-template",
154
+ "z": "6af5d35f8af16f9f",
155
+ "g": "f5f98d73b2f28dc3",
156
+ "group": "061122425c5dc0ba",
157
+ "page": "",
158
+ "ui": "",
159
+ "name": "Current Input Counter",
160
+ "order": 2,
161
+ "width": "2",
162
+ "height": "1",
163
+ "head": "",
164
+ "format": "<template>\n <v-progress-circular class=\"gaugeVue\" bg-color=\"#383838\" model-value=\"20\" :size=\"270\" :width=\"10\" color=\"yellow\" v-model=\"value\">\n <div class=\"icon\">\n <v-icon size=\"smaller\" color=\"#ffce21\" icon=\"mdi mdi-sine-wave\"></v-icon>\n </div>\n <div class=\"text-center\">\n {{ msg.scale }}\n </div>\n <div class=\"unit\">\n Unit\n </div>\n </v-progress-circular>\n</template>",
165
+ "storeOutMessages": true,
166
+ "passthru": false,
167
+ "resendOnRefresh": true,
168
+ "templateScope": "local",
169
+ "className": "",
170
+ "x": 1200,
171
+ "y": 500,
172
+ "wires": [
173
+ []
174
+ ]
175
+ },
176
+ {
177
+ "id": "a0bc12baef062058",
178
+ "type": "ui-text",
179
+ "z": "6af5d35f8af16f9f",
180
+ "g": "f5f98d73b2f28dc3",
181
+ "group": "061c5d801d70f8e9",
182
+ "order": 1,
183
+ "width": 0,
184
+ "height": 0,
185
+ "name": "Current Input Uptime",
186
+ "label": "Current Input Uptime",
187
+ "format": "{{msg.payload}}",
188
+ "layout": "col-center",
189
+ "style": true,
190
+ "font": "",
191
+ "fontSize": "23",
192
+ "color": "#ffffff",
193
+ "className": "textStyle",
194
+ "x": 1200,
195
+ "y": 540,
196
+ "wires": []
197
+ },
198
+ {
199
+ "id": "2c2a81bd09fd0513",
200
+ "type": "ui-template",
201
+ "z": "6af5d35f8af16f9f",
202
+ "g": "f5f98d73b2f28dc3",
203
+ "group": "061c5d801d70f8e9",
204
+ "page": "",
205
+ "ui": "",
206
+ "name": "Current Input Uptime",
207
+ "order": 2,
208
+ "width": "2",
209
+ "height": "1",
210
+ "head": "",
211
+ "format": "<template>\n <v-progress-circular bg-color=\"#383838\" class=\"gaugeVue\" model-value=\"20\" :size=\"270\" :width=\"10\" color=\"yellow\" v-model=\"value\">\n <div class=\"icon\">\n <v-icon size=\"smaller\" color=\"#ffce21\" icon=\"mdi-clock\"></v-icon>\n </div>\n <div class=\"text-center\">\n {{ msg.scale }}\n </div>\n <div class=\"unit\">\n Sec\n </div>\n </v-progress-circular>\n</template>",
212
+ "storeOutMessages": true,
213
+ "passthru": false,
214
+ "resendOnRefresh": true,
215
+ "templateScope": "local",
216
+ "className": "",
217
+ "x": 1200,
218
+ "y": 580,
219
+ "wires": [
220
+ []
221
+ ]
222
+ },
223
+ {
224
+ "id": "0e90a1b56864e939",
225
+ "type": "ui-text",
226
+ "z": "6af5d35f8af16f9f",
227
+ "g": "f5f98d73b2f28dc3",
228
+ "group": "e97e0ee50456d11d",
229
+ "order": 1,
230
+ "width": 0,
231
+ "height": 0,
232
+ "name": "Opto Input Counter",
233
+ "label": "Digital Input Counter",
234
+ "format": "{{msg.payload}}",
235
+ "layout": "col-center",
236
+ "style": true,
237
+ "font": "",
238
+ "fontSize": "23",
239
+ "color": "#ffffff",
240
+ "className": "textStyle",
241
+ "x": 1570,
242
+ "y": 460,
243
+ "wires": []
244
+ },
245
+ {
246
+ "id": "be2555b50df4c07e",
247
+ "type": "ui-template",
248
+ "z": "6af5d35f8af16f9f",
249
+ "g": "f5f98d73b2f28dc3",
250
+ "group": "e97e0ee50456d11d",
251
+ "page": "",
252
+ "ui": "",
253
+ "name": "Opto Input Counter",
254
+ "order": 2,
255
+ "width": "2",
256
+ "height": "1",
257
+ "head": "",
258
+ "format": "<template>\n <v-progress-circular class=\"gaugeVue\" bg-color=\"#383838\" model-value=\"20\" :size=\"270\" :width=\"10\" color=\"yellow\" v-model=\"value\">\n <div class=\"icon\">\n <v-icon size=\"smaller\" color=\"#ffce21\" icon=\"mdi mdi-square-wave\"></v-icon>\n </div>\n <div class=\"text-center\">\n {{ msg.scale }}\n </div>\n <div class=\"unit\">\n Unit\n </div>\n </v-progress-circular>\n</template>",
259
+ "storeOutMessages": true,
260
+ "passthru": false,
261
+ "resendOnRefresh": true,
262
+ "templateScope": "local",
263
+ "className": "",
264
+ "x": 1570,
265
+ "y": 500,
266
+ "wires": [
267
+ []
268
+ ]
269
+ },
270
+ {
271
+ "id": "6f6dde7348854ef6",
272
+ "type": "ui-text",
273
+ "z": "6af5d35f8af16f9f",
274
+ "g": "f5f98d73b2f28dc3",
275
+ "group": "fbe59b88eea649ee",
276
+ "order": 1,
277
+ "width": 0,
278
+ "height": 0,
279
+ "name": "Opto Input Uptime",
280
+ "label": "Digital Input Uptime",
281
+ "format": "{{msg.payload}}",
282
+ "layout": "col-center",
283
+ "style": true,
284
+ "font": "",
285
+ "fontSize": "23",
286
+ "color": "#ffffff",
287
+ "className": "textStyle",
288
+ "x": 1570,
289
+ "y": 540,
290
+ "wires": []
291
+ },
292
+ {
293
+ "id": "9ff2072cd0fb2313",
294
+ "type": "ui-template",
295
+ "z": "6af5d35f8af16f9f",
296
+ "g": "f5f98d73b2f28dc3",
297
+ "group": "fbe59b88eea649ee",
298
+ "page": "",
299
+ "ui": "",
300
+ "name": "Opto Input Uptime",
301
+ "order": 2,
302
+ "width": "2",
303
+ "height": "1",
304
+ "head": "",
305
+ "format": "<template>\n <v-progress-circular class=\"gaugeVue\" bg-color=\"#383838\" model-value=\"20\" :size=\"270\" :width=\"10\" color=\"yellow\" v-model=\"value\">\n <div class=\"icon\">\n <v-icon size=\"smaller\" color=\"#ffce21\" icon=\"mdi-clock\"></v-icon>\n </div>\n <div class=\"text-center\">\n {{ msg.scale }}\n </div>\n <div class=\"unit\">\n Sec\n </div>\n </v-progress-circular>\n</template>",
306
+ "storeOutMessages": true,
307
+ "passthru": true,
308
+ "resendOnRefresh": true,
309
+ "templateScope": "local",
310
+ "className": "",
311
+ "x": 1570,
312
+ "y": 580,
313
+ "wires": [
314
+ []
315
+ ]
316
+ },
317
+ {
318
+ "id": "b181f50335ad845e",
319
+ "type": "ui-text",
320
+ "z": "6af5d35f8af16f9f",
321
+ "g": "f5f98d73b2f28dc3",
322
+ "group": "03fa99e0c2b17b14",
323
+ "order": 1,
324
+ "width": 0,
325
+ "height": 0,
326
+ "name": "Accelerometer Counter",
327
+ "label": "Accelerometer Counter",
328
+ "format": "{{msg.payload}}",
329
+ "layout": "col-center",
330
+ "style": true,
331
+ "font": "",
332
+ "fontSize": "23",
333
+ "color": "#ffffff",
334
+ "className": "textStyle",
335
+ "x": 810,
336
+ "y": 640,
337
+ "wires": []
338
+ },
339
+ {
340
+ "id": "2cc77291b162787a",
341
+ "type": "ui-template",
342
+ "z": "6af5d35f8af16f9f",
343
+ "g": "f5f98d73b2f28dc3",
344
+ "group": "03fa99e0c2b17b14",
345
+ "page": "",
346
+ "ui": "",
347
+ "name": "Accelerometer Counter",
348
+ "order": 2,
349
+ "width": "2",
350
+ "height": "1",
351
+ "head": "",
352
+ "format": "<template>\n <v-progress-circular class=\"gaugeVue\" bg-color=\"#383838\" model-value=\"20\" :size=\"270\" :width=\"10\" color=\"yellow\" v-model=\"value\">\n <div class=\"icon\">\n <v-icon size=\"smaller\" color=\"#ffce21\" icon=\"mdi mdi-waveform\"></v-icon>\n </div>\n <div class=\"text-center\">\n {{ msg.scale }}\n </div>\n <div class=\"unit\">\n Unit\n </div>\n </v-progress-circular>\n</template>",
353
+ "storeOutMessages": true,
354
+ "passthru": false,
355
+ "resendOnRefresh": true,
356
+ "templateScope": "local",
357
+ "className": "",
358
+ "x": 810,
359
+ "y": 680,
360
+ "wires": [
361
+ []
362
+ ]
363
+ },
364
+ {
365
+ "id": "90d910e0f9e22bcd",
366
+ "type": "ui-text",
367
+ "z": "6af5d35f8af16f9f",
368
+ "g": "f5f98d73b2f28dc3",
369
+ "group": "9da508f4b638785d",
370
+ "order": 1,
371
+ "width": 0,
372
+ "height": 0,
373
+ "name": "Accelerometer Uptime",
374
+ "label": "Accelerometer Uptime",
375
+ "format": "{{msg.payload}}",
376
+ "layout": "col-center",
377
+ "style": true,
378
+ "font": "",
379
+ "fontSize": "23",
380
+ "color": "#ffffff",
381
+ "className": "textStyle",
382
+ "x": 820,
383
+ "y": 720,
384
+ "wires": []
385
+ },
386
+ {
387
+ "id": "af4eaf3eeb57c204",
388
+ "type": "ui-template",
389
+ "z": "6af5d35f8af16f9f",
390
+ "g": "f5f98d73b2f28dc3",
391
+ "group": "9da508f4b638785d",
392
+ "page": "",
393
+ "ui": "",
394
+ "name": "Accelerometer Uptime",
395
+ "order": 2,
396
+ "width": "2",
397
+ "height": "1",
398
+ "head": "",
399
+ "format": "<template>\n <v-progress-circular class=\"gaugeVue\" bg-color=\"#383838\" model-value=\"20\" :size=\"270\" :width=\"10\" color=\"yellow\" v-model=\"value\">\n <div class=\"icon\">\n <v-icon size=\"smaller\" color=\"#ffce21\" icon=\"mdi-clock\"></v-icon>\n </div>\n <div class=\"text-center\">\n {{ msg.scale }}\n </div>\n <div class=\"unit\">\n Sec\n </div>\n </v-progress-circular>\n</template>",
400
+ "storeOutMessages": true,
401
+ "passthru": false,
402
+ "resendOnRefresh": true,
403
+ "templateScope": "local",
404
+ "className": "",
405
+ "x": 820,
406
+ "y": 760,
407
+ "wires": [
408
+ []
409
+ ]
410
+ },
411
+ {
412
+ "id": "96131db36375a9b7",
413
+ "type": "ui-text",
414
+ "z": "6af5d35f8af16f9f",
415
+ "g": "f5f98d73b2f28dc3",
416
+ "group": "c5b43765ca326def",
417
+ "order": 1,
418
+ "width": 0,
419
+ "height": 0,
420
+ "name": "Magnetometer Counter",
421
+ "label": "Magnetometer Counter",
422
+ "format": "{{msg.payload}}",
423
+ "layout": "col-center",
424
+ "style": true,
425
+ "font": "",
426
+ "fontSize": "23",
427
+ "color": "#ffffff",
428
+ "className": "textStyle",
429
+ "x": 1210,
430
+ "y": 640,
431
+ "wires": []
432
+ },
433
+ {
434
+ "id": "6eea40e8b22a3ac6",
435
+ "type": "ui-template",
436
+ "z": "6af5d35f8af16f9f",
437
+ "g": "f5f98d73b2f28dc3",
438
+ "group": "c5b43765ca326def",
439
+ "page": "",
440
+ "ui": "",
441
+ "name": "Magnetometer Counter",
442
+ "order": 2,
443
+ "width": "2",
444
+ "height": "1",
445
+ "head": "",
446
+ "format": "<template>\n <v-progress-circular class=\"gaugeVue\" bg-color=\"#383838\" model-value=\"20\" :size=\"270\" :width=\"10\" color=\"yellow\" v-model=\"value\">\n <div class=\"icon\">\n <v-icon size=\"smaller\" color=\"#ffce21\" icon=\"mdi-access-point\"></v-icon>\n </div>\n <div class=\"text-center\">\n {{ msg.scale }}\n </div>\n <div class=\"unit\">\n Unit\n </div>\n </v-progress-circular>\n</template>",
447
+ "storeOutMessages": true,
448
+ "passthru": false,
449
+ "resendOnRefresh": true,
450
+ "templateScope": "local",
451
+ "className": "",
452
+ "x": 1210,
453
+ "y": 680,
454
+ "wires": [
455
+ []
456
+ ]
457
+ },
458
+ {
459
+ "id": "d16a496eaf075b8a",
460
+ "type": "ui-text",
461
+ "z": "6af5d35f8af16f9f",
462
+ "g": "f5f98d73b2f28dc3",
463
+ "group": "4434273855505cac",
464
+ "order": 1,
465
+ "width": 0,
466
+ "height": 0,
467
+ "name": "Magnetometer Uptimer",
468
+ "label": "Magnetometer Uptimer",
469
+ "format": "{{msg.payload}}",
470
+ "layout": "col-center",
471
+ "style": true,
472
+ "font": "",
473
+ "fontSize": "23",
474
+ "color": "#ffffff",
475
+ "className": "textStyle",
476
+ "x": 1220,
477
+ "y": 720,
478
+ "wires": []
479
+ },
480
+ {
481
+ "id": "801794203810d583",
482
+ "type": "ui-template",
483
+ "z": "6af5d35f8af16f9f",
484
+ "g": "f5f98d73b2f28dc3",
485
+ "group": "4434273855505cac",
486
+ "page": "",
487
+ "ui": "",
488
+ "name": "Magnetometer Uptimer",
489
+ "order": 2,
490
+ "width": "2",
491
+ "height": "1",
492
+ "head": "",
493
+ "format": "<template>\n <v-progress-circular class=\"gaugeVue\" bg-color=\"#383838\" model-value=\"20\" :size=\"270\" :width=\"10\" color=\"yellow\" v-model=\"value\">\n <div class=\"icon\">\n <v-icon size=\"smaller\" color=\"#ffce21\" icon=\"mdi-clock\"></v-icon>\n </div>\n <div class=\"text-center\">\n {{ msg.scale }}\n </div>\n <div class=\"unit\">\n Sec\n </div>\n </v-progress-circular>\n</template>",
494
+ "storeOutMessages": true,
495
+ "passthru": false,
496
+ "resendOnRefresh": true,
497
+ "templateScope": "local",
498
+ "className": "",
499
+ "x": 1220,
500
+ "y": 760,
501
+ "wires": [
502
+ []
503
+ ]
504
+ },
505
+ {
506
+ "id": "7e64924383193d38",
507
+ "type": "ui-text",
508
+ "z": "6af5d35f8af16f9f",
509
+ "g": "f5f98d73b2f28dc3",
510
+ "group": "0bd2c4243f30c5d4",
511
+ "order": 1,
512
+ "width": 0,
513
+ "height": 0,
514
+ "name": "",
515
+ "label": "Battery Level",
516
+ "format": "{{msg.payload}}",
517
+ "layout": "col-center",
518
+ "style": true,
519
+ "font": "",
520
+ "fontSize": "23",
521
+ "color": "#ffffff",
522
+ "className": "textStyle",
523
+ "x": 1590,
524
+ "y": 640,
525
+ "wires": []
526
+ },
527
+ {
528
+ "id": "d10e6d07c4588a15",
529
+ "type": "ui-chart",
530
+ "z": "6af5d35f8af16f9f",
531
+ "g": "f5f98d73b2f28dc3",
532
+ "group": "b3e0efe3e78c4e09",
533
+ "name": "Battery Percent History",
534
+ "label": "",
535
+ "order": 2,
536
+ "chartType": "line",
537
+ "category": "topic",
538
+ "categoryType": "msg",
539
+ "xAxisLabel": "",
540
+ "xAxisProperty": "",
541
+ "xAxisPropertyType": "msg",
542
+ "xAxisType": "time",
543
+ "xAxisFormat": "",
544
+ "xAxisFormatType": "auto",
545
+ "yAxisLabel": "",
546
+ "yAxisProperty": "",
547
+ "ymin": "30",
548
+ "ymax": "100",
549
+ "action": "append",
550
+ "pointShape": "circle",
551
+ "pointRadius": "2",
552
+ "showLegend": false,
553
+ "removeOlder": 1,
554
+ "removeOlderUnit": "3600",
555
+ "removeOlderPoints": "30",
556
+ "colors": [
557
+ "#fbff00",
558
+ "#eeff00",
559
+ "#ff7f0e",
560
+ "#2ca02c",
561
+ "#98df8a",
562
+ "#d62728",
563
+ "#ff9896",
564
+ "#9467bd",
565
+ "#c5b0d5"
566
+ ],
567
+ "textColor": [
568
+ "#666666"
569
+ ],
570
+ "textColorDefault": true,
571
+ "gridColor": [
572
+ "#e5e5e5"
573
+ ],
574
+ "gridColorDefault": true,
575
+ "width": "8",
576
+ "height": "5",
577
+ "className": "chartStyle",
578
+ "x": 1550,
579
+ "y": 760,
580
+ "wires": [
581
+ []
582
+ ]
583
+ },
584
+ {
585
+ "id": "c12461b654b1dc6a",
586
+ "type": "change",
587
+ "z": "6af5d35f8af16f9f",
588
+ "g": "f5f98d73b2f28dc3",
589
+ "name": "",
590
+ "rules": [
591
+ {
592
+ "t": "set",
593
+ "p": "payload",
594
+ "pt": "msg",
595
+ "to": "payload.sensor_data.accelerometer_counter",
596
+ "tot": "msg"
597
+ },
598
+ {
599
+ "t": "set",
600
+ "p": "scale",
601
+ "pt": "msg",
602
+ "to": "payload",
603
+ "tot": "msg"
604
+ }
605
+ ],
606
+ "action": "",
607
+ "property": "",
608
+ "from": "",
609
+ "to": "",
610
+ "reg": false,
611
+ "x": 615,
612
+ "y": 680,
613
+ "wires": [
614
+ [
615
+ "faa0c1e9296ab0e4"
616
+ ]
617
+ ],
618
+ "l": false
619
+ },
620
+ {
621
+ "id": "9a7b607f171abea9",
622
+ "type": "link in",
623
+ "z": "6af5d35f8af16f9f",
624
+ "g": "f5f98d73b2f28dc3",
625
+ "name": "link in 1",
626
+ "links": [
627
+ "e7b2f6ad5889ffc5"
628
+ ],
629
+ "x": 565,
630
+ "y": 680,
631
+ "wires": [
632
+ [
633
+ "c12461b654b1dc6a"
634
+ ]
635
+ ]
636
+ },
637
+ {
638
+ "id": "faa0c1e9296ab0e4",
639
+ "type": "range",
640
+ "z": "6af5d35f8af16f9f",
641
+ "g": "f5f98d73b2f28dc3",
642
+ "minin": "0",
643
+ "maxin": "4294967295",
644
+ "minout": "0",
645
+ "maxout": "100",
646
+ "action": "scale",
647
+ "round": true,
648
+ "property": "payload",
649
+ "name": "",
650
+ "x": 665,
651
+ "y": 680,
652
+ "wires": [
653
+ [
654
+ "2cc77291b162787a"
655
+ ]
656
+ ],
657
+ "l": false
658
+ },
659
+ {
660
+ "id": "7ade61767da6c631",
661
+ "type": "ui-text",
662
+ "z": "6af5d35f8af16f9f",
663
+ "g": "f5f98d73b2f28dc3",
664
+ "group": "b3e0efe3e78c4e09",
665
+ "order": 1,
666
+ "width": 0,
667
+ "height": 0,
668
+ "name": "",
669
+ "label": "Battery Level History",
670
+ "format": "{{msg.payload}}",
671
+ "layout": "row-left",
672
+ "style": true,
673
+ "font": "",
674
+ "fontSize": "19",
675
+ "color": "#ffffff",
676
+ "className": "textStyle",
677
+ "x": 1560,
678
+ "y": 720,
679
+ "wires": []
680
+ },
681
+ {
682
+ "id": "49e57135fa0f12c3",
683
+ "type": "change",
684
+ "z": "6af5d35f8af16f9f",
685
+ "g": "f5f98d73b2f28dc3",
686
+ "name": "",
687
+ "rules": [
688
+ {
689
+ "t": "set",
690
+ "p": "payload",
691
+ "pt": "msg",
692
+ "to": "payload.sensor_data.accelerometer_uptime",
693
+ "tot": "msg"
694
+ },
695
+ {
696
+ "t": "set",
697
+ "p": "scale",
698
+ "pt": "msg",
699
+ "to": "payload",
700
+ "tot": "msg"
701
+ }
702
+ ],
703
+ "action": "",
704
+ "property": "",
705
+ "from": "",
706
+ "to": "",
707
+ "reg": false,
708
+ "x": 625,
709
+ "y": 760,
710
+ "wires": [
711
+ [
712
+ "4f58392591eba5a4"
713
+ ]
714
+ ],
715
+ "l": false
716
+ },
717
+ {
718
+ "id": "b0d1d3c625c1b326",
719
+ "type": "link in",
720
+ "z": "6af5d35f8af16f9f",
721
+ "g": "f5f98d73b2f28dc3",
722
+ "name": "link in 6",
723
+ "links": [
724
+ "e7b2f6ad5889ffc5"
725
+ ],
726
+ "x": 565,
727
+ "y": 760,
728
+ "wires": [
729
+ [
730
+ "49e57135fa0f12c3"
731
+ ]
732
+ ]
733
+ },
734
+ {
735
+ "id": "4f58392591eba5a4",
736
+ "type": "range",
737
+ "z": "6af5d35f8af16f9f",
738
+ "g": "f5f98d73b2f28dc3",
739
+ "minin": "0",
740
+ "maxin": "4294967295",
741
+ "minout": "0",
742
+ "maxout": "100",
743
+ "action": "scale",
744
+ "round": true,
745
+ "property": "payload",
746
+ "name": "",
747
+ "x": 675,
748
+ "y": 760,
749
+ "wires": [
750
+ [
751
+ "af4eaf3eeb57c204"
752
+ ]
753
+ ],
754
+ "l": false
755
+ },
756
+ {
757
+ "id": "b1cfde20e26f252e",
758
+ "type": "change",
759
+ "z": "6af5d35f8af16f9f",
760
+ "g": "f5f98d73b2f28dc3",
761
+ "name": "",
762
+ "rules": [
763
+ {
764
+ "t": "set",
765
+ "p": "payload",
766
+ "pt": "msg",
767
+ "to": "payload.sensor_data.digital_input_counter",
768
+ "tot": "msg"
769
+ },
770
+ {
771
+ "t": "set",
772
+ "p": "scale",
773
+ "pt": "msg",
774
+ "to": "payload",
775
+ "tot": "msg"
776
+ }
777
+ ],
778
+ "action": "",
779
+ "property": "",
780
+ "from": "",
781
+ "to": "",
782
+ "reg": false,
783
+ "x": 615,
784
+ "y": 500,
785
+ "wires": [
786
+ [
787
+ "d1dde2c558966312"
788
+ ]
789
+ ],
790
+ "l": false
791
+ },
792
+ {
793
+ "id": "4e076702f7aea5b4",
794
+ "type": "link in",
795
+ "z": "6af5d35f8af16f9f",
796
+ "g": "f5f98d73b2f28dc3",
797
+ "name": "link in 7",
798
+ "links": [
799
+ "e7b2f6ad5889ffc5"
800
+ ],
801
+ "x": 565,
802
+ "y": 500,
803
+ "wires": [
804
+ [
805
+ "b1cfde20e26f252e"
806
+ ]
807
+ ]
808
+ },
809
+ {
810
+ "id": "d1dde2c558966312",
811
+ "type": "range",
812
+ "z": "6af5d35f8af16f9f",
813
+ "g": "f5f98d73b2f28dc3",
814
+ "minin": "0",
815
+ "maxin": "4294967295",
816
+ "minout": "0",
817
+ "maxout": "100",
818
+ "action": "scale",
819
+ "round": true,
820
+ "property": "payload",
821
+ "name": "",
822
+ "x": 665,
823
+ "y": 500,
824
+ "wires": [
825
+ [
826
+ "4bf29016c44d1fc8"
827
+ ]
828
+ ],
829
+ "l": false
830
+ },
831
+ {
832
+ "id": "3a29ded820401139",
833
+ "type": "change",
834
+ "z": "6af5d35f8af16f9f",
835
+ "g": "f5f98d73b2f28dc3",
836
+ "name": "",
837
+ "rules": [
838
+ {
839
+ "t": "set",
840
+ "p": "payload",
841
+ "pt": "msg",
842
+ "to": "payload.sensor_data.digital_input_uptime",
843
+ "tot": "msg"
844
+ },
845
+ {
846
+ "t": "set",
847
+ "p": "scale",
848
+ "pt": "msg",
849
+ "to": "payload",
850
+ "tot": "msg"
851
+ }
852
+ ],
853
+ "action": "",
854
+ "property": "",
855
+ "from": "",
856
+ "to": "",
857
+ "reg": false,
858
+ "x": 615,
859
+ "y": 580,
860
+ "wires": [
861
+ [
862
+ "9a918c17c342279d"
863
+ ]
864
+ ],
865
+ "l": false
866
+ },
867
+ {
868
+ "id": "adeeb8467bc3ca8c",
869
+ "type": "link in",
870
+ "z": "6af5d35f8af16f9f",
871
+ "g": "f5f98d73b2f28dc3",
872
+ "name": "link in 8",
873
+ "links": [
874
+ "e7b2f6ad5889ffc5"
875
+ ],
876
+ "x": 565,
877
+ "y": 580,
878
+ "wires": [
879
+ [
880
+ "3a29ded820401139"
881
+ ]
882
+ ]
883
+ },
884
+ {
885
+ "id": "9a918c17c342279d",
886
+ "type": "range",
887
+ "z": "6af5d35f8af16f9f",
888
+ "g": "f5f98d73b2f28dc3",
889
+ "minin": "0",
890
+ "maxin": "4294967295",
891
+ "minout": "0",
892
+ "maxout": "100",
893
+ "action": "scale",
894
+ "round": true,
895
+ "property": "payload",
896
+ "name": "",
897
+ "x": 665,
898
+ "y": 580,
899
+ "wires": [
900
+ [
901
+ "3126bad7f3b39d9c"
902
+ ]
903
+ ],
904
+ "l": false
905
+ },
906
+ {
907
+ "id": "f3945bc1b91ed67c",
908
+ "type": "change",
909
+ "z": "6af5d35f8af16f9f",
910
+ "g": "f5f98d73b2f28dc3",
911
+ "name": "",
912
+ "rules": [
913
+ {
914
+ "t": "set",
915
+ "p": "payload",
916
+ "pt": "msg",
917
+ "to": "payload.sensor_data.magnetometer_counter",
918
+ "tot": "msg"
919
+ },
920
+ {
921
+ "t": "set",
922
+ "p": "scale",
923
+ "pt": "msg",
924
+ "to": "payload",
925
+ "tot": "msg"
926
+ }
927
+ ],
928
+ "action": "",
929
+ "property": "",
930
+ "from": "",
931
+ "to": "",
932
+ "reg": false,
933
+ "x": 1015,
934
+ "y": 680,
935
+ "wires": [
936
+ [
937
+ "83dff13f781c8d76"
938
+ ]
939
+ ],
940
+ "l": false
941
+ },
942
+ {
943
+ "id": "759a7c531c0a0697",
944
+ "type": "link in",
945
+ "z": "6af5d35f8af16f9f",
946
+ "g": "f5f98d73b2f28dc3",
947
+ "name": "link in 9",
948
+ "links": [
949
+ "e7b2f6ad5889ffc5"
950
+ ],
951
+ "x": 965,
952
+ "y": 680,
953
+ "wires": [
954
+ [
955
+ "f3945bc1b91ed67c"
956
+ ]
957
+ ]
958
+ },
959
+ {
960
+ "id": "83dff13f781c8d76",
961
+ "type": "range",
962
+ "z": "6af5d35f8af16f9f",
963
+ "g": "f5f98d73b2f28dc3",
964
+ "minin": "0",
965
+ "maxin": "4294967295",
966
+ "minout": "0",
967
+ "maxout": "100",
968
+ "action": "scale",
969
+ "round": true,
970
+ "property": "payload",
971
+ "name": "",
972
+ "x": 1065,
973
+ "y": 680,
974
+ "wires": [
975
+ [
976
+ "6eea40e8b22a3ac6"
977
+ ]
978
+ ],
979
+ "l": false
980
+ },
981
+ {
982
+ "id": "7a065adbec7e7123",
983
+ "type": "change",
984
+ "z": "6af5d35f8af16f9f",
985
+ "g": "f5f98d73b2f28dc3",
986
+ "name": "",
987
+ "rules": [
988
+ {
989
+ "t": "set",
990
+ "p": "payload",
991
+ "pt": "msg",
992
+ "to": "payload.sensor_data.magnetometer_uptime",
993
+ "tot": "msg"
994
+ },
995
+ {
996
+ "t": "set",
997
+ "p": "scale",
998
+ "pt": "msg",
999
+ "to": "payload",
1000
+ "tot": "msg"
1001
+ }
1002
+ ],
1003
+ "action": "",
1004
+ "property": "",
1005
+ "from": "",
1006
+ "to": "",
1007
+ "reg": false,
1008
+ "x": 1015,
1009
+ "y": 760,
1010
+ "wires": [
1011
+ [
1012
+ "b5a6f97e44a8f737"
1013
+ ]
1014
+ ],
1015
+ "l": false
1016
+ },
1017
+ {
1018
+ "id": "0cedab15bf537316",
1019
+ "type": "link in",
1020
+ "z": "6af5d35f8af16f9f",
1021
+ "g": "f5f98d73b2f28dc3",
1022
+ "name": "link in 10",
1023
+ "links": [
1024
+ "e7b2f6ad5889ffc5"
1025
+ ],
1026
+ "x": 965,
1027
+ "y": 760,
1028
+ "wires": [
1029
+ [
1030
+ "7a065adbec7e7123"
1031
+ ]
1032
+ ]
1033
+ },
1034
+ {
1035
+ "id": "b5a6f97e44a8f737",
1036
+ "type": "range",
1037
+ "z": "6af5d35f8af16f9f",
1038
+ "g": "f5f98d73b2f28dc3",
1039
+ "minin": "0",
1040
+ "maxin": "4294967295",
1041
+ "minout": "0",
1042
+ "maxout": "100",
1043
+ "action": "scale",
1044
+ "round": true,
1045
+ "property": "payload",
1046
+ "name": "65535",
1047
+ "x": 1065,
1048
+ "y": 760,
1049
+ "wires": [
1050
+ [
1051
+ "801794203810d583"
1052
+ ]
1053
+ ],
1054
+ "l": false
1055
+ },
1056
+ {
1057
+ "id": "e4f9ec6d20adfc32",
1058
+ "type": "change",
1059
+ "z": "6af5d35f8af16f9f",
1060
+ "g": "f5f98d73b2f28dc3",
1061
+ "name": "",
1062
+ "rules": [
1063
+ {
1064
+ "t": "set",
1065
+ "p": "payload",
1066
+ "pt": "msg",
1067
+ "to": "payload.battery_percent",
1068
+ "tot": "msg"
1069
+ },
1070
+ {
1071
+ "t": "set",
1072
+ "p": "payload",
1073
+ "pt": "msg",
1074
+ "to": "$number(payload)",
1075
+ "tot": "jsonata"
1076
+ }
1077
+ ],
1078
+ "action": "",
1079
+ "property": "",
1080
+ "from": "",
1081
+ "to": "",
1082
+ "reg": false,
1083
+ "x": 1455,
1084
+ "y": 680,
1085
+ "wires": [
1086
+ [
1087
+ "d10e6d07c4588a15",
1088
+ "750f2e6132424c97"
1089
+ ]
1090
+ ],
1091
+ "l": false
1092
+ },
1093
+ {
1094
+ "id": "12bbfca88d3c4a99",
1095
+ "type": "link in",
1096
+ "z": "6af5d35f8af16f9f",
1097
+ "g": "f5f98d73b2f28dc3",
1098
+ "name": "link in 12",
1099
+ "links": [
1100
+ "e7b2f6ad5889ffc5"
1101
+ ],
1102
+ "x": 1405,
1103
+ "y": 680,
1104
+ "wires": [
1105
+ [
1106
+ "e4f9ec6d20adfc32"
1107
+ ]
1108
+ ]
1109
+ },
1110
+ {
1111
+ "id": "1479b2f738fa4f08",
1112
+ "type": "change",
1113
+ "z": "6af5d35f8af16f9f",
1114
+ "g": "f5f98d73b2f28dc3",
1115
+ "name": "",
1116
+ "rules": [
1117
+ {
1118
+ "t": "set",
1119
+ "p": "payload",
1120
+ "pt": "msg",
1121
+ "to": "payload.sensor_data.ct_input_counter",
1122
+ "tot": "msg"
1123
+ },
1124
+ {
1125
+ "t": "set",
1126
+ "p": "scale",
1127
+ "pt": "msg",
1128
+ "to": "payload",
1129
+ "tot": "msg"
1130
+ }
1131
+ ],
1132
+ "action": "",
1133
+ "property": "",
1134
+ "from": "",
1135
+ "to": "",
1136
+ "reg": false,
1137
+ "x": 995,
1138
+ "y": 500,
1139
+ "wires": [
1140
+ [
1141
+ "7521e7bc7d60dc7f"
1142
+ ]
1143
+ ],
1144
+ "l": false
1145
+ },
1146
+ {
1147
+ "id": "18bf5de41cf91148",
1148
+ "type": "link in",
1149
+ "z": "6af5d35f8af16f9f",
1150
+ "g": "f5f98d73b2f28dc3",
1151
+ "name": "link in 13",
1152
+ "links": [
1153
+ "e7b2f6ad5889ffc5"
1154
+ ],
1155
+ "x": 945,
1156
+ "y": 500,
1157
+ "wires": [
1158
+ [
1159
+ "1479b2f738fa4f08"
1160
+ ]
1161
+ ]
1162
+ },
1163
+ {
1164
+ "id": "7521e7bc7d60dc7f",
1165
+ "type": "range",
1166
+ "z": "6af5d35f8af16f9f",
1167
+ "g": "f5f98d73b2f28dc3",
1168
+ "minin": "0",
1169
+ "maxin": "4294967295",
1170
+ "minout": "0",
1171
+ "maxout": "100",
1172
+ "action": "scale",
1173
+ "round": true,
1174
+ "property": "payload",
1175
+ "name": "",
1176
+ "x": 1045,
1177
+ "y": 500,
1178
+ "wires": [
1179
+ [
1180
+ "7752e7d623f58741"
1181
+ ]
1182
+ ],
1183
+ "l": false
1184
+ },
1185
+ {
1186
+ "id": "fd5a25c48281654f",
1187
+ "type": "change",
1188
+ "z": "6af5d35f8af16f9f",
1189
+ "g": "f5f98d73b2f28dc3",
1190
+ "name": "",
1191
+ "rules": [
1192
+ {
1193
+ "t": "set",
1194
+ "p": "payload",
1195
+ "pt": "msg",
1196
+ "to": "payload.sensor_data.ct_input_uptime",
1197
+ "tot": "msg"
1198
+ },
1199
+ {
1200
+ "t": "set",
1201
+ "p": "scale",
1202
+ "pt": "msg",
1203
+ "to": "payload",
1204
+ "tot": "msg"
1205
+ }
1206
+ ],
1207
+ "action": "",
1208
+ "property": "",
1209
+ "from": "",
1210
+ "to": "",
1211
+ "reg": false,
1212
+ "x": 995,
1213
+ "y": 580,
1214
+ "wires": [
1215
+ [
1216
+ "fdb13f75496b2355"
1217
+ ]
1218
+ ],
1219
+ "l": false
1220
+ },
1221
+ {
1222
+ "id": "3b83fe1fc8f978b7",
1223
+ "type": "link in",
1224
+ "z": "6af5d35f8af16f9f",
1225
+ "g": "f5f98d73b2f28dc3",
1226
+ "name": "link in 14",
1227
+ "links": [
1228
+ "e7b2f6ad5889ffc5"
1229
+ ],
1230
+ "x": 945,
1231
+ "y": 580,
1232
+ "wires": [
1233
+ [
1234
+ "fd5a25c48281654f"
1235
+ ]
1236
+ ]
1237
+ },
1238
+ {
1239
+ "id": "fdb13f75496b2355",
1240
+ "type": "range",
1241
+ "z": "6af5d35f8af16f9f",
1242
+ "g": "f5f98d73b2f28dc3",
1243
+ "minin": "0",
1244
+ "maxin": "4294967295",
1245
+ "minout": "0",
1246
+ "maxout": "100",
1247
+ "action": "scale",
1248
+ "round": true,
1249
+ "property": "payload",
1250
+ "name": "",
1251
+ "x": 1045,
1252
+ "y": 580,
1253
+ "wires": [
1254
+ [
1255
+ "2c2a81bd09fd0513"
1256
+ ]
1257
+ ],
1258
+ "l": false
1259
+ },
1260
+ {
1261
+ "id": "1e1c9c8139945fe8",
1262
+ "type": "change",
1263
+ "z": "6af5d35f8af16f9f",
1264
+ "g": "f5f98d73b2f28dc3",
1265
+ "name": "",
1266
+ "rules": [
1267
+ {
1268
+ "t": "set",
1269
+ "p": "payload",
1270
+ "pt": "msg",
1271
+ "to": "payload.sensor_data.opto_input_counter",
1272
+ "tot": "msg"
1273
+ },
1274
+ {
1275
+ "t": "set",
1276
+ "p": "scale",
1277
+ "pt": "msg",
1278
+ "to": "payload",
1279
+ "tot": "msg"
1280
+ }
1281
+ ],
1282
+ "action": "",
1283
+ "property": "",
1284
+ "from": "",
1285
+ "to": "",
1286
+ "reg": false,
1287
+ "x": 1385,
1288
+ "y": 500,
1289
+ "wires": [
1290
+ [
1291
+ "cd84d3ed578c8c32"
1292
+ ]
1293
+ ],
1294
+ "l": false
1295
+ },
1296
+ {
1297
+ "id": "2635b66c0c38bcb5",
1298
+ "type": "link in",
1299
+ "z": "6af5d35f8af16f9f",
1300
+ "g": "f5f98d73b2f28dc3",
1301
+ "name": "link in 15",
1302
+ "links": [
1303
+ "e7b2f6ad5889ffc5"
1304
+ ],
1305
+ "x": 1335,
1306
+ "y": 500,
1307
+ "wires": [
1308
+ [
1309
+ "1e1c9c8139945fe8"
1310
+ ]
1311
+ ]
1312
+ },
1313
+ {
1314
+ "id": "cd84d3ed578c8c32",
1315
+ "type": "range",
1316
+ "z": "6af5d35f8af16f9f",
1317
+ "g": "f5f98d73b2f28dc3",
1318
+ "minin": "0",
1319
+ "maxin": "4294967295",
1320
+ "minout": "0",
1321
+ "maxout": "100",
1322
+ "action": "scale",
1323
+ "round": true,
1324
+ "property": "payload",
1325
+ "name": "",
1326
+ "x": 1435,
1327
+ "y": 500,
1328
+ "wires": [
1329
+ [
1330
+ "be2555b50df4c07e"
1331
+ ]
1332
+ ],
1333
+ "l": false
1334
+ },
1335
+ {
1336
+ "id": "1c9f89eefedc03a0",
1337
+ "type": "change",
1338
+ "z": "6af5d35f8af16f9f",
1339
+ "g": "f5f98d73b2f28dc3",
1340
+ "name": "",
1341
+ "rules": [
1342
+ {
1343
+ "t": "set",
1344
+ "p": "payload",
1345
+ "pt": "msg",
1346
+ "to": "payload.sensor_data.opto_input_uptime",
1347
+ "tot": "msg"
1348
+ },
1349
+ {
1350
+ "t": "set",
1351
+ "p": "scale",
1352
+ "pt": "msg",
1353
+ "to": "payload",
1354
+ "tot": "msg"
1355
+ }
1356
+ ],
1357
+ "action": "",
1358
+ "property": "",
1359
+ "from": "",
1360
+ "to": "",
1361
+ "reg": false,
1362
+ "x": 1385,
1363
+ "y": 580,
1364
+ "wires": [
1365
+ [
1366
+ "e5481809417bf07e"
1367
+ ]
1368
+ ],
1369
+ "l": false
1370
+ },
1371
+ {
1372
+ "id": "d94679c4df212c3e",
1373
+ "type": "link in",
1374
+ "z": "6af5d35f8af16f9f",
1375
+ "g": "f5f98d73b2f28dc3",
1376
+ "name": "link in 16",
1377
+ "links": [
1378
+ "e7b2f6ad5889ffc5"
1379
+ ],
1380
+ "x": 1335,
1381
+ "y": 580,
1382
+ "wires": [
1383
+ [
1384
+ "1c9f89eefedc03a0"
1385
+ ]
1386
+ ]
1387
+ },
1388
+ {
1389
+ "id": "e5481809417bf07e",
1390
+ "type": "range",
1391
+ "z": "6af5d35f8af16f9f",
1392
+ "g": "f5f98d73b2f28dc3",
1393
+ "minin": "0",
1394
+ "maxin": "4294967295",
1395
+ "minout": "0",
1396
+ "maxout": "100",
1397
+ "action": "scale",
1398
+ "round": true,
1399
+ "property": "payload",
1400
+ "name": "",
1401
+ "x": 1435,
1402
+ "y": 580,
1403
+ "wires": [
1404
+ [
1405
+ "9ff2072cd0fb2313"
1406
+ ]
1407
+ ],
1408
+ "l": false
1409
+ },
1410
+ {
1411
+ "id": "882350dd13aaef44",
1412
+ "type": "ui-template",
1413
+ "z": "6af5d35f8af16f9f",
1414
+ "g": "f769eb10ed6e4e8e",
1415
+ "group": "",
1416
+ "page": "9c7c0c028d2ab7f2",
1417
+ "ui": "",
1418
+ "name": "Style",
1419
+ "order": 0,
1420
+ "width": 0,
1421
+ "height": 0,
1422
+ "head": "",
1423
+ "format": ".v-main {\n background-color:#141316;\n --v-layout-top: 0px !important;\n --v-layout-left: 181px !important;\n}\n.bg-group-background{\n border-radius: 30px !important;\n background-color: #1f2027 !important;\n border-color: #1f2027 !important;\n}\n.v-toolbar{\n left: 12px !important;\n top: 119px !important;\n width: 68px !important;\n height: 62px !important;\n border-radius: 15px;\n background-color: rgb(5, 5, 5, 141) !important;\n}\n.v-navigation-drawer--left{\n top: 186px !important;\n height: 160px !important;\n border-radius: 15px;\n left: 12px !important;\n width: 167px !important;\n background-color: rgba(4, 4, 4, 0.653) !important;\n}\n.textStyle\n{\n top: -15px;\n left: 20px;\n position: relative;\n width: 280px !important;\n font-weight: bold !important; \n}\n.chartStyle{\n position: relative;\n top: -40px;\n}\n.mainGroups {\n width: 355px !important;\n}\n.nrdb-ui-group .v-card {\n height: 322px;\n}\n",
1424
+ "storeOutMessages": true,
1425
+ "passthru": false,
1426
+ "resendOnRefresh": true,
1427
+ "templateScope": "page:style",
1428
+ "className": "",
1429
+ "x": 1610,
1430
+ "y": 360,
1431
+ "wires": [
1432
+ []
1433
+ ]
1434
+ },
1435
+ {
1436
+ "id": "6679aa49def8787a",
1437
+ "type": "ui-template",
1438
+ "z": "6af5d35f8af16f9f",
1439
+ "g": "f769eb10ed6e4e8e",
1440
+ "group": "",
1441
+ "page": "9c7c0c028d2ab7f2",
1442
+ "ui": "",
1443
+ "name": "Logo",
1444
+ "order": 0,
1445
+ "width": 0,
1446
+ "height": 0,
1447
+ "head": "",
1448
+ "format": "<template>\n <a href=\"https://ncd.io/\" target=\"_blank\">\n <div class=\"logo2\">\n <v-chip label size=\"x-large\" :width=\"144\" color=\"white\" text=\"ncd.io\"></v-chip>\n </div>\n </a>\n</template>\n<style>\n.logo2 {\n transform: rotate(0deg);\n width: 130px;\n position: fixed;\n top: 13px;\n left: 12px;\n}\n.v-chip.v-chip--size-x-large {\n --v-chip-height: 89px;\n font-size: 2.125rem;\n font-family: system-ui;\n}\n.v-chip--variant-tonal .v-chip__underlay {\n border-radius: 15px !important;\n}\n</style>",
1449
+ "storeOutMessages": true,
1450
+ "passthru": true,
1451
+ "resendOnRefresh": true,
1452
+ "templateScope": "widget:page",
1453
+ "className": "",
1454
+ "x": 1490,
1455
+ "y": 360,
1456
+ "wires": [
1457
+ []
1458
+ ]
1459
+ },
1460
+ {
1461
+ "id": "e7b2f6ad5889ffc5",
1462
+ "type": "link out",
1463
+ "z": "6af5d35f8af16f9f",
1464
+ "name": "link out 1",
1465
+ "mode": "link",
1466
+ "links": [
1467
+ "d94679c4df212c3e",
1468
+ "759a7c531c0a0697",
1469
+ "07780ff6c81baaed",
1470
+ "0cedab15bf537316",
1471
+ "4e076702f7aea5b4",
1472
+ "12bbfca88d3c4a99",
1473
+ "3b83fe1fc8f978b7",
1474
+ "c9ce7755ca38d39f",
1475
+ "9a7b607f171abea9",
1476
+ "18bf5de41cf91148",
1477
+ "adeeb8467bc3ca8c",
1478
+ "2635b66c0c38bcb5",
1479
+ "b0d1d3c625c1b326",
1480
+ "a35c13575a932d7e",
1481
+ "c8a3c7ecd90c290c",
1482
+ "52c5f2bfb69f6948"
1483
+ ],
1484
+ "x": 455,
1485
+ "y": 580,
1486
+ "wires": []
1487
+ },
1488
+ {
1489
+ "id": "5442a27ce3b22075",
1490
+ "type": "function",
1491
+ "z": "6af5d35f8af16f9f",
1492
+ "name": "readyStatus",
1493
+ "func": "msg = {\n \"status\": {\n \"fill\": \"green\",\n \"shape\": \"dot\",\n \"text\": \"ready\"\n }\n}\nreturn msg;",
1494
+ "outputs": 1,
1495
+ "timeout": 0,
1496
+ "noerr": 0,
1497
+ "initialize": "",
1498
+ "finalize": "",
1499
+ "libs": [],
1500
+ "x": 670,
1501
+ "y": 380,
1502
+ "wires": [
1503
+ []
1504
+ ]
1505
+ },
1506
+ {
1507
+ "id": "c9ce7755ca38d39f",
1508
+ "type": "link in",
1509
+ "z": "6af5d35f8af16f9f",
1510
+ "name": "link in 18",
1511
+ "links": [
1512
+ "e7b2f6ad5889ffc5"
1513
+ ],
1514
+ "x": 555,
1515
+ "y": 380,
1516
+ "wires": [
1517
+ [
1518
+ "5442a27ce3b22075"
1519
+ ]
1520
+ ]
1521
+ },
1522
+ {
1523
+ "id": "0d96e2fb91524ab7",
1524
+ "type": "switch",
1525
+ "z": "6af5d35f8af16f9f",
1526
+ "name": "filterData",
1527
+ "property": "topic",
1528
+ "propertyType": "msg",
1529
+ "rules": [
1530
+ {
1531
+ "t": "eq",
1532
+ "v": "sensor_data",
1533
+ "vt": "str"
1534
+ }
1535
+ ],
1536
+ "checkall": "true",
1537
+ "repair": false,
1538
+ "outputs": 1,
1539
+ "x": 220,
1540
+ "y": 580,
1541
+ "wires": [
1542
+ [
1543
+ "27571189e46c0ea4"
1544
+ ]
1545
+ ]
1546
+ },
1547
+ {
1548
+ "id": "27571189e46c0ea4",
1549
+ "type": "switch",
1550
+ "z": "6af5d35f8af16f9f",
1551
+ "name": "filterType",
1552
+ "property": "payload.sensor_type",
1553
+ "propertyType": "msg",
1554
+ "rules": [
1555
+ {
1556
+ "t": "eq",
1557
+ "v": "108",
1558
+ "vt": "num"
1559
+ }
1560
+ ],
1561
+ "checkall": "true",
1562
+ "repair": false,
1563
+ "outputs": 1,
1564
+ "x": 360,
1565
+ "y": 580,
1566
+ "wires": [
1567
+ [
1568
+ "e7b2f6ad5889ffc5"
1569
+ ]
1570
+ ]
1571
+ },
1572
+ {
1573
+ "id": "750f2e6132424c97",
1574
+ "type": "ui-template",
1575
+ "z": "6af5d35f8af16f9f",
1576
+ "g": "f5f98d73b2f28dc3",
1577
+ "group": "0bd2c4243f30c5d4",
1578
+ "page": "",
1579
+ "ui": "",
1580
+ "name": "batteryGauge",
1581
+ "order": 2,
1582
+ "width": "2",
1583
+ "height": "1",
1584
+ "head": "",
1585
+ "format": "<template>\n <v-progress-circular class=\"gaugeVue\" bg-color=\"#383838\" model-value=\"20\" :size=\"270\" :width=\"10\" color=\"yellow\" v-model=\"value\">\n <div class=\"icon\">\n <v-icon size=\"smaller\" color=\"#ffce21\" icon=\"mdi-battery-charging-60\"></v-icon>\n </div>\n <div class=\"text-center\">\n {{ msg.payload.toFixed(2)}}%\n </div>\n </v-progress-circular>\n</template>",
1586
+ "storeOutMessages": true,
1587
+ "passthru": false,
1588
+ "resendOnRefresh": true,
1589
+ "templateScope": "local",
1590
+ "className": "",
1591
+ "x": 1580,
1592
+ "y": 680,
1593
+ "wires": [
1594
+ []
1595
+ ]
1596
+ },
1597
+ {
1598
+ "id": "f769eb10ed6e4e8e",
1599
+ "type": "group",
1600
+ "z": "6af5d35f8af16f9f",
1601
+ "name": "STYLE",
1602
+ "style": {
1603
+ "stroke": "#999999",
1604
+ "fill": "none",
1605
+ "fill-opacity": "1",
1606
+ "label": true,
1607
+ "color": "#a4a4a4"
1608
+ },
1609
+ "nodes": [
1610
+ "882350dd13aaef44",
1611
+ "6679aa49def8787a"
1612
+ ],
1613
+ "x": 1414,
1614
+ "y": 319,
1615
+ "w": 272,
1616
+ "h": 82
1617
+ },
1618
+ {
1619
+ "id": "f5f98d73b2f28dc3",
1620
+ "type": "group",
1621
+ "z": "6af5d35f8af16f9f",
1622
+ "name": "SENSOR DATA",
1623
+ "style": {
1624
+ "label": true
1625
+ },
1626
+ "nodes": [
1627
+ "0dbd8cdac68f3b94",
1628
+ "4bf29016c44d1fc8",
1629
+ "5620868c18230265",
1630
+ "3126bad7f3b39d9c",
1631
+ "453bd967e89403a4",
1632
+ "7752e7d623f58741",
1633
+ "a0bc12baef062058",
1634
+ "2c2a81bd09fd0513",
1635
+ "0e90a1b56864e939",
1636
+ "be2555b50df4c07e",
1637
+ "6f6dde7348854ef6",
1638
+ "9ff2072cd0fb2313",
1639
+ "b181f50335ad845e",
1640
+ "2cc77291b162787a",
1641
+ "90d910e0f9e22bcd",
1642
+ "af4eaf3eeb57c204",
1643
+ "96131db36375a9b7",
1644
+ "6eea40e8b22a3ac6",
1645
+ "d16a496eaf075b8a",
1646
+ "801794203810d583",
1647
+ "7e64924383193d38",
1648
+ "d10e6d07c4588a15",
1649
+ "c12461b654b1dc6a",
1650
+ "9a7b607f171abea9",
1651
+ "faa0c1e9296ab0e4",
1652
+ "7ade61767da6c631",
1653
+ "49e57135fa0f12c3",
1654
+ "b0d1d3c625c1b326",
1655
+ "4f58392591eba5a4",
1656
+ "b1cfde20e26f252e",
1657
+ "4e076702f7aea5b4",
1658
+ "d1dde2c558966312",
1659
+ "3a29ded820401139",
1660
+ "adeeb8467bc3ca8c",
1661
+ "9a918c17c342279d",
1662
+ "f3945bc1b91ed67c",
1663
+ "759a7c531c0a0697",
1664
+ "83dff13f781c8d76",
1665
+ "7a065adbec7e7123",
1666
+ "0cedab15bf537316",
1667
+ "b5a6f97e44a8f737",
1668
+ "e4f9ec6d20adfc32",
1669
+ "12bbfca88d3c4a99",
1670
+ "1479b2f738fa4f08",
1671
+ "18bf5de41cf91148",
1672
+ "7521e7bc7d60dc7f",
1673
+ "fd5a25c48281654f",
1674
+ "3b83fe1fc8f978b7",
1675
+ "fdb13f75496b2355",
1676
+ "1e1c9c8139945fe8",
1677
+ "2635b66c0c38bcb5",
1678
+ "cd84d3ed578c8c32",
1679
+ "1c9f89eefedc03a0",
1680
+ "d94679c4df212c3e",
1681
+ "e5481809417bf07e",
1682
+ "750f2e6132424c97"
1683
+ ],
1684
+ "x": 524,
1685
+ "y": 419,
1686
+ "w": 1162,
1687
+ "h": 382
1688
+ },
1689
+ {
1690
+ "id": "a1614549c408f643",
1691
+ "type": "ui-group",
1692
+ "name": "dinCountGroup",
1693
+ "page": "9c7c0c028d2ab7f2",
1694
+ "width": "2",
1695
+ "height": "1",
1696
+ "order": 1,
1697
+ "showTitle": false,
1698
+ "className": "mainGroups",
1699
+ "visible": "true",
1700
+ "disabled": "false"
1701
+ },
1702
+ {
1703
+ "id": "bb34489cec40b987",
1704
+ "type": "ui-group",
1705
+ "name": "dinUptimeGroup",
1706
+ "page": "9c7c0c028d2ab7f2",
1707
+ "width": "2",
1708
+ "height": "1",
1709
+ "order": 6,
1710
+ "showTitle": false,
1711
+ "className": "mainGroups",
1712
+ "visible": "true",
1713
+ "disabled": "false"
1714
+ },
1715
+ {
1716
+ "id": "061122425c5dc0ba",
1717
+ "type": "ui-group",
1718
+ "name": "ctInCountGroup",
1719
+ "page": "9c7c0c028d2ab7f2",
1720
+ "width": "2",
1721
+ "height": "1",
1722
+ "order": 2,
1723
+ "showTitle": false,
1724
+ "className": "mainGroups",
1725
+ "visible": "true",
1726
+ "disabled": "false"
1727
+ },
1728
+ {
1729
+ "id": "061c5d801d70f8e9",
1730
+ "type": "ui-group",
1731
+ "name": "ctInUptimeGroup",
1732
+ "page": "9c7c0c028d2ab7f2",
1733
+ "width": "2",
1734
+ "height": "1",
1735
+ "order": 7,
1736
+ "showTitle": false,
1737
+ "className": "mainGroups",
1738
+ "visible": "true",
1739
+ "disabled": "false"
1740
+ },
1741
+ {
1742
+ "id": "e97e0ee50456d11d",
1743
+ "type": "ui-group",
1744
+ "name": "optoInCountGroup",
1745
+ "page": "9c7c0c028d2ab7f2",
1746
+ "width": "2",
1747
+ "height": "1",
1748
+ "order": 3,
1749
+ "showTitle": false,
1750
+ "className": "mainGroups",
1751
+ "visible": "true",
1752
+ "disabled": "false"
1753
+ },
1754
+ {
1755
+ "id": "fbe59b88eea649ee",
1756
+ "type": "ui-group",
1757
+ "name": "optoInUptimeGroup",
1758
+ "page": "9c7c0c028d2ab7f2",
1759
+ "width": "2",
1760
+ "height": "1",
1761
+ "order": 8,
1762
+ "showTitle": false,
1763
+ "className": "mainGroups",
1764
+ "visible": "true",
1765
+ "disabled": "false"
1766
+ },
1767
+ {
1768
+ "id": "03fa99e0c2b17b14",
1769
+ "type": "ui-group",
1770
+ "name": "accInCountGroup",
1771
+ "page": "9c7c0c028d2ab7f2",
1772
+ "width": "2",
1773
+ "height": "1",
1774
+ "order": 4,
1775
+ "showTitle": false,
1776
+ "className": "mainGroups",
1777
+ "visible": "true",
1778
+ "disabled": "false"
1779
+ },
1780
+ {
1781
+ "id": "9da508f4b638785d",
1782
+ "type": "ui-group",
1783
+ "name": "accInUptimeGroup",
1784
+ "page": "9c7c0c028d2ab7f2",
1785
+ "width": "2",
1786
+ "height": "1",
1787
+ "order": 9,
1788
+ "showTitle": false,
1789
+ "className": "mainGroups",
1790
+ "visible": "true",
1791
+ "disabled": "false"
1792
+ },
1793
+ {
1794
+ "id": "c5b43765ca326def",
1795
+ "type": "ui-group",
1796
+ "name": "magInCountGroup",
1797
+ "page": "9c7c0c028d2ab7f2",
1798
+ "width": "4",
1799
+ "height": "1",
1800
+ "order": 5,
1801
+ "showTitle": false,
1802
+ "className": "mainGroups",
1803
+ "visible": "true",
1804
+ "disabled": "false"
1805
+ },
1806
+ {
1807
+ "id": "4434273855505cac",
1808
+ "type": "ui-group",
1809
+ "name": "magInUptimeGroup",
1810
+ "page": "9c7c0c028d2ab7f2",
1811
+ "width": "4",
1812
+ "height": "1",
1813
+ "order": 10,
1814
+ "showTitle": false,
1815
+ "className": "mainGroups",
1816
+ "visible": "true",
1817
+ "disabled": "false"
1818
+ },
1819
+ {
1820
+ "id": "0bd2c4243f30c5d4",
1821
+ "type": "ui-group",
1822
+ "name": "batteryGaugeGroup",
1823
+ "page": "9c7c0c028d2ab7f2",
1824
+ "width": "2",
1825
+ "height": "1",
1826
+ "order": 12,
1827
+ "showTitle": false,
1828
+ "className": "mainGroups",
1829
+ "visible": "true",
1830
+ "disabled": "false"
1831
+ },
1832
+ {
1833
+ "id": "b3e0efe3e78c4e09",
1834
+ "type": "ui-group",
1835
+ "name": "Battery Level History",
1836
+ "page": "9c7c0c028d2ab7f2",
1837
+ "width": "8",
1838
+ "height": "1",
1839
+ "order": 11,
1840
+ "showTitle": false,
1841
+ "className": "batteryGroup",
1842
+ "visible": "true",
1843
+ "disabled": "false"
1844
+ },
1845
+ {
1846
+ "id": "9c7c0c028d2ab7f2",
1847
+ "type": "ui-page",
1848
+ "name": "uptime-dashboard",
1849
+ "ui": "0ee9ba68ec550cf9",
1850
+ "path": "/uptime1",
1851
+ "icon": "home",
1852
+ "layout": "grid",
1853
+ "theme": "ed51bf90fe5d9371",
1854
+ "order": 1,
1855
+ "className": "",
1856
+ "visible": "true",
1857
+ "disabled": "false"
1858
+ },
1859
+ {
1860
+ "id": "0ee9ba68ec550cf9",
1861
+ "type": "ui-base",
1862
+ "name": "ncd-ui-base",
1863
+ "path": "/dashboard",
1864
+ "includeClientData": true,
1865
+ "acceptsClientConfig": [
1866
+ "ui-notification",
1867
+ "ui-control"
1868
+ ],
1869
+ "showPathInSidebar": false,
1870
+ "navigationStyle": "default"
1871
+ },
1872
+ {
1873
+ "id": "ed51bf90fe5d9371",
1874
+ "type": "ui-theme",
1875
+ "name": "ncdTheme",
1876
+ "colors": {
1877
+ "surface": "#0099cc",
1878
+ "primary": "#0931fb",
1879
+ "bgPage": "#000000",
1880
+ "groupBg": "#191a1a",
1881
+ "groupOutline": "#313030"
1882
+ },
1883
+ "sizes": {
1884
+ "pagePadding": "12px",
1885
+ "groupGap": "6px",
1886
+ "groupBorderRadius": "8px",
1887
+ "widgetGap": "10px"
1888
+ }
1889
+ },
1890
+ {
1891
+ "id": "5aa9365e086c5f4a",
1892
+ "type": "tab",
1893
+ "label": "108 QS Example Dashboard",
1894
+ "disabled": false,
1895
+ "info": "",
1896
+ "env": []
1897
+ },
1898
+ {
1899
+ "id": "38cc403e12f095f5",
1900
+ "type": "subflow:6af5d35f8af16f9f",
1901
+ "z": "5aa9365e086c5f4a",
1902
+ "name": "",
1903
+ "x": 470,
1904
+ "y": 180,
1905
+ "wires": []
1906
+ },
1907
+ {
1908
+ "id": "d93c93ada58e2625",
1909
+ "type": "ncd-gateway-node",
1910
+ "z": "5aa9365e086c5f4a",
1911
+ "name": "",
1912
+ "connection": "3a158777559a1790",
1913
+ "unknown_devices": 0,
1914
+ "outputs": 1,
1915
+ "x": 250,
1916
+ "y": 180,
1917
+ "wires": [
1918
+ [
1919
+ "38cc403e12f095f5"
1920
+ ]
1921
+ ]
1922
+ },
1923
+ {
1924
+ "id": "3a158777559a1790",
1925
+ "type": "ncd-gateway-config",
1926
+ "name": "",
1927
+ "comm_type": "serial",
1928
+ "ip_address": "",
1929
+ "tcp_port": "2101",
1930
+ "port": "/dev/ttymxc2",
1931
+ "baudRate": "115200",
1932
+ "pan_id": "7FFF",
1933
+ "rssi": false
1934
+ }
1935
+ ]