DMX
List fixture profiles
GET
/api/dmx/profilesOpen. Open to everyone who can reach Tempolight.
The fixture profiles, the channel types a custom fixture can use, and the moving-head patterns.
Responses
200OKapplication/json
profilesobject[]channelTypesstring[]patternsstring[]Request
curl 'http://localhost:8080/api/dmx/profiles'const res = await fetch("http://localhost:8080/api/dmx/profiles");
const data = await res.json();
console.log(data);import requests
res = requests.get(
"http://localhost:8080/api/dmx/profiles",
)
print(res.json())Response
{
"profiles": [
{
"id": "rgb",
"name": "RGB par",
"kind": "par",
"channels": [
"red",
"green",
"blue"
]
}
],
"channelTypes": [
"red",
"green",
"blue",
"dimmer"
],
"patterns": [
"circle",
"figure8",
"sweep",
"point",
"still"
]
}