View difference between Paste ID: 3UkHsi4e and cpS8Z4eX
SHOW: | | - or go back to the newest paste.
1
[
2
    {
3
        "id": "82c1e160.e9dcc",
4
        "type": "tab",
5-
        "label": "Day23_Alarm",
5+
        "label": "[K3_P19 - Alarmanlage]",
6
        "disabled": true,
7
        "info": ""
8
    },
9
    {
10
        "id": "8a352534.4e3838",
11
        "type": "mqtt in",
12
        "z": "82c1e160.e9dcc",
13
        "name": "",
14
        "topic": "NodeESP/[PID]/button/state/get/out",
15
        "qos": "2",
16
        "broker": "3c53c9b8.8965a6",
17
        "x": 260,
18
        "y": 280,
19
        "wires": [
20
            [
21
                "24659bbf.6c6f84",
22
                "597bae5f.c9075"
23
            ]
24
        ]
25
    },
26
    {
27
        "id": "24659bbf.6c6f84",
28
        "type": "json",
29
        "z": "82c1e160.e9dcc",
30
        "name": "",
31
        "property": "payload",
32
        "action": "",
33
        "pretty": false,
34
        "x": 510,
35
        "y": 280,
36
        "wires": [
37
            [
38
                "7e8868a9.2735b8"
39
            ]
40
        ]
41
    },
42
    {
43
        "id": "3b654964.c5d6f6",
44
        "type": "ui_audio",
45
        "z": "82c1e160.e9dcc",
46
        "name": "",
47
        "group": "69ee1125.0f167",
48
        "voice": "",
49
        "always": "",
50
        "x": 1480,
51
        "y": 140,
52
        "wires": []
53
    },
54
    {
55
        "id": "1187f01f.f317e",
56
        "type": "ui_toast",
57
        "z": "82c1e160.e9dcc",
58
        "position": "top right",
59
        "displayTime": "3",
60
        "highlight": "",
61
        "outputs": 0,
62
        "ok": "OK",
63
        "cancel": "",
64
        "topic": "",
65
        "name": "",
66
        "x": 1500,
67
        "y": 200,
68
        "wires": []
69
    },
70
    {
71
        "id": "867286e5.b0ed48",
72
        "type": "e-mail",
73
        "z": "82c1e160.e9dcc",
74
        "server": "smtp.gmail.com",
75
        "port": "465",
76
        "secure": true,
77
        "name": "",
78
        "dname": "",
79
        "x": 1470,
80
        "y": 260,
81
        "wires": []
82
    },
83
    {
84
        "id": "d5764564.ff01c8",
85
        "type": "twitter out",
86
        "z": "82c1e160.e9dcc",
87
        "twitter": "",
88
        "name": "Tweet",
89
        "x": 1470,
90
        "y": 320,
91
        "wires": []
92
    },
93
    {
94
        "id": "d2041ebc.626af",
95
        "type": "mqtt out",
96
        "z": "82c1e160.e9dcc",
97
        "name": "",
98
        "topic": "NodeESP/[PID]/in",
99
        "qos": "",
100
        "retain": "",
101
        "broker": "3c53c9b8.8965a6",
102
        "x": 1310,
103
        "y": 360,
104
        "wires": []
105
    },
106
    {
107
        "id": "34eed7b6.404048",
108
        "type": "switch",
109
        "z": "82c1e160.e9dcc",
110
        "name": "",
111
        "property": "payload",
112
        "propertyType": "msg",
113
        "rules": [
114
            {
115
                "t": "true"
116
            }
117
        ],
118
        "checkall": "true",
119
        "repair": false,
120
        "outputs": 1,
121
        "x": 1050,
122
        "y": 240,
123
        "wires": [
124
            [
125
                "9034c4b5.c536b8"
126
            ]
127
        ]
128
    },
129
    {
130
        "id": "9034c4b5.c536b8",
131
        "type": "change",
132
        "z": "82c1e160.e9dcc",
133
        "name": "",
134
        "rules": [
135
            {
136
                "t": "set",
137
                "p": "payload",
138
                "pt": "msg",
139
                "to": "Intruder Detected! Alarm!",
140
                "tot": "str"
141
            }
142
        ],
143
        "action": "",
144
        "property": "",
145
        "from": "",
146
        "to": "",
147
        "reg": false,
148
        "x": 1240,
149
        "y": 240,
150
        "wires": [
151
            [
152
                "3b654964.c5d6f6",
153
                "1187f01f.f317e",
154
                "867286e5.b0ed48",
155
                "d5764564.ff01c8"
156
            ]
157
        ]
158
    },
159
    {
160
        "id": "7e8868a9.2735b8",
161
        "type": "switch",
162
        "z": "82c1e160.e9dcc",
163
        "name": "",
164
        "property": "payload.Tilt",
165
        "propertyType": "msg",
166
        "rules": [
167
            {
168
                "t": "true"
169
            }
170
        ],
171
        "checkall": "true",
172
        "repair": false,
173
        "outputs": 1,
174
        "x": 670,
175
        "y": 280,
176
        "wires": [
177
            [
178
                "a27a4f6e.ffbb7"
179
            ]
180
        ]
181
    },
182
    {
183
        "id": "a27a4f6e.ffbb7",
184
        "type": "trigger",
185
        "z": "82c1e160.e9dcc",
186
        "op1": "true",
187
        "op2": "false",
188
        "op1type": "bool",
189
        "op2type": "bool",
190
        "duration": "5",
191
        "extend": false,
192
        "units": "s",
193
        "reset": "",
194
        "bytopic": "all",
195
        "name": "",
196
        "x": 820,
197
        "y": 280,
198
        "wires": [
199
            [
200
                "34eed7b6.404048",
201
                "a2387682.cfacf8",
202
                "ca27ee95.e8fa"
203
            ]
204
        ]
205
    },
206
    {
207
        "id": "a2387682.cfacf8",
208
        "type": "template",
209
        "z": "82c1e160.e9dcc",
210
        "name": "set_alarm",
211
        "field": "payload",
212
        "fieldType": "msg",
213
        "format": "handlebars",
214
        "syntax": "mustache",
215
        "template": "{\"cmd\":\"set_alarm\",\"value\":{{payload}}}",
216
        "output": "str",
217
        "x": 1060,
218
        "y": 360,
219
        "wires": [
220
            [
221
                "d2041ebc.626af"
222
            ]
223
        ]
224
    },
225
    {
226
        "id": "597bae5f.c9075",
227
        "type": "debug",
228
        "z": "82c1e160.e9dcc",
229
        "name": "",
230
        "active": false,
231
        "tosidebar": true,
232
        "console": false,
233
        "tostatus": false,
234
        "complete": "false",
235
        "x": 540,
236
        "y": 200,
237
        "wires": []
238
    },
239
    {
240
        "id": "ca27ee95.e8fa",
241
        "type": "ui_switch",
242
        "z": "82c1e160.e9dcc",
243
        "name": "",
244
        "label": "Alarm State",
245
        "group": "69ee1125.0f167",
246
        "order": 0,
247
        "width": 0,
248
        "height": 0,
249
        "passthru": true,
250
        "decouple": "false",
251
        "topic": "",
252
        "style": "",
253
        "onvalue": "true",
254
        "onvalueType": "bool",
255
        "onicon": "",
256
        "oncolor": "",
257
        "offvalue": "false",
258
        "offvalueType": "bool",
259
        "officon": "",
260
        "offcolor": "",
261
        "x": 1070,
262
        "y": 180,
263
        "wires": [
264
            []
265
        ]
266
    },
267
    {
268
        "id": "3c53c9b8.8965a6",
269
        "type": "mqtt-broker",
270
        "z": "",
271
        "name": "fkainka.de",
272
        "broker": "broker.fkainka.de",
273
        "port": "1883",
274
        "clientid": "",
275
        "usetls": false,
276
        "compatmode": true,
277
        "keepalive": "60",
278
        "cleansession": true,
279
        "willTopic": "",
280
        "willQos": "0",
281
        "willPayload": "",
282
        "birthTopic": "",
283
        "birthQos": "0",
284
        "birthPayload": ""
285
    },
286
    {
287
        "id": "69ee1125.0f167",
288
        "type": "ui_group",
289
        "z": "",
290-
        "name": "[Day23] Alarm",
290+
        "name": "[K3_P19 - Alarmanlage]",
291
        "tab": "7d1eab34.801e04",
292
        "order": 1,
293
        "disp": true,
294
        "width": "6",
295
        "collapse": false
296
    },
297
    {
298
        "id": "7d1eab34.801e04",
299
        "type": "ui_tab",
300
        "z": "",
301-
        "name": "Day23",
301+
        "name": "[K3_P19]",
302
        "icon": "dashboard",
303
        "order": 18
304
    }
305
]