Override#
Note
The endpoints listed on this page require a project to be loaded on the controller.
Methods#
PUT#
Set the Intensity, Red, Green, Blue levels and Colour Temperature for a Group or Space.
PUT /api/override
Payload is a JSON object with the following attributes:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
string |
What the override should be applied to: |
|
|
integer |
Group or Space number depending on |
|
|
integer or string |
Optional. Either an integer (0-255) representing the intensity to set as part of override or the string |
|
|
Override Colour or string |
Optional. Specifies the colour to set as part of the override. Either an Override Colour or the string |
|
|
integer or string |
Optional. Either an integer (0-255) representing the temperature component to set as part of override or the string |
|
|
float |
Optional. Fade time to apply the override change, in seconds. |
|
|
string |
Optional. Crossfade path to use when applying the override: |
|
Override Colour#
The value of the colour attribute in a PUT override request is a JSON object, specifying colour as either RGB or Hue/Saturation values.
RGB#
Colour as RGB for colour in an override PUT request:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
integer or string |
Optional. Red component to set as part of override: 0-255, or a percentage (0-100) followed by the % sign. Red override will not be changed if this attribute isn’t provided. |
|
|
integer or string |
Optional. Green component to set as part of override: 0-255, or a percentage (0-100) followed by the % sign. Green override will not be changed if this attribute isn’t provided. |
|
|
integer or string |
Optional. Blue component to set as part of override: 0-255, or a percentage (0-100) followed by the % sign. Blue override will not be changed if this attribute isn’t provided. |
|
Hue/Saturation#
Colour as hue/saturation for colour in an override PUT request:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
integer |
Hue component to set as part of override: 0-255. |
|
|
integer |
Saturation component to set as part of override: 0-255. |
|
Note
Both hue and saturation are required for the request to be valid.
DELETE#
Release any overrides on a Space.
DELETE /api/override
Payload is a JSON object with the following attributes:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
string |
What the overrides should be cleared on. Only |
|
|
integer |
Optional Space number. If not provided, |
|
|
float |
Optional. Fade time in which to release overrides, in seconds. |
|