DALI#
If the project uses DALI, the DALI API call can be used to get the status of connected DALI ballasts, and to allow external systems to mark DALI issues as fixed.
Methods#
GET#
Returns information about connected DALI devices on a particular interface - see DALI Interface to retrieve a list of interfaces.
GET /api/dali?interface=interface_num
interface_num
is an integer referring to a specific interface.
Returns a JSON object with the following attributes:
Attribute |
Value Type |
Description |
---|---|---|
|
boolean |
Whether or not the interface is currently online |
|
object |
A DALI Schedule object |
|
object |
A DALI Power object |
|
array of objects |
An array of DALI Error objects |
|
array of objects |
An array of DALI Ballast Status objects |
POST#
Allows marking of a DALI error as fixed, or refresh of the DALI data.
POST /api/dali
Payload is a JSON object with the following attributes:
Attribute |
Value Type |
Description |
---|---|---|
|
integer |
The interface on which to perform the reset. |
|
integer |
The DALI short address on which to perform the reset. |
|
string |
Either |