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.A unique identifier for the device.Example:
pushbuttonsIndicates the type of device. For this type of device, it is always
digitalInputOutput.Example: digitalInputOutputThe name of the device’s address map on the controller.Example:
pushbuttons_address_mapIndicates 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.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.
The name of the device’s control map on the controller.Example:
indicators_rgb7_control