Required Parameters
To add a digital input or a digital output device, such as pushbuttons or a LED status indicator, the following parameters are required.string
required
A unique identifier for the device.Example:
pushbuttonsstring
required
Indicates the type of device. For this type of device, it is always
digitalInputOutput.Example: digitalInputOutputstring
required
The name of the device’s address map on the controller.Example:
pushbuttons_address_mapbool
required
Indicates whether the device is enabled or disabled. A value of true means the device is disabled, while false means the device is enabled.
Optional Parameters
The following parameters can be added to digital input or output devices; however, they are optional and not required. These parameters provide additional functionality to the device.bool
This parameter indicates if the inputs should be retained or not. If true, when input changes state, it will keep the value for 10 seconds.
Note that this parameter is relevant only for digital inputs, not for outputs.
string
The name of the device’s control map on the controller.Example:
indicators_rgb7_control