-
Notifications
You must be signed in to change notification settings - Fork 5
/
tuit.json
116 lines (116 loc) · 2.51 KB
/
tuit.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[
{
"id": "2f7b9b2f.ff0084",
"type": "twitter out",
"z": "2285b103.0c0aee",
"twitter": "",
"name": "Tweet",
"x": 650,
"y": 160,
"wires": []
},
{
"id": "d5553d13.8a05c",
"type": "random",
"z": "2285b103.0c0aee",
"name": "",
"low": "1",
"high": "10",
"inte": "true",
"x": 160,
"y": 140,
"wires": [
[
"bc4ede90.b9574",
"b010d7c8.cc1b38"
]
]
},
{
"id": "d04d9766.787d68",
"type": "inject",
"z": "2285b103.0c0aee",
"name": "cada 5 seg",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "5",
"crontab": "",
"once": false,
"x": 110,
"y": 80,
"wires": [
[
"d5553d13.8a05c"
]
]
},
{
"id": "bc4ede90.b9574",
"type": "switch",
"z": "2285b103.0c0aee",
"name": "alarma",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "5",
"vt": "num"
},
{
"t": "neq",
"v": "5",
"vt": "num"
}
],
"checkall": "true",
"outputs": 2,
"x": 310,
"y": 160,
"wires": [
[
"b96c911f.dbf2c"
],
[]
]
},
{
"id": "b96c911f.dbf2c",
"type": "function",
"z": "2285b103.0c0aee",
"name": "mensaje",
"func": "msg.payload = \"hola mundo!\"\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 520,
"y": 160,
"wires": [
[
"2f7b9b2f.ff0084"
]
]
},
{
"id": "b010d7c8.cc1b38",
"type": "debug",
"z": "2285b103.0c0aee",
"name": "",
"active": true,
"console": "false",
"complete": "false",
"x": 330,
"y": 120,
"wires": []
},
{
"id": "90b368a7.1ff06",
"type": "comment",
"z": "2285b103.0c0aee",
"name": "envía un tuit si la lectura es 5",
"info": "",
"x": 580,
"y": 120,
"wires": []
}
]