29
www.ubisys.de
u
Attribute
Type
Description
0x0000
array of data8,
persistent
InputConfigurations
This array of 8-bit data holds exactly one entry per physical device input and allows
disabling the input or inverting the “normal” signal level (normally closed vs. normally open).
0x0001
array of raw data,
persistent
InputActions
This array of raw data strings maps physical inputs to application endpoints on the device
(for example, an on/off switch application) and translates level changes to appropriate
cluster commands (e.g. on/off/toggle or move/stop).
7.7.5.1.
InputConfigurations Attribute
This attribute is an array (ZCL data type 0x48) of 8-bit data (ZCL data type 0x08).
It is readable and writable and retains its value across reboots (persistent storage); when written the
size of the attribute is not allowed to change, and the elements must be of the same type “8-bit data”
(0x08). Each physical device input line has a one-to-one relation to a slot in this array.
For S2/S2-R this relation is as follows:
Element #
Description
0x0000
Configuration options for high-voltage physical input #1
Defines the configuration for the physical input marked with a switch symbol and the digit “1”.
In case of S2, this is the white wire.
Factory default value: 0x00
0x0001
Configuration options for high-voltage physical input #2
Defines the configuration for the physical input marked with a switch symbol and the digit “2”.
In case of S2, this is the grey wire.
Factory default value: 0x00
Each element can take a combination of the following bit flags:
Flag
Bit(s)
Description
Disable
#7 (0x80)
When this bit is set, the input is disabled.
Invert
#6 (0x40)
Determines the “active” level. The default is active-high, meaning that a high voltage level
(within 10% of the supply voltage) translates to an active input, and a low voltage level
translates to in inactive signal. If this bit is set, the input is “active-low”, instead.
For normally open circuits, leave this bit clear; for normally closed circuits make sure this bit
is set.
RFU
#5…#0 (0x3F)
All other bits are reserved for future use and must be written as 0 and ignored when read.
7.7.5.2.
InputActions Attribute
This attribute is an array (ZCL data type 0x48) of raw binary data (ZCL data type 0x41).
It is readable and writable and retains its value across reboots (persistent storage); when written, the
elements must be of the same type “raw data” (0x41).
This attribute contains instructions, a kind of micro-code, which allow flexible reconfiguration of the
commands sent in response to activity on the physical inputs.
The array elements take the following form: