View difference between Paste ID: 30SzxNi7 and KtHVHetx
SHOW: | | - or go back to the newest paste.
1
[
2
    {
3
        "id": "1ef01c97.298ba3",
4
        "type": "tab",
5-
        "label": "Day9_UDPMoodLight",
5+
        "label": "[K3_P5 - Stimmungslicht]",
6
        "disabled": true,
7
        "info": ""
8
    },
9
    {
10
        "id": "10616c17.087254",
11
        "type": "udp in",
12
        "z": "1ef01c97.298ba3",
13
        "name": "",
14
        "iface": "",
15
        "port": "55056",
16
        "ipv": "udp4",
17
        "multicast": "false",
18
        "group": "",
19
        "datatype": "utf8",
20
        "x": 100,
21
        "y": 140,
22
        "wires": [
23
            [
24
                "e4214449.c92b58",
25
                "8b269d6c.1b18e"
26
            ]
27
        ]
28
    },
29
    {
30
        "id": "63ece32f.b3fcdc",
31
        "type": "switch",
32
        "z": "1ef01c97.298ba3",
33
        "name": "",
34
        "property": "payload.cmd",
35
        "propertyType": "msg",
36
        "rules": [
37
            {
38
                "t": "eq",
39
                "v": "get_adc_state",
40
                "vt": "str"
41
            },
42
            {
43
                "t": "eq",
44
                "v": "get_rgb_hsv",
45
                "vt": "str"
46
            }
47
        ],
48
        "checkall": "true",
49
        "repair": false,
50
        "outputs": 2,
51
        "x": 390,
52
        "y": 140,
53
        "wires": [
54
            [
55
                "9ddaf616.8842e8"
56
            ],
57
            [
58
                "29b4c8e6.2ccc18"
59
            ]
60
        ]
61
    },
62
    {
63
        "id": "e4214449.c92b58",
64
        "type": "debug",
65
        "z": "1ef01c97.298ba3",
66
        "name": "",
67
        "active": false,
68
        "tosidebar": true,
69
        "console": false,
70
        "tostatus": false,
71
        "complete": "false",
72
        "x": 310,
73
        "y": 220,
74
        "wires": []
75
    },
76
    {
77
        "id": "8b269d6c.1b18e",
78
        "type": "json",
79
        "z": "1ef01c97.298ba3",
80
        "name": "",
81
        "property": "payload",
82
        "action": "",
83
        "pretty": false,
84
        "x": 250,
85
        "y": 140,
86
        "wires": [
87
            [
88
                "63ece32f.b3fcdc"
89
            ]
90
        ]
91
    },
92
    {
93
        "id": "9ddaf616.8842e8",
94
        "type": "template",
95
        "z": "1ef01c97.298ba3",
96
        "name": "Get Values",
97
        "field": "payload",
98
        "fieldType": "msg",
99
        "format": "handlebars",
100
        "syntax": "mustache",
101
        "template": "{{payload.Light}}",
102
        "output": "str",
103
        "x": 550,
104
        "y": 80,
105
        "wires": [
106
            [
107
                "355a933a.6f163c",
108
                "6328e72.0c6a318"
109
            ]
110
        ]
111
    },
112
    {
113
        "id": "355a933a.6f163c",
114
        "type": "ui_gauge",
115
        "z": "1ef01c97.298ba3",
116
        "name": "",
117
        "group": "167fa14d.fb048f",
118
        "order": 1,
119
        "width": 0,
120
        "height": 0,
121
        "gtype": "gage",
122
        "title": "Brightness Values",
123
        "label": "RAW",
124
        "format": "{{value}}",
125
        "min": 0,
126
        "max": "4095",
127
        "colors": [
128
            "#0000ff",
129
            "#00ff00",
130
            "#ca3838"
131
        ],
132
        "seg1": "1366",
133
        "seg2": "2732",
134
        "x": 750,
135
        "y": 60,
136
        "wires": []
137
    },
138
    {
139
        "id": "eaf7e4b4.ce0ef8",
140
        "type": "ui_colour_picker",
141
        "z": "1ef01c97.298ba3",
142
        "name": "",
143
        "label": "OnBoard LED",
144
        "group": "167fa14d.fb048f",
145
        "format": "hsv",
146
        "outformat": "string",
147
        "showSwatch": true,
148
        "showPicker": true,
149
        "showValue": false,
150
        "showAlpha": false,
151
        "showLightness": false,
152
        "dynOutput": "false",
153
        "order": 2,
154
        "width": "5",
155
        "height": "5",
156
        "passthru": true,
157
        "topic": "",
158
        "x": 740,
159
        "y": 180,
160
        "wires": [
161
            []
162
        ]
163
    },
164
    {
165
        "id": "b9b93b75.36e848",
166
        "type": "udp out",
167
        "z": "1ef01c97.298ba3",
168
        "name": "",
169
        "addr": "192.168.178.255",
170
        "iface": "",
171
        "port": "55056",
172
        "ipv": "udp4",
173
        "outport": "",
174
        "base64": false,
175
        "multicast": "false",
176
        "x": 1080,
177
        "y": 120,
178
        "wires": []
179
    },
180
    {
181
        "id": "9fce7d6b.100e9",
182
        "type": "template",
183
        "z": "1ef01c97.298ba3",
184
        "name": "color_hsv",
185
        "field": "payload",
186
        "fieldType": "msg",
187
        "format": "handlebars",
188
        "syntax": "mustache",
189
        "template": "{\"cmd\":\"set_rgb_hsv\",\"value\":\"hsv({{payload}}, 100%, 100%)\"}",
190
        "output": "str",
191
        "x": 860,
192
        "y": 120,
193
        "wires": [
194
            [
195
                "b9b93b75.36e848"
196
            ]
197
        ]
198
    },
199
    {
200
        "id": "6328e72.0c6a318",
201
        "type": "range",
202
        "z": "1ef01c97.298ba3",
203
        "minin": "0",
204
        "maxin": "4095",
205
        "minout": "240",
206
        "maxout": "0",
207
        "action": "scale",
208
        "round": true,
209
        "property": "payload",
210
        "name": "",
211
        "x": 710,
212
        "y": 120,
213
        "wires": [
214
            [
215
                "9fce7d6b.100e9"
216
            ]
217
        ]
218
    },
219
    {
220
        "id": "29b4c8e6.2ccc18",
221
        "type": "template",
222
        "z": "1ef01c97.298ba3",
223
        "name": "Get Values",
224
        "field": "payload",
225
        "fieldType": "msg",
226
        "format": "handlebars",
227
        "syntax": "mustache",
228
        "template": "{{payload.value}}",
229
        "output": "str",
230
        "x": 550,
231
        "y": 180,
232
        "wires": [
233
            [
234
                "eaf7e4b4.ce0ef8"
235
            ]
236
        ]
237
    },
238
    {
239
        "id": "167fa14d.fb048f",
240
        "type": "ui_group",
241
        "z": "",
242-
        "name": "[Day9] Mood Light",
242+
        "name": "[K3_P5 - Stimmungslicht]",
243
        "tab": "614da79b.d69768",
244
        "disp": true,
245
        "width": "6",
246
        "collapse": false
247
    },
248
    {
249
        "id": "614da79b.d69768",
250
        "type": "ui_tab",
251
        "z": "",
252-
        "name": "Day9",
252+
        "name": "[K3_P5]",
253
        "icon": "dashboard",
254
        "order": 5
255
    }
256
]