Output#
Methods#
POST#
Enable/disable the output of a selected protocol from the controller.
Action will propagate to all controllers in a project.
POST /api/output
Payload is a JSON object with the following attributes:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
string |
Protocol to disable. Options: |
|
|
string |
Whether to |
|
GET#
Returns the lighting levels being output by the queried controller.
GET /api/output?universe=universeKey
universeKey is a string; see Universe Key String Format.
For example:
GET /api/output?universe=dmx:1
GET /api/output?universe=rio-dmx:rio44:1
If the queried controller is an MSC 1, the universe is DMX 2, DMX Proxy has been enabled for a MTPC in the project and the MTPC is offline then this request will return a JSON object with the following attributes:
Attribute |
Value Type |
Value Example |
|---|---|---|
|
string |
|
Otherwise a JSON object with the following attributes is returned:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
array |
Array of integer (0-255) channel levels |
|
|
bool |
Whether the output has been disabled |
|
Universe Key String Format#
A universe key string takes the form:
protocol:indexfor protocolsdmx,pathport,sacn,art-net;protocol:kinetPowerSupplyNum:kinetPortfor protocolkinet;protocol:remoteDeviceType:remoteDeviceNumfor protocolrio-dmx;protocol:remoteDeviceType:remoteDeviceNum:portfor protocolsedn,edn-spi.
Where:
kinetPowerSupplyNumis an integer;kinetPortis an integer;remoteDeviceTypecan berio08,rio44orrio80,edn10oredn20;remoteDeviceNumis an integer;portis an integer.
For example:
"dmx:1""rio-dmx:rio44:1"