-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmodule.json
More file actions
139 lines (131 loc) · 2.77 KB
/
module.json
File metadata and controls
139 lines (131 loc) · 2.77 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
{
"name": "Light Control",
"type": "DMX",
"path": "Protocol",
"version": "1.0.5",
"description": "Jonglissimo's module to enable addressing and grouping of DMX lights by names",
"url": "https://github.com/jonglissimo/Light-Control-Chataigne-Module",
"downloadURL": "https://github.com/jonglissimo/Light-Control-Chataigne-Module/archive/master.zip",
"hasInput": false,
"hasOutput": true,
"hideDefaultCommands": true,
"defaults":
{
"dmxType":"Art-Net"
},
"parameters":
{
"Setup":{
"type": "Container",
"collapsed": false,
"Fixture Definition" : { "type": "File", "description": "Select json file with fixture definitions." , "alwaysNotify": true },
"Fixtures" : { "type": "File", "description": "Select json file with fixtures."},
"Corrections" : { "type": "File", "description": "Select json file with corrections for pan/tilt/zoom parameters."},
"Load Fixtures": { "type": "Trigger", "description": "Load the fixture files and create parameters for lights"},
"Clear DMX": { "type": "Trigger", "description": "Set all DMX channels to 0"},
"Reload Corrections": { "type": "Trigger", "description": "Reload the corrections for pan/tilt/zoom from json file." }
},
"Lights":{
"type": "Container",
"collapsed": true
},
"Groups":{
"type": "Container",
"collapsed": true
}
},
"hideDefaultParameters": [],
"scripts": [
"light-control.js"
],
"values": {},
"commands": {
"Color": {
"menu": "",
"callback": "setColor",
"parameters": {
"Light" : {
"type": "String"
},
"Color": {
"type": "Color",
"default": [0,0,0,1],
"mappingIndex": 0
}
}
},
"Color Channel": {
"menu": "",
"callback": "setColorChannel",
"parameters": {
"Light" : {
"type": "String"
},
"Color Index": {
"type": "Integer",
"default": 0,
"min": 0,
"max": 3
},
"Value": {
"type": "Float",
"default": 1,
"min": 0,
"max": 1,
"mappingIndex": 0
}
}
},
"Dimmer": {
"menu": "",
"callback": "setDimmer",
"parameters": {
"Light" : {
"type": "String"
},
"Dimmer": {
"type": "Float",
"default": 0,
"min": 0,
"max": 1,
"mappingIndex": 0
}
}
},
"Shutter": {
"menu": "",
"callback": "setShutter",
"parameters": {
"Light" : {
"type": "String"
},
"Shutter": {
"type": "Float",
"default": 0,
"min": 0,
"max": 1,
"mappingIndex": 0
}
}
},
"Set": {
"menu": "",
"callback": "setSimpleParameter",
"parameters": {
"Light" : {
"type": "String"
},
"Channel" : {
"type": "String"
},
"Value": {
"type": "Float",
"default": 0,
"min": 0,
"max": 1,
"mappingIndex": 0
}
}
}
}
}