-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample-flow.json
98 lines (98 loc) · 1.81 KB
/
example-flow.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[
{
"id": "6cf71678.9a8418",
"type": "tab",
"label": "Difference",
"disabled": false,
"info": ""
},
{
"id": "b5bab17f.f46c4",
"type": "inject",
"z": "6cf71678.9a8418",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 100,
"y": 80,
"wires": [
[
"6bc398a4.8dd3c8"
]
]
},
{
"id": "8f85ff54.f5bff",
"type": "debug",
"z": "6cf71678.9a8418",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"x": 370,
"y": 80,
"wires": []
},
{
"id": "6bc398a4.8dd3c8",
"type": "change",
"z": "6cf71678.9a8418",
"name": "",
"rules": [
{
"t": "set",
"p": "left",
"pt": "msg",
"to": "[\"left once\",\"left twice\",\"left twice\",\"left once right twice\",\"both once\"]",
"tot": "json"
},
{
"t": "set",
"p": "right",
"pt": "msg",
"to": "[\"right once\",\"right twice\",\"right twice\",\"left once right twice\",\"left once right twice\",\"both once\"]",
"tot": "json"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 140,
"y": 120,
"wires": [
[
"51132fe1.03234"
]
]
},
{
"id": "51132fe1.03234",
"type": "differences",
"z": "6cf71678.9a8418",
"name": "",
"leftInput": "left",
"leftInputType": "msg",
"rightInput": "right",
"rightInputType": "msg",
"func": "⋃",
"outputType": "msg",
"output": "payload",
"x": 180,
"y": 160,
"wires": [
[
"8f85ff54.f5bff"
]
]
}
]