dmx-flok/dmx-web-example.conf

198 lines
4.1 KiB
Plaintext

{
"_title": "DMX Dashboard",
"_comment1": "To have a different page title change _title to title.",
"server": {
"listen_port": 8080,
"listen_host": "::",
"_uid": "www-data",
"_gid": "www-data",
"_comment1": "To drop privileges change the '_uid' and '_gid' keys to 'uid' and 'gid'.",
"_comment2": "On macOS uid and gid must be set in the launchd script."
},
"presets": [
{
"label": "White",
"values": {
"office": { "1": 16, "2": 255, "3": 0, "4": 255, "5": 255, "6": 255, "16": 16, "17": 255, "18": 0, "19": 255, "20": 255, "21": 255 }
}
},
{
"label": "Natural",
"values": {
"office": { "1": 16, "2": 255, "3": 0, "4":255, "5": 190, "6": 140, "16": 16, "17": 255, "18": 0, "19": 255, "20": 190, "21":140 }
}
},
{
"label": "Worklight",
"values": {
"office": { "1": 16, "2": 130, "3": 0, "4": 255, "5": 165, "6": 0, "16": 1, "17": 255, "18": 0, "19": 255, "20": 190, "21": 140, "22": 0, "23": 0, "24": 0, "25": 255, "26": 190, "27": 140 }
}
},
{
"label": "Chill",
"values": {
"office": { "1": 16, "2": 255, "3": 0, "4": 255, "5": 39, "6": 0, "16": 1, "17": 255, "18": 0, "19": 255, "20": 255, "21": 0, "22": 0, "23": 0, "24": 0, "25": 128, "26": 0, "27": 255, "32": 255, "33": 60 }
}
},
{
"label": "Cinema",
"values": {
"office": { "1": 16, "2": 30, "3":0, "4": 255, "5": 39, "6": 0, "16": 0, "32": 255, "33": 0 }
}
}
],
"universes": {
"office": {
"output": {
"driver": "enttec-usb-dmx-pro",
"device": "/dev/cu.usbserial-6AVNHXS8"
},
"devices": [
{
"type": "eurolite-led-bar",
"address": 1,
"name": "Behind the TV",
"_comment1": "name is optional and is shown above the sliders if sets"
},
{
"type": "eurolite-led-bar",
"address": 16
},
{
"type": "showtec-multidim2",
"address": 32
},
{
"type": "stairville-led-par-56",
"address": 64
},
{
"type": "stairville-led-par-56",
"address": 70
},
{
"type": "stairville-led-par-56",
"address": 76
},
{
"type": "oppsk-cob-uv-par",
"address": 100
},
{
"type": "lixda-par12-led",
"address": 110
},
{
"type": "lixda-par12-led",
"address": 120
},
{
"type": "lixda-par12-led",
"address": 130
},
{
"type": "lixda-par12-led",
"address": 140
}
]
},
"bedroom": {
"output": {
"driver": "dmxking-ultra-dmx-pro",
"device": "/dev/cu.usbserial-6AVNHXS9",
"options": {
"port": "A"
}
},
"devices": [
{
"type": "eurolite-led-bar",
"address": 1
},
{
"type": "eurolite-led-bar",
"address": 16
},
{
"type": "showtec-multidim2",
"address": 32
},
{
"type": "stairville-led-par-56",
"address": 64
},
{
"type": "stairville-led-par-56",
"address": 70
},
{
"type": "stairville-led-par-56",
"address": 76
}
]
},
"livingroom": {
"output": {
"driver": "dmxking-ultra-dmx-pro",
"device": "/dev/cu.usbserial-6AVNHXS4",
"options": {
"port": "B"
}
},
"devices": [
{
"type": "eurolite-led-bar",
"address": 1
},
{
"type": "eurolite-led-bar",
"address": 16
},
{
"type": "showtec-multidim2",
"address": 32
},
{
"type": "stairville-led-par-56",
"address": 64
},
{
"type": "stairville-led-par-56",
"address": 70
},
{
"type": "stairville-led-par-56",
"address": 76
}
]
}
},
"_animPresets": [{
"_comment1": "Change _animPresets to animPresets for a new tab with all preset animations",
"_comment2": "Check documentation for how to make animations",
"label": "test",
"anim": {
"office": [{
"to": {
"10": 0,
"20": 0
}
},
{
"to": {
"10": 255
},
"duration": 2000
},
{
"to": {
"20": 255
},
"duration": 1000
}
]
}
}]
}