smart-nodes 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scene-control/scene-control.js +6 -0
- package/shutter-complex-control/shutter-complex-control.js +6 -0
- package/shutter-control/shutter-control.js +6 -0
- package/text-exec/text-exec.js +28 -4
- package/examples/central.json +0 -804
- package/examples/central.png +0 -0
- package/examples/compare.json +0 -916
- package/examples/compare.png +0 -0
- package/examples/delay.json +0 -198
- package/examples/delay.png +0 -0
- package/examples/forwarder.json +0 -152
- package/examples/forwarder.png +0 -0
- package/examples/hysteresis.json +0 -358
- package/examples/hysteresis.png +0 -0
- package/examples/light-control.json +0 -499
- package/examples/light-control.png +0 -0
- package/examples/logic.json +0 -562
- package/examples/logic.png +0 -0
- package/examples/long-press-control.json +0 -113
- package/examples/long-press-control.png +0 -0
- package/examples/multi-press-control.json +0 -136
- package/examples/multi-press-control.png +0 -0
- package/examples/scene-control.json +0 -535
- package/examples/scene-control.png +0 -0
- package/examples/scheduler.json +0 -164
- package/examples/scheduler.png +0 -0
- package/examples/shutter-complex-control.json +0 -489
- package/examples/shutter-complex-control.png +0 -0
- package/examples/shutter-control.json +0 -457
- package/examples/shutter-control.png +0 -0
- package/examples/statistic.json +0 -1112
- package/examples/statistic.png +0 -0
- package/examples/text-exec.json +0 -147
- package/examples/text-exec.png +0 -0
package/examples/logic.json
DELETED
|
@@ -1,562 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "fe48580ae5a224cb",
|
|
4
|
-
"type": "tab",
|
|
5
|
-
"label": "Logic",
|
|
6
|
-
"disabled": false,
|
|
7
|
-
"info": "",
|
|
8
|
-
"env": []
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"id": "4b97cd2d0f253bf1",
|
|
12
|
-
"type": "smart_logic",
|
|
13
|
-
"z": "fe48580ae5a224cb",
|
|
14
|
-
"name": "",
|
|
15
|
-
"logic": "AND",
|
|
16
|
-
"logic_inputs": 2,
|
|
17
|
-
"inverts": "",
|
|
18
|
-
"invert_output": false,
|
|
19
|
-
"out_false": "{}",
|
|
20
|
-
"out_true": "{}",
|
|
21
|
-
"save_state": true,
|
|
22
|
-
"resend_on_start": true,
|
|
23
|
-
"x": 350,
|
|
24
|
-
"y": 140,
|
|
25
|
-
"wires": [
|
|
26
|
-
[
|
|
27
|
-
"6ca260c2526f32e0"
|
|
28
|
-
]
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"id": "6ca260c2526f32e0",
|
|
33
|
-
"type": "debug",
|
|
34
|
-
"z": "fe48580ae5a224cb",
|
|
35
|
-
"name": "debug 24",
|
|
36
|
-
"active": true,
|
|
37
|
-
"tosidebar": true,
|
|
38
|
-
"console": false,
|
|
39
|
-
"tostatus": false,
|
|
40
|
-
"complete": "true",
|
|
41
|
-
"targetType": "full",
|
|
42
|
-
"statusVal": "",
|
|
43
|
-
"statusType": "auto",
|
|
44
|
-
"x": 600,
|
|
45
|
-
"y": 140,
|
|
46
|
-
"wires": []
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"id": "68b86155041f1115",
|
|
50
|
-
"type": "inject",
|
|
51
|
-
"z": "fe48580ae5a224cb",
|
|
52
|
-
"name": "",
|
|
53
|
-
"props": [
|
|
54
|
-
{
|
|
55
|
-
"p": "payload"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"p": "topic",
|
|
59
|
-
"vt": "str"
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
"repeat": "",
|
|
63
|
-
"crontab": "",
|
|
64
|
-
"once": false,
|
|
65
|
-
"onceDelay": 0.1,
|
|
66
|
-
"topic": "1",
|
|
67
|
-
"payload": "true",
|
|
68
|
-
"payloadType": "bool",
|
|
69
|
-
"x": 110,
|
|
70
|
-
"y": 80,
|
|
71
|
-
"wires": [
|
|
72
|
-
[
|
|
73
|
-
"4b97cd2d0f253bf1"
|
|
74
|
-
]
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"id": "87f6ee5c436cfa04",
|
|
79
|
-
"type": "inject",
|
|
80
|
-
"z": "fe48580ae5a224cb",
|
|
81
|
-
"name": "",
|
|
82
|
-
"props": [
|
|
83
|
-
{
|
|
84
|
-
"p": "payload"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"p": "topic",
|
|
88
|
-
"vt": "str"
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"repeat": "",
|
|
92
|
-
"crontab": "",
|
|
93
|
-
"once": false,
|
|
94
|
-
"onceDelay": 0.1,
|
|
95
|
-
"topic": "1",
|
|
96
|
-
"payload": "false",
|
|
97
|
-
"payloadType": "bool",
|
|
98
|
-
"x": 110,
|
|
99
|
-
"y": 120,
|
|
100
|
-
"wires": [
|
|
101
|
-
[
|
|
102
|
-
"4b97cd2d0f253bf1"
|
|
103
|
-
]
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"id": "6bcbac1c8f25cf2e",
|
|
108
|
-
"type": "inject",
|
|
109
|
-
"z": "fe48580ae5a224cb",
|
|
110
|
-
"name": "",
|
|
111
|
-
"props": [
|
|
112
|
-
{
|
|
113
|
-
"p": "payload"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"p": "topic",
|
|
117
|
-
"vt": "str"
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"repeat": "",
|
|
121
|
-
"crontab": "",
|
|
122
|
-
"once": false,
|
|
123
|
-
"onceDelay": 0.1,
|
|
124
|
-
"topic": "2",
|
|
125
|
-
"payload": "true",
|
|
126
|
-
"payloadType": "bool",
|
|
127
|
-
"x": 110,
|
|
128
|
-
"y": 160,
|
|
129
|
-
"wires": [
|
|
130
|
-
[
|
|
131
|
-
"4b97cd2d0f253bf1"
|
|
132
|
-
]
|
|
133
|
-
]
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"id": "69618bb4e2e9be47",
|
|
137
|
-
"type": "inject",
|
|
138
|
-
"z": "fe48580ae5a224cb",
|
|
139
|
-
"name": "",
|
|
140
|
-
"props": [
|
|
141
|
-
{
|
|
142
|
-
"p": "payload"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"p": "topic",
|
|
146
|
-
"vt": "str"
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
"repeat": "",
|
|
150
|
-
"crontab": "",
|
|
151
|
-
"once": false,
|
|
152
|
-
"onceDelay": 0.1,
|
|
153
|
-
"topic": "2",
|
|
154
|
-
"payload": "false",
|
|
155
|
-
"payloadType": "bool",
|
|
156
|
-
"x": 110,
|
|
157
|
-
"y": 200,
|
|
158
|
-
"wires": [
|
|
159
|
-
[
|
|
160
|
-
"4b97cd2d0f253bf1"
|
|
161
|
-
]
|
|
162
|
-
]
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"id": "a5224f8ef5435962",
|
|
166
|
-
"type": "smart_logic",
|
|
167
|
-
"z": "fe48580ae5a224cb",
|
|
168
|
-
"name": "",
|
|
169
|
-
"logic": "OR",
|
|
170
|
-
"logic_inputs": 2,
|
|
171
|
-
"inverts": "",
|
|
172
|
-
"invert_output": false,
|
|
173
|
-
"out_false": "{}",
|
|
174
|
-
"out_true": "{}",
|
|
175
|
-
"x": 350,
|
|
176
|
-
"y": 340,
|
|
177
|
-
"wires": [
|
|
178
|
-
[
|
|
179
|
-
"a4a0030853d7a8c8"
|
|
180
|
-
]
|
|
181
|
-
]
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"id": "701a18fa6945c6fd",
|
|
185
|
-
"type": "inject",
|
|
186
|
-
"z": "fe48580ae5a224cb",
|
|
187
|
-
"name": "",
|
|
188
|
-
"props": [
|
|
189
|
-
{
|
|
190
|
-
"p": "payload"
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"p": "topic",
|
|
194
|
-
"vt": "str"
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
"repeat": "",
|
|
198
|
-
"crontab": "",
|
|
199
|
-
"once": false,
|
|
200
|
-
"onceDelay": 0.1,
|
|
201
|
-
"topic": "1",
|
|
202
|
-
"payload": "true",
|
|
203
|
-
"payloadType": "bool",
|
|
204
|
-
"x": 110,
|
|
205
|
-
"y": 280,
|
|
206
|
-
"wires": [
|
|
207
|
-
[
|
|
208
|
-
"a5224f8ef5435962"
|
|
209
|
-
]
|
|
210
|
-
]
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"id": "c5a680382b169f40",
|
|
214
|
-
"type": "inject",
|
|
215
|
-
"z": "fe48580ae5a224cb",
|
|
216
|
-
"name": "",
|
|
217
|
-
"props": [
|
|
218
|
-
{
|
|
219
|
-
"p": "payload"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"p": "topic",
|
|
223
|
-
"vt": "str"
|
|
224
|
-
}
|
|
225
|
-
],
|
|
226
|
-
"repeat": "",
|
|
227
|
-
"crontab": "",
|
|
228
|
-
"once": false,
|
|
229
|
-
"onceDelay": 0.1,
|
|
230
|
-
"topic": "1",
|
|
231
|
-
"payload": "false",
|
|
232
|
-
"payloadType": "bool",
|
|
233
|
-
"x": 110,
|
|
234
|
-
"y": 320,
|
|
235
|
-
"wires": [
|
|
236
|
-
[
|
|
237
|
-
"a5224f8ef5435962"
|
|
238
|
-
]
|
|
239
|
-
]
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"id": "7c71bf7dfbc8cf6d",
|
|
243
|
-
"type": "inject",
|
|
244
|
-
"z": "fe48580ae5a224cb",
|
|
245
|
-
"name": "",
|
|
246
|
-
"props": [
|
|
247
|
-
{
|
|
248
|
-
"p": "payload"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"p": "topic",
|
|
252
|
-
"vt": "str"
|
|
253
|
-
}
|
|
254
|
-
],
|
|
255
|
-
"repeat": "",
|
|
256
|
-
"crontab": "",
|
|
257
|
-
"once": false,
|
|
258
|
-
"onceDelay": 0.1,
|
|
259
|
-
"topic": "2",
|
|
260
|
-
"payload": "true",
|
|
261
|
-
"payloadType": "bool",
|
|
262
|
-
"x": 110,
|
|
263
|
-
"y": 360,
|
|
264
|
-
"wires": [
|
|
265
|
-
[
|
|
266
|
-
"a5224f8ef5435962"
|
|
267
|
-
]
|
|
268
|
-
]
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"id": "5db243d7a586a9c7",
|
|
272
|
-
"type": "inject",
|
|
273
|
-
"z": "fe48580ae5a224cb",
|
|
274
|
-
"name": "",
|
|
275
|
-
"props": [
|
|
276
|
-
{
|
|
277
|
-
"p": "payload"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"p": "topic",
|
|
281
|
-
"vt": "str"
|
|
282
|
-
}
|
|
283
|
-
],
|
|
284
|
-
"repeat": "",
|
|
285
|
-
"crontab": "",
|
|
286
|
-
"once": false,
|
|
287
|
-
"onceDelay": 0.1,
|
|
288
|
-
"topic": "2",
|
|
289
|
-
"payload": "false",
|
|
290
|
-
"payloadType": "bool",
|
|
291
|
-
"x": 110,
|
|
292
|
-
"y": 400,
|
|
293
|
-
"wires": [
|
|
294
|
-
[
|
|
295
|
-
"a5224f8ef5435962"
|
|
296
|
-
]
|
|
297
|
-
]
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"id": "a4a0030853d7a8c8",
|
|
301
|
-
"type": "debug",
|
|
302
|
-
"z": "fe48580ae5a224cb",
|
|
303
|
-
"name": "debug 25",
|
|
304
|
-
"active": true,
|
|
305
|
-
"tosidebar": true,
|
|
306
|
-
"console": false,
|
|
307
|
-
"tostatus": false,
|
|
308
|
-
"complete": "true",
|
|
309
|
-
"targetType": "full",
|
|
310
|
-
"statusVal": "",
|
|
311
|
-
"statusType": "auto",
|
|
312
|
-
"x": 600,
|
|
313
|
-
"y": 340,
|
|
314
|
-
"wires": []
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"id": "cb0e021909516c9c",
|
|
318
|
-
"type": "smart_logic",
|
|
319
|
-
"z": "fe48580ae5a224cb",
|
|
320
|
-
"name": "",
|
|
321
|
-
"logic": "XOR",
|
|
322
|
-
"logic_inputs": 2,
|
|
323
|
-
"inverts": "",
|
|
324
|
-
"invert_output": false,
|
|
325
|
-
"out_false": "{}",
|
|
326
|
-
"out_true": "{}",
|
|
327
|
-
"x": 350,
|
|
328
|
-
"y": 540,
|
|
329
|
-
"wires": [
|
|
330
|
-
[
|
|
331
|
-
"c39b3f047bb92118"
|
|
332
|
-
]
|
|
333
|
-
]
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"id": "536a359df9a07ff8",
|
|
337
|
-
"type": "inject",
|
|
338
|
-
"z": "fe48580ae5a224cb",
|
|
339
|
-
"name": "",
|
|
340
|
-
"props": [
|
|
341
|
-
{
|
|
342
|
-
"p": "payload"
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"p": "topic",
|
|
346
|
-
"vt": "str"
|
|
347
|
-
}
|
|
348
|
-
],
|
|
349
|
-
"repeat": "",
|
|
350
|
-
"crontab": "",
|
|
351
|
-
"once": false,
|
|
352
|
-
"onceDelay": 0.1,
|
|
353
|
-
"topic": "1",
|
|
354
|
-
"payload": "true",
|
|
355
|
-
"payloadType": "bool",
|
|
356
|
-
"x": 110,
|
|
357
|
-
"y": 480,
|
|
358
|
-
"wires": [
|
|
359
|
-
[
|
|
360
|
-
"cb0e021909516c9c"
|
|
361
|
-
]
|
|
362
|
-
]
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"id": "4bc71b4acf9df5f2",
|
|
366
|
-
"type": "inject",
|
|
367
|
-
"z": "fe48580ae5a224cb",
|
|
368
|
-
"name": "",
|
|
369
|
-
"props": [
|
|
370
|
-
{
|
|
371
|
-
"p": "payload"
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"p": "topic",
|
|
375
|
-
"vt": "str"
|
|
376
|
-
}
|
|
377
|
-
],
|
|
378
|
-
"repeat": "",
|
|
379
|
-
"crontab": "",
|
|
380
|
-
"once": false,
|
|
381
|
-
"onceDelay": 0.1,
|
|
382
|
-
"topic": "1",
|
|
383
|
-
"payload": "false",
|
|
384
|
-
"payloadType": "bool",
|
|
385
|
-
"x": 110,
|
|
386
|
-
"y": 520,
|
|
387
|
-
"wires": [
|
|
388
|
-
[
|
|
389
|
-
"cb0e021909516c9c"
|
|
390
|
-
]
|
|
391
|
-
]
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"id": "b3703d995bed1631",
|
|
395
|
-
"type": "inject",
|
|
396
|
-
"z": "fe48580ae5a224cb",
|
|
397
|
-
"name": "",
|
|
398
|
-
"props": [
|
|
399
|
-
{
|
|
400
|
-
"p": "payload"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"p": "topic",
|
|
404
|
-
"vt": "str"
|
|
405
|
-
}
|
|
406
|
-
],
|
|
407
|
-
"repeat": "",
|
|
408
|
-
"crontab": "",
|
|
409
|
-
"once": false,
|
|
410
|
-
"onceDelay": 0.1,
|
|
411
|
-
"topic": "2",
|
|
412
|
-
"payload": "true",
|
|
413
|
-
"payloadType": "bool",
|
|
414
|
-
"x": 110,
|
|
415
|
-
"y": 560,
|
|
416
|
-
"wires": [
|
|
417
|
-
[
|
|
418
|
-
"cb0e021909516c9c"
|
|
419
|
-
]
|
|
420
|
-
]
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"id": "cfe90bbe83d7bf01",
|
|
424
|
-
"type": "inject",
|
|
425
|
-
"z": "fe48580ae5a224cb",
|
|
426
|
-
"name": "",
|
|
427
|
-
"props": [
|
|
428
|
-
{
|
|
429
|
-
"p": "payload"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"p": "topic",
|
|
433
|
-
"vt": "str"
|
|
434
|
-
}
|
|
435
|
-
],
|
|
436
|
-
"repeat": "",
|
|
437
|
-
"crontab": "",
|
|
438
|
-
"once": false,
|
|
439
|
-
"onceDelay": 0.1,
|
|
440
|
-
"topic": "2",
|
|
441
|
-
"payload": "false",
|
|
442
|
-
"payloadType": "bool",
|
|
443
|
-
"x": 110,
|
|
444
|
-
"y": 600,
|
|
445
|
-
"wires": [
|
|
446
|
-
[
|
|
447
|
-
"cb0e021909516c9c"
|
|
448
|
-
]
|
|
449
|
-
]
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"id": "c39b3f047bb92118",
|
|
453
|
-
"type": "debug",
|
|
454
|
-
"z": "fe48580ae5a224cb",
|
|
455
|
-
"name": "debug 26",
|
|
456
|
-
"active": true,
|
|
457
|
-
"tosidebar": true,
|
|
458
|
-
"console": false,
|
|
459
|
-
"tostatus": false,
|
|
460
|
-
"complete": "true",
|
|
461
|
-
"targetType": "full",
|
|
462
|
-
"statusVal": "",
|
|
463
|
-
"statusType": "auto",
|
|
464
|
-
"x": 600,
|
|
465
|
-
"y": 540,
|
|
466
|
-
"wires": []
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"id": "85452958055151b4",
|
|
470
|
-
"type": "smart_logic",
|
|
471
|
-
"z": "fe48580ae5a224cb",
|
|
472
|
-
"name": "NOT",
|
|
473
|
-
"logic": "OR",
|
|
474
|
-
"logic_inputs": "1",
|
|
475
|
-
"inverts": "",
|
|
476
|
-
"invert_output": true,
|
|
477
|
-
"out_false": "{}",
|
|
478
|
-
"out_true": "{}",
|
|
479
|
-
"x": 350,
|
|
480
|
-
"y": 700,
|
|
481
|
-
"wires": [
|
|
482
|
-
[
|
|
483
|
-
"22d45943db332752"
|
|
484
|
-
]
|
|
485
|
-
]
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"id": "6a5a943ca9daa830",
|
|
489
|
-
"type": "inject",
|
|
490
|
-
"z": "fe48580ae5a224cb",
|
|
491
|
-
"name": "",
|
|
492
|
-
"props": [
|
|
493
|
-
{
|
|
494
|
-
"p": "payload"
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"p": "topic",
|
|
498
|
-
"vt": "str"
|
|
499
|
-
}
|
|
500
|
-
],
|
|
501
|
-
"repeat": "",
|
|
502
|
-
"crontab": "",
|
|
503
|
-
"once": false,
|
|
504
|
-
"onceDelay": 0.1,
|
|
505
|
-
"topic": "1",
|
|
506
|
-
"payload": "true",
|
|
507
|
-
"payloadType": "bool",
|
|
508
|
-
"x": 110,
|
|
509
|
-
"y": 680,
|
|
510
|
-
"wires": [
|
|
511
|
-
[
|
|
512
|
-
"85452958055151b4"
|
|
513
|
-
]
|
|
514
|
-
]
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"id": "18bb1a17101a51d8",
|
|
518
|
-
"type": "inject",
|
|
519
|
-
"z": "fe48580ae5a224cb",
|
|
520
|
-
"name": "",
|
|
521
|
-
"props": [
|
|
522
|
-
{
|
|
523
|
-
"p": "payload"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"p": "topic",
|
|
527
|
-
"vt": "str"
|
|
528
|
-
}
|
|
529
|
-
],
|
|
530
|
-
"repeat": "",
|
|
531
|
-
"crontab": "",
|
|
532
|
-
"once": false,
|
|
533
|
-
"onceDelay": 0.1,
|
|
534
|
-
"topic": "1",
|
|
535
|
-
"payload": "false",
|
|
536
|
-
"payloadType": "bool",
|
|
537
|
-
"x": 110,
|
|
538
|
-
"y": 720,
|
|
539
|
-
"wires": [
|
|
540
|
-
[
|
|
541
|
-
"85452958055151b4"
|
|
542
|
-
]
|
|
543
|
-
]
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"id": "22d45943db332752",
|
|
547
|
-
"type": "debug",
|
|
548
|
-
"z": "fe48580ae5a224cb",
|
|
549
|
-
"name": "debug 27",
|
|
550
|
-
"active": true,
|
|
551
|
-
"tosidebar": true,
|
|
552
|
-
"console": false,
|
|
553
|
-
"tostatus": false,
|
|
554
|
-
"complete": "true",
|
|
555
|
-
"targetType": "full",
|
|
556
|
-
"statusVal": "",
|
|
557
|
-
"statusType": "auto",
|
|
558
|
-
"x": 600,
|
|
559
|
-
"y": 700,
|
|
560
|
-
"wires": []
|
|
561
|
-
}
|
|
562
|
-
]
|
package/examples/logic.png
DELETED
|
Binary file
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "b80f634da5eb6a57",
|
|
4
|
-
"type": "tab",
|
|
5
|
-
"label": "Long press",
|
|
6
|
-
"disabled": false,
|
|
7
|
-
"info": "",
|
|
8
|
-
"env": []
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"id": "188e6bc063e55fe1",
|
|
12
|
-
"type": "debug",
|
|
13
|
-
"z": "b80f634da5eb6a57",
|
|
14
|
-
"name": "debug 19",
|
|
15
|
-
"active": true,
|
|
16
|
-
"tosidebar": true,
|
|
17
|
-
"console": false,
|
|
18
|
-
"tostatus": false,
|
|
19
|
-
"complete": "true",
|
|
20
|
-
"targetType": "full",
|
|
21
|
-
"statusVal": "",
|
|
22
|
-
"statusType": "auto",
|
|
23
|
-
"x": 700,
|
|
24
|
-
"y": 140,
|
|
25
|
-
"wires": []
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"id": "8405fcb432a84c2f",
|
|
29
|
-
"type": "inject",
|
|
30
|
-
"z": "b80f634da5eb6a57",
|
|
31
|
-
"name": "",
|
|
32
|
-
"props": [
|
|
33
|
-
{
|
|
34
|
-
"p": "payload"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"repeat": "",
|
|
38
|
-
"crontab": "",
|
|
39
|
-
"once": false,
|
|
40
|
-
"onceDelay": 0.1,
|
|
41
|
-
"topic": "",
|
|
42
|
-
"payload": "true",
|
|
43
|
-
"payloadType": "bool",
|
|
44
|
-
"x": 230,
|
|
45
|
-
"y": 140,
|
|
46
|
-
"wires": [
|
|
47
|
-
[
|
|
48
|
-
"f82e00455a239343"
|
|
49
|
-
]
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"id": "f82e00455a239343",
|
|
54
|
-
"type": "smart_long-press-control",
|
|
55
|
-
"z": "b80f634da5eb6a57",
|
|
56
|
-
"name": "",
|
|
57
|
-
"long_press_ms": "2000",
|
|
58
|
-
"short": "{\"payload\": \"short\"}",
|
|
59
|
-
"long": "{\"payload\": \"long\"}",
|
|
60
|
-
"x": 470,
|
|
61
|
-
"y": 160,
|
|
62
|
-
"wires": [
|
|
63
|
-
[
|
|
64
|
-
"188e6bc063e55fe1"
|
|
65
|
-
],
|
|
66
|
-
[
|
|
67
|
-
"ca7b66f07b084862"
|
|
68
|
-
]
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"id": "5918b210888d529e",
|
|
73
|
-
"type": "inject",
|
|
74
|
-
"z": "b80f634da5eb6a57",
|
|
75
|
-
"name": "",
|
|
76
|
-
"props": [
|
|
77
|
-
{
|
|
78
|
-
"p": "payload"
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
"repeat": "",
|
|
82
|
-
"crontab": "",
|
|
83
|
-
"once": false,
|
|
84
|
-
"onceDelay": 0.1,
|
|
85
|
-
"topic": "",
|
|
86
|
-
"payload": "false",
|
|
87
|
-
"payloadType": "bool",
|
|
88
|
-
"x": 230,
|
|
89
|
-
"y": 180,
|
|
90
|
-
"wires": [
|
|
91
|
-
[
|
|
92
|
-
"f82e00455a239343"
|
|
93
|
-
]
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"id": "ca7b66f07b084862",
|
|
98
|
-
"type": "debug",
|
|
99
|
-
"z": "b80f634da5eb6a57",
|
|
100
|
-
"name": "debug 20",
|
|
101
|
-
"active": true,
|
|
102
|
-
"tosidebar": true,
|
|
103
|
-
"console": false,
|
|
104
|
-
"tostatus": false,
|
|
105
|
-
"complete": "true",
|
|
106
|
-
"targetType": "full",
|
|
107
|
-
"statusVal": "",
|
|
108
|
-
"statusType": "auto",
|
|
109
|
-
"x": 700,
|
|
110
|
-
"y": 180,
|
|
111
|
-
"wires": []
|
|
112
|
-
}
|
|
113
|
-
]
|
|
Binary file
|