forked from node-dmx/dmx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevices.js
54 lines (54 loc) · 1.46 KB
/
devices.js
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
module.exports = {
'generic': {
channels: ['dimmer']
},
'showtec-multidim2': {
channels: ['1', '2', '3', '4']
},
'eurolite-led-bar': {
channels: ['ctrl', 'dimmer', 'strobe', 'red0', 'green0', 'blue0', 'red1', 'green1', 'blue1', 'red2', 'green2', 'blue2'],
ranges: {
'ctrl': {
'type': 'option',
'options': [
{'value': 0, 'label': 'Black Out'},
{'value': 1, 'label': 'Dimmer 1'},
{'value': 16, 'label': 'Dimmer 2'},
{'value': 32, 'label': 'Red'},
{'value': 48, 'label': 'Green'},
{'value': 64, 'label': 'Blue'},
{'value': 80, 'label': 'Purple'},
{'value': 96, 'label': 'Yellow'},
{'value': 112, 'label': 'Cyan'},
{'value': 128, 'label': 'White'},
{'value': 144, 'label': 'Color change'},
{'value': 160, 'label': 'Color flow'},
{'value': 176, 'label': 'Color dream'},
{'value': 192, 'label': 'Multi flow'},
{'value': 208, 'label': 'Dream flow'},
{'value': 224, 'label': 'Two color flow'},
{'value': 240, 'label': 'Sound activity'}
]
},
'dimmer': {
'type': 'slider',
'min': 0,
'max': 255
}
}
},
'stairville-led-par-56': {
channels: ['ctrl', 'red', 'green', 'blue', 'speed'],
ranges: {
'ctrl': {
'type': 'option',
'options': [
{'value': 0, 'label': 'RGB Control'},
{'value': 64, 'label': '7 color fade'},
{'value': 128, 'label': '7 color change'},
{'value': 192, 'label': '3 color change'}
]
}
}
}
}