Advanced Programming
Command Interface
The interface code controls the lighting controller via command events (NetLinx command send_command). These commands are sent to the Duet module to affect control. Below are the commands supported. In order to be able to control a specific lighting component (dimmer/keypad) you must first add that component to the list of components to track. See LIGHTADD- <index>,<addr> and
* Denotes an extended/advanced command beyond the standard API.
Command Interface
Command | Description |
*
|
| <state>: 1=ON |
|
| 0=OFF |
|
| Example: |
|
| |
|
|
|
* | ?ADDRESSING | Query the addressing/programming state of the H48. |
|
| Responds with |
|
| Example: |
|
| ?ADDRESSING |
|
| |
Set the device date/time. For time use military format. | ||
| <hh:mm:ss> | Example: |
|
| |
|
|
|
* | ?CLOCK | Query for the date/time. |
|
| Example: |
|
| ?CLOCK |
|
| |
Enables or disables the debug feature. | ||
|
| <value>: 1 = Error |
|
| 2 = Warning |
|
| 3 = Debug |
|
| 4 = Info |
|
| DEBUG=1 (default) |
|
| |
?DEBUG | Request the state of the debug feature. | |
|
| ?DEBUG |
|
| |
* | Deletes a scene. | |
|
| <sceneNmbr>: 1..48 |
|
| Example: |
|
|
23 |
| |
|
|
|