RDM Set#
Methods#
POST#
Request to start an RDM Set operation. A 202
response will be returned if the request has been successfully queued. Results are available via a websocket subscription (see subscribe_rdm_get_set).
POST /api/rdm/set
Payload is a JSON object with the following attributes:
Attribute |
Value Type |
Description |
Value Example |
---|---|---|---|
|
string in Universe Key String Format or RDM Universe Key |
The universe on which to perform the RDM Set operation. |
|
|
string |
Format is |
|
|
string |
RDM PID for the Set operation. Can be one of the Supported RDM PIDs or the raw PID value as a hex string, e.g. |
|
|
object |
Optional. Metadata for the PID, i.e. query params (see Meta). |
|
|
integer |
Optional. Expected length of the response data. Only relevant if a raw PID value has been provided for |
Meta#
DEVICE_LABEL#
For the DEVICE_LABEL
PID, the meta
object should have the following parameters:
Attribute |
Value Type |
Description |
---|---|---|
|
string |
Ascii text label for the device. Up to 32 characters. |
IDENTIFY_DEVICE#
For the IDENTIFY_DEVICE
PID, the meta
object should have the following parameters:
Attribute |
Value Type |
Description |
---|---|---|
|
boolean |
Whether to enable/disable IDENTIFY_DEVICE mode over RDM. |
DMX_START_ADDRESS#
For the DMX_START_ADDRESS
PID, the meta
object should have the following parameters:
Attribute |
Value Type |
Description |
---|---|---|
|
integer |
DMX start address to set on the device. |
DMX_PERSONALITY#
For the DMX_PERSONALITY
PID, the meta
object should have the following parameters:
Attribute |
Value Type |
Description |
---|---|---|
|
integer |
Index of the personality to set as current. |
SENSOR_VALUE#
For the SENSOR_VALUE
PID, the meta
object should have the following parameters:
Attribute |
Value Type |
Description |
---|---|---|
|
integer |
Sensor number to reset. |
LAMP_HOURS#
For the LAMP_HOURS
PID, the meta
object should have the following parameters:
Attribute |
Value Type |
Description |
---|---|---|
|
integer |
Starting value to set on the device’s lamp hours counter. |
LAMP_STATE#
For the LAMP_STATE
PID, the meta
object should have the following parameters:
Attribute |
Value Type |
Description |
---|---|---|
|
integer |
Operating state to set the lamp to. |
Raw#
Where a raw PID value has been provided for pid
, the meta
object should have a single raw
attribute with a string value. This value will be the base64-encoded string containing parameters for the Set command.
Universe Key String Format#
A universe key string for RDM takes the form:
protocol:index
for protocolsdmx
andart-net
;protocol:remoteDeviceType:remoteDeviceNum:port
for protocoledn
.
Where:
remoteDeviceType
can beedn10
oredn20
;remoteDeviceNum
is an integer;port
is an integer.
For example:
"dmx:1"
"edn:edn20:1:5"
Supported RDM PIDs#
The following PIDs are directly supported for RDM Set operations:
COMMS_STATUS
DEVICE_LABEL
FACTORY_DEFAULTS
IDENTIFY_DEVICE
DMX_START_ADDRESS
DMX_PERSONALITY
SENSOR_VALUE
LAMP_HOURS
LAMP_STATE