node-red-dashboard-2-hmi 0.1.10 → 0.1.11

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.
@@ -1,572 +1,572 @@
1
- [
2
- {
3
- "id": "hx_tab",
4
- "type": "tab",
5
- "label": "HMI · tela básica",
6
- "disabled": false,
7
- "info": ""
8
- },
9
- {
10
- "id": "hx_cmt",
11
- "type": "comment",
12
- "z": "hx_tab",
13
- "name": "Abra o hmi canvas para ver o editor. Dashboard em /dashboard/hmi. Os botões da tela saem no debug.",
14
- "info": "",
15
- "x": 300,
16
- "y": 40,
17
- "wires": []
18
- },
19
- {
20
- "id": "hx_base",
21
- "type": "ui-base",
22
- "name": "Dashboard",
23
- "path": "/dashboard",
24
- "includeClientData": true,
25
- "acceptsClientConfig": [
26
- "ui-notification",
27
- "ui-control"
28
- ],
29
- "showPathInSidebar": false,
30
- "navigationStyle": "none",
31
- "titleBarStyle": "hidden"
32
- },
33
- {
34
- "id": "hx_theme",
35
- "type": "ui-theme",
36
- "name": "Default",
37
- "colors": {
38
- "surface": "#ffffff",
39
- "primary": "#0094CE",
40
- "bgPage": "#eeeeee",
41
- "groupBg": "#ffffff",
42
- "groupOutline": "#cccccc"
43
- },
44
- "sizes": {
45
- "pagePadding": "12px",
46
- "groupGap": "12px",
47
- "groupBorderRadius": "4px",
48
- "widgetGap": "12px"
49
- }
50
- },
51
- {
52
- "id": "hx_page",
53
- "type": "ui-page",
54
- "name": "HMI",
55
- "ui": "hx_base",
56
- "path": "/hmi",
57
- "icon": "home",
58
- "layout": "grid",
59
- "theme": "hx_theme",
60
- "breakpoints": [
61
- {
62
- "name": "Default",
63
- "px": "0",
64
- "cols": "3"
65
- },
66
- {
67
- "name": "Desktop",
68
- "px": "1024",
69
- "cols": "12"
70
- }
71
- ],
72
- "order": 1,
73
- "visible": "true",
74
- "disabled": "false"
75
- },
76
- {
77
- "id": "hx_canvas",
78
- "type": "ui-hmi-canvas",
79
- "z": "hx_tab",
80
- "name": "Slitter",
81
- "order": 1,
82
- "viewW": 1200,
83
- "viewH": 600,
84
- "theme": "isa101",
85
- "offlineAfter": 10,
86
- "locale": "pt-BR",
87
- "symbols": [
88
- {
89
- "id": "t1",
90
- "type": "text",
91
- "x": 20,
92
- "y": 14,
93
- "w": 400,
94
- "h": 30,
95
- "rot": 0,
96
- "key": "",
97
- "props": {
98
- "text": "SLITTER - LINHA 1",
99
- "size": 22,
100
- "align": "start",
101
- "bold": "yes",
102
- "tone": "normal",
103
- "unit": "",
104
- "decimals": ""
105
- }
106
- },
107
- {
108
- "id": "ch",
109
- "type": "chip",
110
- "x": 1000,
111
- "y": 12,
112
- "w": 180,
113
- "h": 34,
114
- "rot": 0,
115
- "key": "rodando",
116
- "props": {
117
- "textOn": "RODANDO",
118
- "textOff": "PARADA",
119
- "color": "auto",
120
- "blink": "no",
121
- "onWhen": "nonzero",
122
- "threshold": 0
123
- }
124
- },
125
- {
126
- "id": "fr",
127
- "type": "frame",
128
- "x": 30,
129
- "y": 120,
130
- "w": 940,
131
- "h": 250,
132
- "rot": 0,
133
- "key": "",
134
- "props": {
135
- "shape": "round",
136
- "tone": "equip",
137
- "label": ""
138
- }
139
- },
140
- {
141
- "id": "ln1",
142
- "type": "line",
143
- "x": 200,
144
- "y": 210,
145
- "w": 600,
146
- "h": 40,
147
- "rot": 0,
148
- "key": "velocidade",
149
- "props": {
150
- "style": "strip",
151
- "flow": "auto",
152
- "points": [
153
- [
154
- 0,
155
- 40
156
- ],
157
- [
158
- 200,
159
- 0
160
- ],
161
- [
162
- 400,
163
- 0
164
- ],
165
- [
166
- 600,
167
- 40
168
- ]
169
- ],
170
- "onWhen": "nonzero",
171
- "threshold": 0
172
- },
173
- "rules": [
174
- {
175
- "key": "emergencia",
176
- "op": "on",
177
- "value": "",
178
- "effect": "alarm"
179
- }
180
- ]
181
- },
182
- {
183
- "id": "u",
184
- "type": "reel",
185
- "x": 110,
186
- "y": 170,
187
- "w": 160,
188
- "h": 160,
189
- "rot": 0,
190
- "key": "rpm",
191
- "props": {
192
- "label": "Desbobinador",
193
- "onWhen": "nonzero",
194
- "threshold": 0
195
- }
196
- },
197
- {
198
- "id": "r1",
199
- "type": "roller",
200
- "x": 388,
201
- "y": 198,
202
- "w": 24,
203
- "h": 24,
204
- "rot": 0,
205
- "key": "velocidade",
206
- "props": {
207
- "dir": "cw",
208
- "onWhen": "nonzero",
209
- "threshold": 0
210
- }
211
- },
212
- {
213
- "id": "r2",
214
- "type": "roller",
215
- "x": 588,
216
- "y": 198,
217
- "w": 24,
218
- "h": 24,
219
- "rot": 0,
220
- "key": "velocidade",
221
- "props": {
222
- "dir": "cw",
223
- "onWhen": "nonzero",
224
- "threshold": 0
225
- }
226
- },
227
- {
228
- "id": "w",
229
- "type": "reel",
230
- "x": 730,
231
- "y": 170,
232
- "w": 160,
233
- "h": 160,
234
- "rot": 0,
235
- "key": "rpmBob",
236
- "props": {
237
- "label": "Rebobinador",
238
- "onWhen": "nonzero",
239
- "threshold": 0
240
- }
241
- },
242
- {
243
- "id": "m",
244
- "type": "motor",
245
- "x": 465,
246
- "y": 270,
247
- "w": 70,
248
- "h": 70,
249
- "rot": 0,
250
- "key": "rodando",
251
- "props": {
252
- "label": "M1",
253
- "faultKey": "falhaM1",
254
- "priority": "1",
255
- "onWhen": "nonzero",
256
- "threshold": 0
257
- }
258
- },
259
- {
260
- "id": "tg1",
261
- "type": "tag",
262
- "x": 40,
263
- "y": 56,
264
- "w": 160,
265
- "h": 64,
266
- "rot": 0,
267
- "key": "rpm",
268
- "props": {
269
- "title": "DESBOB. RPM",
270
- "unit": "rpm",
271
- "decimals": 0,
272
- "min": 0,
273
- "max": 2000,
274
- "lo": "",
275
- "hi": 1800,
276
- "priority": "1"
277
- }
278
- },
279
- {
280
- "id": "tg2",
281
- "type": "tag",
282
- "x": 220,
283
- "y": 56,
284
- "w": 160,
285
- "h": 64,
286
- "rot": 0,
287
- "key": "velocidade",
288
- "props": {
289
- "title": "VELOCIDADE",
290
- "unit": "m/min",
291
- "decimals": 1,
292
- "min": "",
293
- "max": "",
294
- "lo": "",
295
- "hi": "",
296
- "priority": "2"
297
- }
298
- },
299
- {
300
- "id": "k",
301
- "type": "kpi",
302
- "x": 620,
303
- "y": 390,
304
- "w": 300,
305
- "h": 110,
306
- "rot": 0,
307
- "key": "bobinas",
308
- "props": {
309
- "title": "BOBINAS PRONTAS",
310
- "unit": "",
311
- "decimals": 0,
312
- "subtitle": "turno atual"
313
- }
314
- },
315
- {
316
- "id": "l1",
317
- "type": "led",
318
- "x": 60,
319
- "y": 410,
320
- "w": 28,
321
- "h": 28,
322
- "rot": 0,
323
- "key": "rodando",
324
- "props": {
325
- "label": "Rodando",
326
- "color": "auto",
327
- "blink": "no",
328
- "onWhen": "nonzero",
329
- "threshold": 0
330
- }
331
- },
332
- {
333
- "id": "l2",
334
- "type": "led",
335
- "x": 140,
336
- "y": 410,
337
- "w": 28,
338
- "h": 28,
339
- "rot": 0,
340
- "key": "falhaM1",
341
- "props": {
342
- "label": "Falha M1",
343
- "color": "alarm",
344
- "blink": "yes",
345
- "onWhen": "nonzero",
346
- "threshold": 0
347
- }
348
- },
349
- {
350
- "id": "al",
351
- "type": "alarm",
352
- "x": 200,
353
- "y": 390,
354
- "w": 400,
355
- "h": 96,
356
- "rot": 0,
357
- "key": "emergencia",
358
- "props": {
359
- "text": "EMERGÊNCIA ACIONADA",
360
- "sub": "Verifique os botões de emergência",
361
- "priority": "1",
362
- "blink": "yes",
363
- "onWhen": "nonzero",
364
- "threshold": 0
365
- }
366
- },
367
- {
368
- "id": "tk",
369
- "type": "tank",
370
- "x": 1040,
371
- "y": 130,
372
- "w": 110,
373
- "h": 170,
374
- "rot": 0,
375
- "key": "nivel",
376
- "props": {
377
- "label": "Tanque de cola",
378
- "unit": "%",
379
- "decimals": 0,
380
- "min": 0,
381
- "max": 100,
382
- "lo": 15,
383
- "hi": "",
384
- "priority": "2"
385
- }
386
- },
387
- {
388
- "id": "pb",
389
- "type": "pump",
390
- "x": 1000,
391
- "y": 350,
392
- "w": 60,
393
- "h": 60,
394
- "rot": 0,
395
- "key": "bomba",
396
- "props": {
397
- "label": "Bomba",
398
- "faultKey": "",
399
- "priority": "1",
400
- "onWhen": "nonzero",
401
- "threshold": 0
402
- }
403
- },
404
- {
405
- "id": "vv",
406
- "type": "valve",
407
- "x": 1110,
408
- "y": 358,
409
- "w": 60,
410
- "h": 50,
411
- "rot": 0,
412
- "key": "valvula",
413
- "props": {
414
- "label": "V1",
415
- "faultKey": "",
416
- "priority": "1",
417
- "onWhen": "nonzero",
418
- "threshold": 0
419
- },
420
- "action": {
421
- "mode": "toggle",
422
- "value": "",
423
- "topic": "cmdValvula",
424
- "confirm": "yes"
425
- }
426
- },
427
- {
428
- "id": "bl",
429
- "type": "button",
430
- "x": 40,
431
- "y": 530,
432
- "w": 150,
433
- "h": 48,
434
- "rot": 0,
435
- "key": "rodando",
436
- "props": {
437
- "text": "LIGAR",
438
- "textOn": "LIGADA",
439
- "onWhen": "nonzero",
440
- "threshold": 0
441
- },
442
- "action": {
443
- "mode": "pulse",
444
- "value": "",
445
- "topic": "cmdLigar",
446
- "confirm": "no"
447
- }
448
- },
449
- {
450
- "id": "bp",
451
- "type": "button",
452
- "x": 210,
453
- "y": 530,
454
- "w": 150,
455
- "h": 48,
456
- "rot": 0,
457
- "key": "",
458
- "props": {
459
- "text": "PARAR",
460
- "textOn": "",
461
- "onWhen": "nonzero",
462
- "threshold": 0
463
- },
464
- "action": {
465
- "mode": "pulse",
466
- "value": "",
467
- "topic": "cmdParar",
468
- "confirm": "no"
469
- }
470
- }
471
- ],
472
- "x": 420,
473
- "y": 100,
474
- "wires": [
475
- [
476
- "hx_debug"
477
- ]
478
- ],
479
- "scope": "page",
480
- "page": "hx_page",
481
- "fit": "screen",
482
- "background": "theme",
483
- "outputs": 1
484
- },
485
- {
486
- "id": "hx_run",
487
- "type": "inject",
488
- "z": "hx_tab",
489
- "name": "rodando",
490
- "props": [
491
- {
492
- "p": "payload"
493
- }
494
- ],
495
- "repeat": "",
496
- "once": true,
497
- "onceDelay": "1",
498
- "topic": "",
499
- "payload": "{\"rodando\": 1, \"rpm\": 1450, \"velocidade\": 42.5, \"rpmBob\": 980, \"bobinas\": 12, \"falhaM1\": 0, \"emergencia\": 0, \"nivel\": 64, \"bomba\": 1, \"valvula\": 1}",
500
- "payloadType": "json",
501
- "x": 150,
502
- "y": 100,
503
- "wires": [
504
- [
505
- "hx_canvas"
506
- ]
507
- ]
508
- },
509
- {
510
- "id": "hx_alarm",
511
- "type": "inject",
512
- "z": "hx_tab",
513
- "name": "falha M1 + emergência",
514
- "props": [
515
- {
516
- "p": "payload"
517
- }
518
- ],
519
- "repeat": "",
520
- "once": false,
521
- "topic": "",
522
- "payload": "{\"rpm\": 1950, \"falhaM1\": 1, \"emergencia\": 1, \"nivel\": 9}",
523
- "payloadType": "json",
524
- "x": 150,
525
- "y": 180,
526
- "wires": [
527
- [
528
- "hx_canvas"
529
- ]
530
- ]
531
- },
532
- {
533
- "id": "hx_stop",
534
- "type": "inject",
535
- "z": "hx_tab",
536
- "name": "parado",
537
- "props": [
538
- {
539
- "p": "payload"
540
- }
541
- ],
542
- "repeat": "",
543
- "once": false,
544
- "topic": "",
545
- "payload": "{\"rodando\": 0, \"rpm\": 0, \"velocidade\": 0, \"rpmBob\": 0, \"bomba\": 0}",
546
- "payloadType": "json",
547
- "x": 150,
548
- "y": 140,
549
- "wires": [
550
- [
551
- "hx_canvas"
552
- ]
553
- ]
554
- },
555
- {
556
- "id": "hx_debug",
557
- "type": "debug",
558
- "z": "hx_tab",
559
- "name": "comandos da tela",
560
- "active": true,
561
- "tosidebar": true,
562
- "console": false,
563
- "tostatus": true,
564
- "complete": "true",
565
- "targetType": "full",
566
- "statusVal": "payload",
567
- "statusType": "auto",
568
- "x": 640,
569
- "y": 100,
570
- "wires": []
571
- }
572
- ]
1
+ [
2
+ {
3
+ "id": "hx_tab",
4
+ "type": "tab",
5
+ "label": "HMI · tela básica",
6
+ "disabled": false,
7
+ "info": ""
8
+ },
9
+ {
10
+ "id": "hx_cmt",
11
+ "type": "comment",
12
+ "z": "hx_tab",
13
+ "name": "Abra o hmi canvas para ver o editor. Dashboard em /dashboard/hmi. Os botões da tela saem no debug.",
14
+ "info": "",
15
+ "x": 300,
16
+ "y": 40,
17
+ "wires": []
18
+ },
19
+ {
20
+ "id": "hx_base",
21
+ "type": "ui-base",
22
+ "name": "Dashboard",
23
+ "path": "/dashboard",
24
+ "includeClientData": true,
25
+ "acceptsClientConfig": [
26
+ "ui-notification",
27
+ "ui-control"
28
+ ],
29
+ "showPathInSidebar": false,
30
+ "navigationStyle": "none",
31
+ "titleBarStyle": "hidden"
32
+ },
33
+ {
34
+ "id": "hx_theme",
35
+ "type": "ui-theme",
36
+ "name": "Default",
37
+ "colors": {
38
+ "surface": "#ffffff",
39
+ "primary": "#0094CE",
40
+ "bgPage": "#eeeeee",
41
+ "groupBg": "#ffffff",
42
+ "groupOutline": "#cccccc"
43
+ },
44
+ "sizes": {
45
+ "pagePadding": "12px",
46
+ "groupGap": "12px",
47
+ "groupBorderRadius": "4px",
48
+ "widgetGap": "12px"
49
+ }
50
+ },
51
+ {
52
+ "id": "hx_page",
53
+ "type": "ui-page",
54
+ "name": "HMI",
55
+ "ui": "hx_base",
56
+ "path": "/hmi",
57
+ "icon": "home",
58
+ "layout": "grid",
59
+ "theme": "hx_theme",
60
+ "breakpoints": [
61
+ {
62
+ "name": "Default",
63
+ "px": "0",
64
+ "cols": "3"
65
+ },
66
+ {
67
+ "name": "Desktop",
68
+ "px": "1024",
69
+ "cols": "12"
70
+ }
71
+ ],
72
+ "order": 1,
73
+ "visible": "true",
74
+ "disabled": "false"
75
+ },
76
+ {
77
+ "id": "hx_canvas",
78
+ "type": "ui-hmi-canvas",
79
+ "z": "hx_tab",
80
+ "name": "Slitter",
81
+ "order": 1,
82
+ "viewW": 1200,
83
+ "viewH": 600,
84
+ "theme": "isa101",
85
+ "offlineAfter": 10,
86
+ "locale": "pt-BR",
87
+ "symbols": [
88
+ {
89
+ "id": "t1",
90
+ "type": "text",
91
+ "x": 20,
92
+ "y": 14,
93
+ "w": 400,
94
+ "h": 30,
95
+ "rot": 0,
96
+ "key": "",
97
+ "props": {
98
+ "text": "SLITTER - LINHA 1",
99
+ "size": 22,
100
+ "align": "start",
101
+ "bold": "yes",
102
+ "tone": "normal",
103
+ "unit": "",
104
+ "decimals": ""
105
+ }
106
+ },
107
+ {
108
+ "id": "ch",
109
+ "type": "chip",
110
+ "x": 1000,
111
+ "y": 12,
112
+ "w": 180,
113
+ "h": 34,
114
+ "rot": 0,
115
+ "key": "rodando",
116
+ "props": {
117
+ "textOn": "RODANDO",
118
+ "textOff": "PARADA",
119
+ "color": "auto",
120
+ "blink": "no",
121
+ "onWhen": "nonzero",
122
+ "threshold": 0
123
+ }
124
+ },
125
+ {
126
+ "id": "fr",
127
+ "type": "frame",
128
+ "x": 30,
129
+ "y": 120,
130
+ "w": 940,
131
+ "h": 250,
132
+ "rot": 0,
133
+ "key": "",
134
+ "props": {
135
+ "shape": "round",
136
+ "tone": "equip",
137
+ "label": ""
138
+ }
139
+ },
140
+ {
141
+ "id": "ln1",
142
+ "type": "line",
143
+ "x": 200,
144
+ "y": 210,
145
+ "w": 600,
146
+ "h": 40,
147
+ "rot": 0,
148
+ "key": "velocidade",
149
+ "props": {
150
+ "style": "strip",
151
+ "flow": "auto",
152
+ "points": [
153
+ [
154
+ 0,
155
+ 40
156
+ ],
157
+ [
158
+ 200,
159
+ 0
160
+ ],
161
+ [
162
+ 400,
163
+ 0
164
+ ],
165
+ [
166
+ 600,
167
+ 40
168
+ ]
169
+ ],
170
+ "onWhen": "nonzero",
171
+ "threshold": 0
172
+ },
173
+ "rules": [
174
+ {
175
+ "key": "emergencia",
176
+ "op": "on",
177
+ "value": "",
178
+ "effect": "alarm"
179
+ }
180
+ ]
181
+ },
182
+ {
183
+ "id": "u",
184
+ "type": "reel",
185
+ "x": 110,
186
+ "y": 170,
187
+ "w": 160,
188
+ "h": 160,
189
+ "rot": 0,
190
+ "key": "rpm",
191
+ "props": {
192
+ "label": "Desbobinador",
193
+ "onWhen": "nonzero",
194
+ "threshold": 0
195
+ }
196
+ },
197
+ {
198
+ "id": "r1",
199
+ "type": "roller",
200
+ "x": 388,
201
+ "y": 198,
202
+ "w": 24,
203
+ "h": 24,
204
+ "rot": 0,
205
+ "key": "velocidade",
206
+ "props": {
207
+ "dir": "cw",
208
+ "onWhen": "nonzero",
209
+ "threshold": 0
210
+ }
211
+ },
212
+ {
213
+ "id": "r2",
214
+ "type": "roller",
215
+ "x": 588,
216
+ "y": 198,
217
+ "w": 24,
218
+ "h": 24,
219
+ "rot": 0,
220
+ "key": "velocidade",
221
+ "props": {
222
+ "dir": "cw",
223
+ "onWhen": "nonzero",
224
+ "threshold": 0
225
+ }
226
+ },
227
+ {
228
+ "id": "w",
229
+ "type": "reel",
230
+ "x": 730,
231
+ "y": 170,
232
+ "w": 160,
233
+ "h": 160,
234
+ "rot": 0,
235
+ "key": "rpmBob",
236
+ "props": {
237
+ "label": "Rebobinador",
238
+ "onWhen": "nonzero",
239
+ "threshold": 0
240
+ }
241
+ },
242
+ {
243
+ "id": "m",
244
+ "type": "motor",
245
+ "x": 465,
246
+ "y": 270,
247
+ "w": 70,
248
+ "h": 70,
249
+ "rot": 0,
250
+ "key": "rodando",
251
+ "props": {
252
+ "label": "M1",
253
+ "faultKey": "falhaM1",
254
+ "priority": "1",
255
+ "onWhen": "nonzero",
256
+ "threshold": 0
257
+ }
258
+ },
259
+ {
260
+ "id": "tg1",
261
+ "type": "tag",
262
+ "x": 40,
263
+ "y": 56,
264
+ "w": 160,
265
+ "h": 64,
266
+ "rot": 0,
267
+ "key": "rpm",
268
+ "props": {
269
+ "title": "DESBOB. RPM",
270
+ "unit": "rpm",
271
+ "decimals": 0,
272
+ "min": 0,
273
+ "max": 2000,
274
+ "lo": "",
275
+ "hi": 1800,
276
+ "priority": "1"
277
+ }
278
+ },
279
+ {
280
+ "id": "tg2",
281
+ "type": "tag",
282
+ "x": 220,
283
+ "y": 56,
284
+ "w": 160,
285
+ "h": 64,
286
+ "rot": 0,
287
+ "key": "velocidade",
288
+ "props": {
289
+ "title": "VELOCIDADE",
290
+ "unit": "m/min",
291
+ "decimals": 1,
292
+ "min": "",
293
+ "max": "",
294
+ "lo": "",
295
+ "hi": "",
296
+ "priority": "2"
297
+ }
298
+ },
299
+ {
300
+ "id": "k",
301
+ "type": "kpi",
302
+ "x": 620,
303
+ "y": 390,
304
+ "w": 300,
305
+ "h": 110,
306
+ "rot": 0,
307
+ "key": "bobinas",
308
+ "props": {
309
+ "title": "BOBINAS PRONTAS",
310
+ "unit": "",
311
+ "decimals": 0,
312
+ "subtitle": "turno atual"
313
+ }
314
+ },
315
+ {
316
+ "id": "l1",
317
+ "type": "led",
318
+ "x": 60,
319
+ "y": 410,
320
+ "w": 28,
321
+ "h": 28,
322
+ "rot": 0,
323
+ "key": "rodando",
324
+ "props": {
325
+ "label": "Rodando",
326
+ "color": "auto",
327
+ "blink": "no",
328
+ "onWhen": "nonzero",
329
+ "threshold": 0
330
+ }
331
+ },
332
+ {
333
+ "id": "l2",
334
+ "type": "led",
335
+ "x": 140,
336
+ "y": 410,
337
+ "w": 28,
338
+ "h": 28,
339
+ "rot": 0,
340
+ "key": "falhaM1",
341
+ "props": {
342
+ "label": "Falha M1",
343
+ "color": "alarm",
344
+ "blink": "yes",
345
+ "onWhen": "nonzero",
346
+ "threshold": 0
347
+ }
348
+ },
349
+ {
350
+ "id": "al",
351
+ "type": "alarm",
352
+ "x": 200,
353
+ "y": 390,
354
+ "w": 400,
355
+ "h": 96,
356
+ "rot": 0,
357
+ "key": "emergencia",
358
+ "props": {
359
+ "text": "EMERGÊNCIA ACIONADA",
360
+ "sub": "Verifique os botões de emergência",
361
+ "priority": "1",
362
+ "blink": "yes",
363
+ "onWhen": "nonzero",
364
+ "threshold": 0
365
+ }
366
+ },
367
+ {
368
+ "id": "tk",
369
+ "type": "tank",
370
+ "x": 1040,
371
+ "y": 130,
372
+ "w": 110,
373
+ "h": 170,
374
+ "rot": 0,
375
+ "key": "nivel",
376
+ "props": {
377
+ "label": "Tanque de cola",
378
+ "unit": "%",
379
+ "decimals": 0,
380
+ "min": 0,
381
+ "max": 100,
382
+ "lo": 15,
383
+ "hi": "",
384
+ "priority": "2"
385
+ }
386
+ },
387
+ {
388
+ "id": "pb",
389
+ "type": "pump",
390
+ "x": 1000,
391
+ "y": 350,
392
+ "w": 60,
393
+ "h": 60,
394
+ "rot": 0,
395
+ "key": "bomba",
396
+ "props": {
397
+ "label": "Bomba",
398
+ "faultKey": "",
399
+ "priority": "1",
400
+ "onWhen": "nonzero",
401
+ "threshold": 0
402
+ }
403
+ },
404
+ {
405
+ "id": "vv",
406
+ "type": "valve",
407
+ "x": 1110,
408
+ "y": 358,
409
+ "w": 60,
410
+ "h": 50,
411
+ "rot": 0,
412
+ "key": "valvula",
413
+ "props": {
414
+ "label": "V1",
415
+ "faultKey": "",
416
+ "priority": "1",
417
+ "onWhen": "nonzero",
418
+ "threshold": 0
419
+ },
420
+ "action": {
421
+ "mode": "toggle",
422
+ "value": "",
423
+ "topic": "cmdValvula",
424
+ "confirm": "yes"
425
+ }
426
+ },
427
+ {
428
+ "id": "bl",
429
+ "type": "button",
430
+ "x": 40,
431
+ "y": 530,
432
+ "w": 150,
433
+ "h": 48,
434
+ "rot": 0,
435
+ "key": "rodando",
436
+ "props": {
437
+ "text": "LIGAR",
438
+ "textOn": "LIGADA",
439
+ "onWhen": "nonzero",
440
+ "threshold": 0
441
+ },
442
+ "action": {
443
+ "mode": "pulse",
444
+ "value": "",
445
+ "topic": "cmdLigar",
446
+ "confirm": "no"
447
+ }
448
+ },
449
+ {
450
+ "id": "bp",
451
+ "type": "button",
452
+ "x": 210,
453
+ "y": 530,
454
+ "w": 150,
455
+ "h": 48,
456
+ "rot": 0,
457
+ "key": "",
458
+ "props": {
459
+ "text": "PARAR",
460
+ "textOn": "",
461
+ "onWhen": "nonzero",
462
+ "threshold": 0
463
+ },
464
+ "action": {
465
+ "mode": "pulse",
466
+ "value": "",
467
+ "topic": "cmdParar",
468
+ "confirm": "no"
469
+ }
470
+ }
471
+ ],
472
+ "x": 420,
473
+ "y": 100,
474
+ "wires": [
475
+ [
476
+ "hx_debug"
477
+ ]
478
+ ],
479
+ "scope": "page",
480
+ "page": "hx_page",
481
+ "fit": "screen",
482
+ "background": "theme",
483
+ "outputs": 1
484
+ },
485
+ {
486
+ "id": "hx_run",
487
+ "type": "inject",
488
+ "z": "hx_tab",
489
+ "name": "rodando",
490
+ "props": [
491
+ {
492
+ "p": "payload"
493
+ }
494
+ ],
495
+ "repeat": "",
496
+ "once": true,
497
+ "onceDelay": "1",
498
+ "topic": "",
499
+ "payload": "{\"rodando\": 1, \"rpm\": 1450, \"velocidade\": 42.5, \"rpmBob\": 980, \"bobinas\": 12, \"falhaM1\": 0, \"emergencia\": 0, \"nivel\": 64, \"bomba\": 1, \"valvula\": 1}",
500
+ "payloadType": "json",
501
+ "x": 150,
502
+ "y": 100,
503
+ "wires": [
504
+ [
505
+ "hx_canvas"
506
+ ]
507
+ ]
508
+ },
509
+ {
510
+ "id": "hx_alarm",
511
+ "type": "inject",
512
+ "z": "hx_tab",
513
+ "name": "falha M1 + emergência",
514
+ "props": [
515
+ {
516
+ "p": "payload"
517
+ }
518
+ ],
519
+ "repeat": "",
520
+ "once": false,
521
+ "topic": "",
522
+ "payload": "{\"rpm\": 1950, \"falhaM1\": 1, \"emergencia\": 1, \"nivel\": 9}",
523
+ "payloadType": "json",
524
+ "x": 150,
525
+ "y": 180,
526
+ "wires": [
527
+ [
528
+ "hx_canvas"
529
+ ]
530
+ ]
531
+ },
532
+ {
533
+ "id": "hx_stop",
534
+ "type": "inject",
535
+ "z": "hx_tab",
536
+ "name": "parado",
537
+ "props": [
538
+ {
539
+ "p": "payload"
540
+ }
541
+ ],
542
+ "repeat": "",
543
+ "once": false,
544
+ "topic": "",
545
+ "payload": "{\"rodando\": 0, \"rpm\": 0, \"velocidade\": 0, \"rpmBob\": 0, \"bomba\": 0}",
546
+ "payloadType": "json",
547
+ "x": 150,
548
+ "y": 140,
549
+ "wires": [
550
+ [
551
+ "hx_canvas"
552
+ ]
553
+ ]
554
+ },
555
+ {
556
+ "id": "hx_debug",
557
+ "type": "debug",
558
+ "z": "hx_tab",
559
+ "name": "comandos da tela",
560
+ "active": true,
561
+ "tosidebar": true,
562
+ "console": false,
563
+ "tostatus": true,
564
+ "complete": "true",
565
+ "targetType": "full",
566
+ "statusVal": "payload",
567
+ "statusType": "auto",
568
+ "x": 640,
569
+ "y": 100,
570
+ "wires": []
571
+ }
572
+ ]