smart-nodes 0.1.0

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.
Files changed (62) hide show
  1. package/LICENSE +21 -0
  2. package/LICENSE.md +21 -0
  3. package/README.md +127 -0
  4. package/central/central.html +328 -0
  5. package/central/central.js +95 -0
  6. package/compare/compare.html +137 -0
  7. package/compare/compare.js +151 -0
  8. package/delay/delay.html +192 -0
  9. package/delay/delay.js +175 -0
  10. package/examples/central.json +804 -0
  11. package/examples/central.png +0 -0
  12. package/examples/compare.json +916 -0
  13. package/examples/compare.png +0 -0
  14. package/examples/delay.json +198 -0
  15. package/examples/delay.png +0 -0
  16. package/examples/forwarder.json +152 -0
  17. package/examples/forwarder.png +0 -0
  18. package/examples/hysteresis.json +358 -0
  19. package/examples/hysteresis.png +0 -0
  20. package/examples/light-control.json +499 -0
  21. package/examples/light-control.png +0 -0
  22. package/examples/logic.json +562 -0
  23. package/examples/logic.png +0 -0
  24. package/examples/long-press-control.json +113 -0
  25. package/examples/long-press-control.png +0 -0
  26. package/examples/multi-press-control.json +136 -0
  27. package/examples/multi-press-control.png +0 -0
  28. package/examples/scene-control.json +535 -0
  29. package/examples/scene-control.png +0 -0
  30. package/examples/scheduler.json +164 -0
  31. package/examples/scheduler.png +0 -0
  32. package/examples/shutter-complex-control.json +489 -0
  33. package/examples/shutter-complex-control.png +0 -0
  34. package/examples/shutter-control.json +457 -0
  35. package/examples/shutter-control.png +0 -0
  36. package/examples/statistic.json +1112 -0
  37. package/examples/statistic.png +0 -0
  38. package/forwarder/forwarder.html +100 -0
  39. package/forwarder/forwarder.js +95 -0
  40. package/hysteresis/hysteresis.html +152 -0
  41. package/hysteresis/hysteresis.js +146 -0
  42. package/light-control/light-control.html +358 -0
  43. package/light-control/light-control.js +231 -0
  44. package/logic/logic.html +168 -0
  45. package/logic/logic.js +171 -0
  46. package/long-press-control/long-press-control.html +74 -0
  47. package/long-press-control/long-press-control.js +75 -0
  48. package/multi-press-control/multi-press-control.html +135 -0
  49. package/multi-press-control/multi-press-control.js +68 -0
  50. package/package.json +59 -0
  51. package/persistence.js +74 -0
  52. package/scene-control/scene-control.html +575 -0
  53. package/scene-control/scene-control.js +265 -0
  54. package/scheduler/scheduler.html +338 -0
  55. package/scheduler/scheduler.js +209 -0
  56. package/shutter-complex-control/shutter-complex-control.html +330 -0
  57. package/shutter-complex-control/shutter-complex-control.js +399 -0
  58. package/shutter-control/shutter-control.html +283 -0
  59. package/shutter-control/shutter-control.js +208 -0
  60. package/smart_helper.js +156 -0
  61. package/statistic/statistic.html +107 -0
  62. package/statistic/statistic.js +196 -0
@@ -0,0 +1,1112 @@
1
+ [
2
+ {
3
+ "id": "92b72bbf55534584",
4
+ "type": "tab",
5
+ "label": "Statistic",
6
+ "disabled": false,
7
+ "info": "",
8
+ "env": []
9
+ },
10
+ {
11
+ "id": "361891fc4ee49249",
12
+ "type": "smart_statistic",
13
+ "z": "92b72bbf55534584",
14
+ "name": "",
15
+ "operation": "MIN",
16
+ "count": 10,
17
+ "x": 290,
18
+ "y": 120,
19
+ "wires": [
20
+ [
21
+ "0f3a3782c5ea37a9"
22
+ ]
23
+ ]
24
+ },
25
+ {
26
+ "id": "4a13a92a1acbf410",
27
+ "type": "inject",
28
+ "z": "92b72bbf55534584",
29
+ "name": "",
30
+ "props": [
31
+ {
32
+ "p": "payload"
33
+ },
34
+ {
35
+ "p": "topic",
36
+ "vt": "str"
37
+ }
38
+ ],
39
+ "repeat": "",
40
+ "crontab": "",
41
+ "once": false,
42
+ "onceDelay": 0.1,
43
+ "topic": "1",
44
+ "payload": "50",
45
+ "payloadType": "num",
46
+ "x": 110,
47
+ "y": 100,
48
+ "wires": [
49
+ [
50
+ "361891fc4ee49249"
51
+ ]
52
+ ]
53
+ },
54
+ {
55
+ "id": "828cfbf2ee448989",
56
+ "type": "inject",
57
+ "z": "92b72bbf55534584",
58
+ "name": "",
59
+ "props": [
60
+ {
61
+ "p": "payload"
62
+ },
63
+ {
64
+ "p": "topic",
65
+ "vt": "str"
66
+ }
67
+ ],
68
+ "repeat": "",
69
+ "crontab": "",
70
+ "once": false,
71
+ "onceDelay": 0.1,
72
+ "topic": "2",
73
+ "payload": "60",
74
+ "payloadType": "num",
75
+ "x": 110,
76
+ "y": 140,
77
+ "wires": [
78
+ [
79
+ "361891fc4ee49249"
80
+ ]
81
+ ]
82
+ },
83
+ {
84
+ "id": "0f3a3782c5ea37a9",
85
+ "type": "debug",
86
+ "z": "92b72bbf55534584",
87
+ "name": "debug 1",
88
+ "active": true,
89
+ "tosidebar": true,
90
+ "console": false,
91
+ "tostatus": false,
92
+ "complete": "true",
93
+ "targetType": "full",
94
+ "statusVal": "",
95
+ "statusType": "auto",
96
+ "x": 500,
97
+ "y": 120,
98
+ "wires": []
99
+ },
100
+ {
101
+ "id": "c34a706d859dfdb8",
102
+ "type": "inject",
103
+ "z": "92b72bbf55534584",
104
+ "name": "",
105
+ "props": [
106
+ {
107
+ "p": "payload"
108
+ },
109
+ {
110
+ "p": "topic",
111
+ "vt": "str"
112
+ }
113
+ ],
114
+ "repeat": "",
115
+ "crontab": "",
116
+ "once": false,
117
+ "onceDelay": 0.1,
118
+ "topic": "1",
119
+ "payload": "40",
120
+ "payloadType": "num",
121
+ "x": 110,
122
+ "y": 60,
123
+ "wires": [
124
+ [
125
+ "361891fc4ee49249"
126
+ ]
127
+ ]
128
+ },
129
+ {
130
+ "id": "f2eaf8e27e1eb412",
131
+ "type": "inject",
132
+ "z": "92b72bbf55534584",
133
+ "name": "",
134
+ "props": [
135
+ {
136
+ "p": "payload"
137
+ },
138
+ {
139
+ "p": "topic",
140
+ "vt": "str"
141
+ }
142
+ ],
143
+ "repeat": "",
144
+ "crontab": "",
145
+ "once": false,
146
+ "onceDelay": 0.1,
147
+ "topic": "2",
148
+ "payload": "25",
149
+ "payloadType": "num",
150
+ "x": 110,
151
+ "y": 180,
152
+ "wires": [
153
+ [
154
+ "361891fc4ee49249"
155
+ ]
156
+ ]
157
+ },
158
+ {
159
+ "id": "fda92f5a00bb6107",
160
+ "type": "smart_statistic",
161
+ "z": "92b72bbf55534584",
162
+ "name": "",
163
+ "operation": "MAX",
164
+ "count": 10,
165
+ "x": 290,
166
+ "y": 320,
167
+ "wires": [
168
+ [
169
+ "1eaa1338ae61bd50"
170
+ ]
171
+ ]
172
+ },
173
+ {
174
+ "id": "3106023fd6fac380",
175
+ "type": "inject",
176
+ "z": "92b72bbf55534584",
177
+ "name": "",
178
+ "props": [
179
+ {
180
+ "p": "payload"
181
+ },
182
+ {
183
+ "p": "topic",
184
+ "vt": "str"
185
+ }
186
+ ],
187
+ "repeat": "",
188
+ "crontab": "",
189
+ "once": false,
190
+ "onceDelay": 0.1,
191
+ "topic": "1",
192
+ "payload": "50",
193
+ "payloadType": "num",
194
+ "x": 110,
195
+ "y": 300,
196
+ "wires": [
197
+ [
198
+ "fda92f5a00bb6107"
199
+ ]
200
+ ]
201
+ },
202
+ {
203
+ "id": "5877ab6ba2d43f1d",
204
+ "type": "inject",
205
+ "z": "92b72bbf55534584",
206
+ "name": "",
207
+ "props": [
208
+ {
209
+ "p": "payload"
210
+ },
211
+ {
212
+ "p": "topic",
213
+ "vt": "str"
214
+ }
215
+ ],
216
+ "repeat": "",
217
+ "crontab": "",
218
+ "once": false,
219
+ "onceDelay": 0.1,
220
+ "topic": "2",
221
+ "payload": "60",
222
+ "payloadType": "num",
223
+ "x": 110,
224
+ "y": 340,
225
+ "wires": [
226
+ [
227
+ "fda92f5a00bb6107"
228
+ ]
229
+ ]
230
+ },
231
+ {
232
+ "id": "64f143e0fefe88ae",
233
+ "type": "inject",
234
+ "z": "92b72bbf55534584",
235
+ "name": "",
236
+ "props": [
237
+ {
238
+ "p": "payload"
239
+ },
240
+ {
241
+ "p": "topic",
242
+ "vt": "str"
243
+ }
244
+ ],
245
+ "repeat": "",
246
+ "crontab": "",
247
+ "once": false,
248
+ "onceDelay": 0.1,
249
+ "topic": "1",
250
+ "payload": "40",
251
+ "payloadType": "num",
252
+ "x": 110,
253
+ "y": 260,
254
+ "wires": [
255
+ [
256
+ "fda92f5a00bb6107"
257
+ ]
258
+ ]
259
+ },
260
+ {
261
+ "id": "6bd865661dd7fbb9",
262
+ "type": "inject",
263
+ "z": "92b72bbf55534584",
264
+ "name": "",
265
+ "props": [
266
+ {
267
+ "p": "payload"
268
+ },
269
+ {
270
+ "p": "topic",
271
+ "vt": "str"
272
+ }
273
+ ],
274
+ "repeat": "",
275
+ "crontab": "",
276
+ "once": false,
277
+ "onceDelay": 0.1,
278
+ "topic": "2",
279
+ "payload": "25",
280
+ "payloadType": "num",
281
+ "x": 110,
282
+ "y": 380,
283
+ "wires": [
284
+ [
285
+ "fda92f5a00bb6107"
286
+ ]
287
+ ]
288
+ },
289
+ {
290
+ "id": "1eaa1338ae61bd50",
291
+ "type": "debug",
292
+ "z": "92b72bbf55534584",
293
+ "name": "debug 3",
294
+ "active": true,
295
+ "tosidebar": true,
296
+ "console": false,
297
+ "tostatus": false,
298
+ "complete": "true",
299
+ "targetType": "full",
300
+ "statusVal": "",
301
+ "statusType": "auto",
302
+ "x": 500,
303
+ "y": 320,
304
+ "wires": []
305
+ },
306
+ {
307
+ "id": "63d3f5b9af048c7d",
308
+ "type": "smart_statistic",
309
+ "z": "92b72bbf55534584",
310
+ "name": "",
311
+ "operation": "SUM",
312
+ "count": 10,
313
+ "x": 290,
314
+ "y": 520,
315
+ "wires": [
316
+ [
317
+ "e75979f636e92c6e"
318
+ ]
319
+ ]
320
+ },
321
+ {
322
+ "id": "51c1bb2b6df1fcea",
323
+ "type": "inject",
324
+ "z": "92b72bbf55534584",
325
+ "name": "",
326
+ "props": [
327
+ {
328
+ "p": "payload"
329
+ },
330
+ {
331
+ "p": "topic",
332
+ "vt": "str"
333
+ }
334
+ ],
335
+ "repeat": "",
336
+ "crontab": "",
337
+ "once": false,
338
+ "onceDelay": 0.1,
339
+ "topic": "1",
340
+ "payload": "50",
341
+ "payloadType": "num",
342
+ "x": 110,
343
+ "y": 500,
344
+ "wires": [
345
+ [
346
+ "63d3f5b9af048c7d"
347
+ ]
348
+ ]
349
+ },
350
+ {
351
+ "id": "71dd8cb503865c0c",
352
+ "type": "inject",
353
+ "z": "92b72bbf55534584",
354
+ "name": "",
355
+ "props": [
356
+ {
357
+ "p": "payload"
358
+ },
359
+ {
360
+ "p": "topic",
361
+ "vt": "str"
362
+ }
363
+ ],
364
+ "repeat": "",
365
+ "crontab": "",
366
+ "once": false,
367
+ "onceDelay": 0.1,
368
+ "topic": "2",
369
+ "payload": "60",
370
+ "payloadType": "num",
371
+ "x": 110,
372
+ "y": 540,
373
+ "wires": [
374
+ [
375
+ "63d3f5b9af048c7d"
376
+ ]
377
+ ]
378
+ },
379
+ {
380
+ "id": "207b1afda1a76f5f",
381
+ "type": "inject",
382
+ "z": "92b72bbf55534584",
383
+ "name": "",
384
+ "props": [
385
+ {
386
+ "p": "payload"
387
+ },
388
+ {
389
+ "p": "topic",
390
+ "vt": "str"
391
+ }
392
+ ],
393
+ "repeat": "",
394
+ "crontab": "",
395
+ "once": false,
396
+ "onceDelay": 0.1,
397
+ "topic": "1",
398
+ "payload": "40",
399
+ "payloadType": "num",
400
+ "x": 110,
401
+ "y": 460,
402
+ "wires": [
403
+ [
404
+ "63d3f5b9af048c7d"
405
+ ]
406
+ ]
407
+ },
408
+ {
409
+ "id": "fda64b8ce2c7fbb2",
410
+ "type": "inject",
411
+ "z": "92b72bbf55534584",
412
+ "name": "",
413
+ "props": [
414
+ {
415
+ "p": "payload"
416
+ },
417
+ {
418
+ "p": "topic",
419
+ "vt": "str"
420
+ }
421
+ ],
422
+ "repeat": "",
423
+ "crontab": "",
424
+ "once": false,
425
+ "onceDelay": 0.1,
426
+ "topic": "2",
427
+ "payload": "25",
428
+ "payloadType": "num",
429
+ "x": 110,
430
+ "y": 580,
431
+ "wires": [
432
+ [
433
+ "63d3f5b9af048c7d"
434
+ ]
435
+ ]
436
+ },
437
+ {
438
+ "id": "e75979f636e92c6e",
439
+ "type": "debug",
440
+ "z": "92b72bbf55534584",
441
+ "name": "debug 4",
442
+ "active": true,
443
+ "tosidebar": true,
444
+ "console": false,
445
+ "tostatus": false,
446
+ "complete": "true",
447
+ "targetType": "full",
448
+ "statusVal": "",
449
+ "statusType": "auto",
450
+ "x": 500,
451
+ "y": 520,
452
+ "wires": []
453
+ },
454
+ {
455
+ "id": "6cf0271c9489688d",
456
+ "type": "smart_statistic",
457
+ "z": "92b72bbf55534584",
458
+ "name": "",
459
+ "operation": "DIFF",
460
+ "count": 10,
461
+ "x": 290,
462
+ "y": 720,
463
+ "wires": [
464
+ [
465
+ "344773442f6f59a7"
466
+ ]
467
+ ]
468
+ },
469
+ {
470
+ "id": "0564b453e1eef53f",
471
+ "type": "inject",
472
+ "z": "92b72bbf55534584",
473
+ "name": "",
474
+ "props": [
475
+ {
476
+ "p": "payload"
477
+ },
478
+ {
479
+ "p": "topic",
480
+ "vt": "str"
481
+ }
482
+ ],
483
+ "repeat": "",
484
+ "crontab": "",
485
+ "once": false,
486
+ "onceDelay": 0.1,
487
+ "topic": "1",
488
+ "payload": "50",
489
+ "payloadType": "num",
490
+ "x": 110,
491
+ "y": 700,
492
+ "wires": [
493
+ [
494
+ "6cf0271c9489688d"
495
+ ]
496
+ ]
497
+ },
498
+ {
499
+ "id": "49f1f043462417f3",
500
+ "type": "inject",
501
+ "z": "92b72bbf55534584",
502
+ "name": "",
503
+ "props": [
504
+ {
505
+ "p": "payload"
506
+ },
507
+ {
508
+ "p": "topic",
509
+ "vt": "str"
510
+ }
511
+ ],
512
+ "repeat": "",
513
+ "crontab": "",
514
+ "once": false,
515
+ "onceDelay": 0.1,
516
+ "topic": "2",
517
+ "payload": "60",
518
+ "payloadType": "num",
519
+ "x": 110,
520
+ "y": 740,
521
+ "wires": [
522
+ [
523
+ "6cf0271c9489688d"
524
+ ]
525
+ ]
526
+ },
527
+ {
528
+ "id": "954a5b04137c2b74",
529
+ "type": "inject",
530
+ "z": "92b72bbf55534584",
531
+ "name": "",
532
+ "props": [
533
+ {
534
+ "p": "payload"
535
+ },
536
+ {
537
+ "p": "topic",
538
+ "vt": "str"
539
+ }
540
+ ],
541
+ "repeat": "",
542
+ "crontab": "",
543
+ "once": false,
544
+ "onceDelay": 0.1,
545
+ "topic": "1",
546
+ "payload": "40",
547
+ "payloadType": "num",
548
+ "x": 110,
549
+ "y": 660,
550
+ "wires": [
551
+ [
552
+ "6cf0271c9489688d"
553
+ ]
554
+ ]
555
+ },
556
+ {
557
+ "id": "8ad8f2fe9dc4aec0",
558
+ "type": "inject",
559
+ "z": "92b72bbf55534584",
560
+ "name": "",
561
+ "props": [
562
+ {
563
+ "p": "payload"
564
+ },
565
+ {
566
+ "p": "topic",
567
+ "vt": "str"
568
+ }
569
+ ],
570
+ "repeat": "",
571
+ "crontab": "",
572
+ "once": false,
573
+ "onceDelay": 0.1,
574
+ "topic": "2",
575
+ "payload": "25",
576
+ "payloadType": "num",
577
+ "x": 110,
578
+ "y": 780,
579
+ "wires": [
580
+ [
581
+ "6cf0271c9489688d"
582
+ ]
583
+ ]
584
+ },
585
+ {
586
+ "id": "344773442f6f59a7",
587
+ "type": "debug",
588
+ "z": "92b72bbf55534584",
589
+ "name": "debug 5",
590
+ "active": true,
591
+ "tosidebar": true,
592
+ "console": false,
593
+ "tostatus": false,
594
+ "complete": "true",
595
+ "targetType": "full",
596
+ "statusVal": "",
597
+ "statusType": "auto",
598
+ "x": 500,
599
+ "y": 720,
600
+ "wires": []
601
+ },
602
+ {
603
+ "id": "a688ef86989e37c6",
604
+ "type": "smart_statistic",
605
+ "z": "92b72bbf55534584",
606
+ "name": "",
607
+ "operation": "ABS",
608
+ "count": 10,
609
+ "x": 290,
610
+ "y": 880,
611
+ "wires": [
612
+ [
613
+ "ff00624848b03ad8"
614
+ ]
615
+ ]
616
+ },
617
+ {
618
+ "id": "accadb27ce57b73b",
619
+ "type": "inject",
620
+ "z": "92b72bbf55534584",
621
+ "name": "",
622
+ "props": [
623
+ {
624
+ "p": "payload"
625
+ }
626
+ ],
627
+ "repeat": "",
628
+ "crontab": "",
629
+ "once": false,
630
+ "onceDelay": 0.1,
631
+ "topic": "",
632
+ "payload": "-50",
633
+ "payloadType": "num",
634
+ "x": 110,
635
+ "y": 900,
636
+ "wires": [
637
+ [
638
+ "a688ef86989e37c6"
639
+ ]
640
+ ]
641
+ },
642
+ {
643
+ "id": "4567d0304b8970da",
644
+ "type": "inject",
645
+ "z": "92b72bbf55534584",
646
+ "name": "",
647
+ "props": [
648
+ {
649
+ "p": "payload"
650
+ }
651
+ ],
652
+ "repeat": "",
653
+ "crontab": "",
654
+ "once": false,
655
+ "onceDelay": 0.1,
656
+ "topic": "",
657
+ "payload": "40",
658
+ "payloadType": "num",
659
+ "x": 110,
660
+ "y": 860,
661
+ "wires": [
662
+ [
663
+ "a688ef86989e37c6"
664
+ ]
665
+ ]
666
+ },
667
+ {
668
+ "id": "ff00624848b03ad8",
669
+ "type": "debug",
670
+ "z": "92b72bbf55534584",
671
+ "name": "debug 6",
672
+ "active": true,
673
+ "tosidebar": true,
674
+ "console": false,
675
+ "tostatus": false,
676
+ "complete": "true",
677
+ "targetType": "full",
678
+ "statusVal": "",
679
+ "statusType": "auto",
680
+ "x": 500,
681
+ "y": 880,
682
+ "wires": []
683
+ },
684
+ {
685
+ "id": "a7bb98f02d5b4c07",
686
+ "type": "smart_statistic",
687
+ "z": "92b72bbf55534584",
688
+ "name": "",
689
+ "operation": "ABS_DIFF",
690
+ "count": 10,
691
+ "x": 310,
692
+ "y": 1040,
693
+ "wires": [
694
+ [
695
+ "6bd84e75b6460e83"
696
+ ]
697
+ ]
698
+ },
699
+ {
700
+ "id": "c2318fbbc34308a9",
701
+ "type": "inject",
702
+ "z": "92b72bbf55534584",
703
+ "name": "",
704
+ "props": [
705
+ {
706
+ "p": "payload"
707
+ },
708
+ {
709
+ "p": "topic",
710
+ "vt": "str"
711
+ }
712
+ ],
713
+ "repeat": "",
714
+ "crontab": "",
715
+ "once": false,
716
+ "onceDelay": 0.1,
717
+ "topic": "1",
718
+ "payload": "50",
719
+ "payloadType": "num",
720
+ "x": 110,
721
+ "y": 1020,
722
+ "wires": [
723
+ [
724
+ "a7bb98f02d5b4c07"
725
+ ]
726
+ ]
727
+ },
728
+ {
729
+ "id": "02e3f9264fb88e67",
730
+ "type": "inject",
731
+ "z": "92b72bbf55534584",
732
+ "name": "",
733
+ "props": [
734
+ {
735
+ "p": "payload"
736
+ },
737
+ {
738
+ "p": "topic",
739
+ "vt": "str"
740
+ }
741
+ ],
742
+ "repeat": "",
743
+ "crontab": "",
744
+ "once": false,
745
+ "onceDelay": 0.1,
746
+ "topic": "2",
747
+ "payload": "60",
748
+ "payloadType": "num",
749
+ "x": 110,
750
+ "y": 1060,
751
+ "wires": [
752
+ [
753
+ "a7bb98f02d5b4c07"
754
+ ]
755
+ ]
756
+ },
757
+ {
758
+ "id": "3b50c06cb57d9508",
759
+ "type": "inject",
760
+ "z": "92b72bbf55534584",
761
+ "name": "",
762
+ "props": [
763
+ {
764
+ "p": "payload"
765
+ },
766
+ {
767
+ "p": "topic",
768
+ "vt": "str"
769
+ }
770
+ ],
771
+ "repeat": "",
772
+ "crontab": "",
773
+ "once": false,
774
+ "onceDelay": 0.1,
775
+ "topic": "1",
776
+ "payload": "40",
777
+ "payloadType": "num",
778
+ "x": 110,
779
+ "y": 980,
780
+ "wires": [
781
+ [
782
+ "a7bb98f02d5b4c07"
783
+ ]
784
+ ]
785
+ },
786
+ {
787
+ "id": "5215836d42964b09",
788
+ "type": "inject",
789
+ "z": "92b72bbf55534584",
790
+ "name": "",
791
+ "props": [
792
+ {
793
+ "p": "payload"
794
+ },
795
+ {
796
+ "p": "topic",
797
+ "vt": "str"
798
+ }
799
+ ],
800
+ "repeat": "",
801
+ "crontab": "",
802
+ "once": false,
803
+ "onceDelay": 0.1,
804
+ "topic": "2",
805
+ "payload": "25",
806
+ "payloadType": "num",
807
+ "x": 110,
808
+ "y": 1100,
809
+ "wires": [
810
+ [
811
+ "a7bb98f02d5b4c07"
812
+ ]
813
+ ]
814
+ },
815
+ {
816
+ "id": "6bd84e75b6460e83",
817
+ "type": "debug",
818
+ "z": "92b72bbf55534584",
819
+ "name": "debug 7",
820
+ "active": true,
821
+ "tosidebar": true,
822
+ "console": false,
823
+ "tostatus": false,
824
+ "complete": "true",
825
+ "targetType": "full",
826
+ "statusVal": "",
827
+ "statusType": "auto",
828
+ "x": 500,
829
+ "y": 1040,
830
+ "wires": []
831
+ },
832
+ {
833
+ "id": "5abb25898b4495e6",
834
+ "type": "smart_statistic",
835
+ "z": "92b72bbf55534584",
836
+ "name": "",
837
+ "operation": "AVG",
838
+ "count": 10,
839
+ "x": 290,
840
+ "y": 1240,
841
+ "wires": [
842
+ [
843
+ "f3615e093c9768ed"
844
+ ]
845
+ ]
846
+ },
847
+ {
848
+ "id": "81c5e239ad340d26",
849
+ "type": "inject",
850
+ "z": "92b72bbf55534584",
851
+ "name": "",
852
+ "props": [
853
+ {
854
+ "p": "payload"
855
+ },
856
+ {
857
+ "p": "topic",
858
+ "vt": "str"
859
+ }
860
+ ],
861
+ "repeat": "",
862
+ "crontab": "",
863
+ "once": false,
864
+ "onceDelay": 0.1,
865
+ "topic": "1",
866
+ "payload": "50",
867
+ "payloadType": "num",
868
+ "x": 110,
869
+ "y": 1220,
870
+ "wires": [
871
+ [
872
+ "5abb25898b4495e6"
873
+ ]
874
+ ]
875
+ },
876
+ {
877
+ "id": "a8844ba8647924af",
878
+ "type": "inject",
879
+ "z": "92b72bbf55534584",
880
+ "name": "",
881
+ "props": [
882
+ {
883
+ "p": "payload"
884
+ },
885
+ {
886
+ "p": "topic",
887
+ "vt": "str"
888
+ }
889
+ ],
890
+ "repeat": "",
891
+ "crontab": "",
892
+ "once": false,
893
+ "onceDelay": 0.1,
894
+ "topic": "2",
895
+ "payload": "60",
896
+ "payloadType": "num",
897
+ "x": 110,
898
+ "y": 1260,
899
+ "wires": [
900
+ [
901
+ "5abb25898b4495e6"
902
+ ]
903
+ ]
904
+ },
905
+ {
906
+ "id": "bf55067c1e413124",
907
+ "type": "inject",
908
+ "z": "92b72bbf55534584",
909
+ "name": "",
910
+ "props": [
911
+ {
912
+ "p": "payload"
913
+ },
914
+ {
915
+ "p": "topic",
916
+ "vt": "str"
917
+ }
918
+ ],
919
+ "repeat": "",
920
+ "crontab": "",
921
+ "once": false,
922
+ "onceDelay": 0.1,
923
+ "topic": "1",
924
+ "payload": "40",
925
+ "payloadType": "num",
926
+ "x": 110,
927
+ "y": 1180,
928
+ "wires": [
929
+ [
930
+ "5abb25898b4495e6"
931
+ ]
932
+ ]
933
+ },
934
+ {
935
+ "id": "1a314df4a7c68ce8",
936
+ "type": "inject",
937
+ "z": "92b72bbf55534584",
938
+ "name": "",
939
+ "props": [
940
+ {
941
+ "p": "payload"
942
+ },
943
+ {
944
+ "p": "topic",
945
+ "vt": "str"
946
+ }
947
+ ],
948
+ "repeat": "",
949
+ "crontab": "",
950
+ "once": false,
951
+ "onceDelay": 0.1,
952
+ "topic": "2",
953
+ "payload": "25",
954
+ "payloadType": "num",
955
+ "x": 110,
956
+ "y": 1300,
957
+ "wires": [
958
+ [
959
+ "5abb25898b4495e6"
960
+ ]
961
+ ]
962
+ },
963
+ {
964
+ "id": "f3615e093c9768ed",
965
+ "type": "debug",
966
+ "z": "92b72bbf55534584",
967
+ "name": "debug 8",
968
+ "active": true,
969
+ "tosidebar": true,
970
+ "console": false,
971
+ "tostatus": false,
972
+ "complete": "true",
973
+ "targetType": "full",
974
+ "statusVal": "",
975
+ "statusType": "auto",
976
+ "x": 500,
977
+ "y": 1240,
978
+ "wires": []
979
+ },
980
+ {
981
+ "id": "167226619a34862d",
982
+ "type": "smart_statistic",
983
+ "z": "92b72bbf55534584",
984
+ "name": "",
985
+ "operation": "MOV_AVG",
986
+ "count": 10,
987
+ "x": 310,
988
+ "y": 1440,
989
+ "wires": [
990
+ [
991
+ "cf66248162b5e03b"
992
+ ]
993
+ ]
994
+ },
995
+ {
996
+ "id": "dd8990798a94a86e",
997
+ "type": "inject",
998
+ "z": "92b72bbf55534584",
999
+ "name": "",
1000
+ "props": [
1001
+ {
1002
+ "p": "payload"
1003
+ }
1004
+ ],
1005
+ "repeat": "",
1006
+ "crontab": "",
1007
+ "once": false,
1008
+ "onceDelay": 0.1,
1009
+ "topic": "",
1010
+ "payload": "50",
1011
+ "payloadType": "num",
1012
+ "x": 110,
1013
+ "y": 1420,
1014
+ "wires": [
1015
+ [
1016
+ "167226619a34862d"
1017
+ ]
1018
+ ]
1019
+ },
1020
+ {
1021
+ "id": "53a01a4c91acd5ca",
1022
+ "type": "inject",
1023
+ "z": "92b72bbf55534584",
1024
+ "name": "",
1025
+ "props": [
1026
+ {
1027
+ "p": "payload"
1028
+ }
1029
+ ],
1030
+ "repeat": "",
1031
+ "crontab": "",
1032
+ "once": false,
1033
+ "onceDelay": 0.1,
1034
+ "topic": "",
1035
+ "payload": "60",
1036
+ "payloadType": "num",
1037
+ "x": 110,
1038
+ "y": 1460,
1039
+ "wires": [
1040
+ [
1041
+ "167226619a34862d"
1042
+ ]
1043
+ ]
1044
+ },
1045
+ {
1046
+ "id": "67648254a8bdebfe",
1047
+ "type": "inject",
1048
+ "z": "92b72bbf55534584",
1049
+ "name": "",
1050
+ "props": [
1051
+ {
1052
+ "p": "payload"
1053
+ }
1054
+ ],
1055
+ "repeat": "",
1056
+ "crontab": "",
1057
+ "once": false,
1058
+ "onceDelay": 0.1,
1059
+ "topic": "",
1060
+ "payload": "40",
1061
+ "payloadType": "num",
1062
+ "x": 110,
1063
+ "y": 1380,
1064
+ "wires": [
1065
+ [
1066
+ "167226619a34862d"
1067
+ ]
1068
+ ]
1069
+ },
1070
+ {
1071
+ "id": "3f1a8715812fc7b1",
1072
+ "type": "inject",
1073
+ "z": "92b72bbf55534584",
1074
+ "name": "",
1075
+ "props": [
1076
+ {
1077
+ "p": "payload"
1078
+ }
1079
+ ],
1080
+ "repeat": "",
1081
+ "crontab": "",
1082
+ "once": false,
1083
+ "onceDelay": 0.1,
1084
+ "topic": "",
1085
+ "payload": "25",
1086
+ "payloadType": "num",
1087
+ "x": 110,
1088
+ "y": 1500,
1089
+ "wires": [
1090
+ [
1091
+ "167226619a34862d"
1092
+ ]
1093
+ ]
1094
+ },
1095
+ {
1096
+ "id": "cf66248162b5e03b",
1097
+ "type": "debug",
1098
+ "z": "92b72bbf55534584",
1099
+ "name": "debug 9",
1100
+ "active": true,
1101
+ "tosidebar": true,
1102
+ "console": false,
1103
+ "tostatus": false,
1104
+ "complete": "true",
1105
+ "targetType": "full",
1106
+ "statusVal": "",
1107
+ "statusType": "auto",
1108
+ "x": 500,
1109
+ "y": 1440,
1110
+ "wires": []
1111
+ }
1112
+ ]