DMX
Get DMX output
GET
/api/dmxOpen. Open to everyone who can reach Tempolight.
Every DMX universe with every channel's value now, its fixtures, and whether lasers and fog may run.
Responses
200OKapplication/json
settingsobjectThe DMX settings.
statusobject{lasers: {on, why}, fog: {on, why, duty, maxDuty, cooldownLeft}}.
devicesobject[]Request
curl 'http://localhost:8080/api/dmx'const res = await fetch("http://localhost:8080/api/dmx");
const data = await res.json();
console.log(data);import requests
res = requests.get(
"http://localhost:8080/api/dmx",
)
print(res.json())Response
{
"settings": {},
"status": {},
"devices": [
{}
]
}