Repository navigation
Expand file tree
/
Copy pathmodule.json
More file actions
348 lines (332 loc) · 8.21 KB
/
Copy pathmodule.json
File metadata and controls
348 lines (332 loc) · 8.21 KB
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
{
"name": "LedFX",
"type": "HTTP",
"path": "Software",
"version": "1.3.0",
"description": "send CMD to your LedFX",
"url":"",
"downloadURL": "",
"hasInput": true,
"hasOutput": true,
"hideDefaultCommands": false,
"hideDefaultParameters": [
"protocol"
],
"defaults": {
"baseAddress":"http://127.0.0.1:8888/api",
"autoAdd": false,
"protocol":"JSON",
"authentication":
{
"enabled":false
}
},
"parameters": {
"Run LedFX": {
"type": "Trigger",
"description": "Run LedFX App"
},
"LedFX Info": {
"type": "Trigger",
"description": "LedFX documentation"
},
"LedFX Refresh": {
"type": "Trigger",
"description": "LedFX status refresh"
},
"LedFX Refresh Interval": {
"type": "Integer",
"min": 0,
"max": 60,
"default": 30,
"description": "LedFX status refresh interval (in second).
Put 0 to disable."
},
"LedFX Paused": {
"type": "Boolean",
"description": "True if LedFX is on Pause",
"default": true,
"readOnly": true
},
"BPM Params":{
"type": "Container",
"description":"BPM extra parameters",
"collapsed": true,
"Use BPM": {
"type": "Boolean",
"description": "Check to use WLEDAudiosync BPM feature.
WLEDAudioSync need to be present, and you need to set the BPM feature on it.
If you do not use WLED audio sync, disable wLEDAudioSync.parameters.live to save bandwidth.
For some BPM ranges, a LedFX scene can be set.
Once BPM detected and on this range, this will activate corresponding LedFX scene.",
"default": false
},
"Default Scene Name": {
"type": "String",
"description": "Enter default scene name:
will be used where no scene has been set for tempo",
"default": "scenename",
},
"Larghissimo": {
"type": "String",
"description": "Enter scene name for:
Larghissimo 24 bpm or slower Very, very slow",
},
"Grave": {
"type": "String",
"description": "Enter scene name for:
Grave 25 to 45 bpm Slow and solemn",
},
"Lento": {
"type": "String",
"description": "Enter scene name for:
Lento 46 to 60 bpm slow",
},
"Larghetto": {
"type": "String",
"description": "Enter scene name for:
Larghetto 61 to 66 bpm Rather broad but still quite slow",
},
"Adagio": {
"type": "String",
"description": "Enter scene name for:
Adagio 67 to 76 bpm At ease, slow with great expression",
},
"Andante": {
"type": "String",
"description": "Enter scene name for:
Andante 77 to 108 bpm At a walking pace",
},
"Moderato": {
"type": "String",
"description": "Enter scene name for:
Moderato 109 to 120 bpm Moderate speed",
},
"Allegro": {
"type": "String",
"description": "Enter scene name for:
Allegro 121 to 156 bpm Fast and Bright",
},
"Vivace": {
"type": "String",
"description": "Enter scene name for:
Vivace 157 to 168 bpm Lively and fast",
},
"Presto": {
"type": "String",
"description": "Enter scene name for:
Presto 169 to 200 bpm Extremely fast",
},
"Prestissimo": {
"type": "String",
"description": "Enter scene name for:
Prestissimo 201 and over Faster than Presto",
}
},
"RTMMD Params":{
"type": "Container",
"description":"RTMMD extra parameters",
"collapsed": true,
"Use RTMMD": {
"type": "Boolean",
"description": "Check to use WLEDAudiosync RTMMD feature.
WLEDAudioSync need to be present, and you need to set the RTMMD feature on it.
If you do not use WLED audio sync, disable wLEDAudioSync.parameters.live to save bandwidth.
For some Mood, a LedFX scene can be set.
Once Mood detected this will activate corresponding LedFX scene.",
"default": false
},
"Default Scene Name": {
"type": "String",
"description": "Enter default scene name:
will be used where no scene has been set for Mood",
"default": "scenename",
},
"Neutral": {
"type": "String",
"description": "Enter scene name for:
neutral mood , found around the center",
},
"Joy": {
"type": "String",
"description": "Enter scene name for:
Joy (yellow), on the Top right from middle",
},
"Extase": {
"type": "String",
"description": "Enter scene name for:
Extase (yellow), on the Top right with higher energy",
},
"Serenity": {
"type": "String",
"description": "Enter scene name for:
Serenity (yellow), on the Top right for other",
},
"Disgust": {
"type": "String",
"description": "Enter scene name for:
Disgust (purple), on the Extrem Left, center",
},
"Sad": {
"type": "String",
"description": "Enter scene name for:
Sad (blue), on the Low Left from middle",
},
"Pensinve": {
"type": "String",
"description": "Enter scene name for:
Pensinve (blue), on the Low Left for other",
},
"Rage": {
"type": "String",
"description": "Enter scene name for:
Rage (red), on the Top Left from center or with higher energy",
},
"Angry": {
"type": "String",
"description": "Enter scene name for:
Angry (red), on the Top Left, for other",
},
"Calm": {
"type": "String",
"description": "Enter scene name for:
Calm (green), on the Low Right, for other",
},
"Relax": {
"type": "String",
"description": "Enter scene name for:
Relax (green), on the Low Right, from center",
}
}
},
"values": {
},
"scripts": [
"LedFXCMD.js"
],
"commands": {
"Switch On/Off":
{
"menu":"LedFX-Virtual",
"callback":"VirtualOnOff",
"setupCallback":"createDeviceList",
"parameters": {
"On or Off": {
"type": "Boolean",
"default": false,
"shortName":"onOff",
"description": "Checked will put the virtual device On",
"useForMapping": false
}
}
},
"Apply Effect":
{
"menu":"LedFX-Virtual",
"callback":"VirtualEffect",
"setupCallback":"createDeviceList",
"parameters": {
"effect": {
"type":"Enum",
"options": {
"Gradient":"gradient",
"Bands":"bands",
"Bands Matrix":"bands_matrix",
"Bar":"bar",
"Blade Power plus":"blade_power_plus",
"Block Reflections":"block_reflections",
"Blocks":"blocks",
"Crawler":"crawler",
"Energy":"energy",
"Energy 2":"energy2",
"Equalizer":"equalizer",
"Fade":"fade",
"Fire":"fire",
"Glitch":"glitch",
"Lava Lamp":"lava_lamp",
"Magnitude":"magnitude",
"Marching":"marching",
"Melt":"melt",
"Multicolor Bar":"multiBar",
"Pitch Spectrum":"pitchSpectrum",
"Power":"power",
"Rain":"rain",
"Rainbow":"rainbow",
"Strobe":"real_strobe",
"Scroll":"scroll",
"Single Color":"singleColor",
"Spectrum":"spectrum",
"BPM Strobe":"strobe",
"Wavelength":"wavelength"
} ,
"description": "Effect Name to apply",
"default": "gradient"
},
}
},
"Remove Effect":
{
"menu":"LedFX-Virtual",
"callback":"VirtualRemoveEffect",
"setupCallback":"createDeviceList"
},
"List All":
{
"menu":"LedFX-Virtual",
"callback":"virtualsList"
},
"De_Activate":
{
"menu":"LedFX-Scene",
"callback":"sceneOnOff",
"setupCallback":"createSceneList",
"parameters": {
"Activate or Deactivate": {
"type": "Boolean",
"description": "Checked will activate the Scene",
"shortName":"activate",
"default": true,
"useForMapping": false
}
}
},
"List All Scene":
{
"menu":"LedFX-Scene",
"callback":"scenesList"
},
"List All Device":
{
"menu":"LedFX-Device",
"callback":"deviceList"
},
"Ledfx Play On/Off":
{
"menu":"LedFX-Main",
"callback":"LedfxOnOff",
"parameters":{
"Global Play or Paused": {
"type": "Boolean",
"description": "Checked will put LedFX On... otherwise Paused it",
"shortName":"play",
"default": true,
"useForMapping": false
}
}
},
"Ledfx restart":
{
"menu":"LedFX-Main",
"callback":"LedfxRestart",
"parameters":{
"Restart core": {
"type": "Boolean",
"description": "Checked will restart LedFX.",
"shortName":"restart",
"default": false,
"useForMapping": false
}
}
}
}
}