dmx-flok/setup.js

49 lines
935 B
JavaScript
Raw Normal View History

2012-12-05 09:34:03 +00:00
// listen port
exports.port = 80;
// uid and gid to drop root priv.
exports.uid = 'light';
exports.gid = 'users';
// setup devices
2012-09-01 12:17:39 +00:00
exports.setup = {
2012-09-17 17:00:24 +00:00
presets: [
{
label: 'White',
values: {
'office': { 0:16, 1:255, 2:0, 3:255, 4: 255, 5:255, 15:16, 16:255, 17:0, 18:255, 19: 255, 20:255 }
}
},
{
label: 'Natural',
values: {
'office': { 0:16, 1:255, 2:0, 3:255, 4: 190, 5:140, 15:16, 16:255, 17:0, 18:255, 19: 190, 20:140 }
}
},
{
label: 'Worklight',
values: {
'office': { 0:16, 1:130, 2:0, 3:255, 4: 165, 5:0, 15: 1, 16:255, 17:0, 18:255, 19: 190, 20:140, 21:0, 22: 0, 23:0, 24:255, 25: 190, 26:140 }
}
}
],
2012-09-01 12:17:39 +00:00
universes: {
'office': {
'output': {
'driver': 'enttec-usb-dmx-pro',
'device': 0
},
'devices': [
{
'type': 'eurolite-led-bar',
2012-09-08 12:43:04 +00:00
'address': 0
2012-09-01 12:17:39 +00:00
},
{
'type': 'eurolite-led-bar',
2012-09-08 12:43:04 +00:00
'address': 15
2012-09-01 12:17:39 +00:00
}
]
}
}
}