dmx-flok/dmx-web.json

122 lines
2.6 KiB
JSON

{
"_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/ttyUSB0"
},
"devices": [
{
"type": "generic-rgb",
"address": 4,
"name": "rgb"
},
{
"type": "generic-rgb",
"address": 8,
"name": "rgb"
},
{
"type": "generic-rgb",
"address": 12,
"name": "rgb"
},
{
"type": "generic-rgb",
"address": 16,
"name": "rgb"
},
{
"type": "generic-rgb",
"address": 20,
"name": "rgb"
},
{
"type": "generic-rgb",
"address": 24,
"name": "rgb"
},
{
"type": "generic-rgb",
"address": 28,
"name": "rgb"
},
{
"type": "generic-rgb",
"address": 32,
"name": "rgb"
}
]
}
},
"_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
}
]
}
}]
}