Unify Framework UCL MQTT Reference 1.7.0
|
ZAP and DotDot do not always support very well attributes that are arrays consisting of several elements, as for example the Group or Scene Tables. In such cases, the UCL specifications have defined how to publish and interpret the values of such attributes.
The Unify library provides limited support for Attributes that are array. Protocol Controller and/or IoT Services may have to add manual code to handle these cases.
The following attributes are supported as arrays in the Unify Library.
Cluster | Attribute | Example topic |
---|---|---|
State | EndpointIdList | ucl/by-unid/zw-12345678-0001/State/Attributes/EndpointIdList/Reported |
State | NetworkList | ucl/by-unid/zw-12345678-0001/State/Attributes/NetworkList/Reported |
Binding | BindableClusterList | ucl/by-unid/zw-12345678-0001/ep0/Binding/Attributes/BindableClusterList/Reported |
SystemMetrics | CPUUsagePercent | ucl/by-unid/zw-12345678-0001/SystemMetrics/Attributes/CPUUsagePercent/Reported |
SystemMetrics | CPUFrequencyMHz | ucl/by-unid/zw-12345678-0001/SystemMetrics/Attributes/CPUFrequencyMHz/Reported |
SystemMetrics | CPUAverageUsagePercent | ucl/by-unid/zw-12345678-0001/SystemMetrics/Attributes/CPUAverageUsagePercent/Reported |
SystemMetrics | CPUMinUsagePercent | ucl/by-unid/zw-12345678-0001/SystemMetrics/Attributes/CPUMinUsagePercent/Reported |
SystemMetrics | CPUMaxUsagePercent | ucl/by-unid/zw-12345678-0001/SystemMetrics/Attributes/CPUMaxUsagePercent/Reported |
ApplicationMonitoring | ApplicationMQTTTopics | ucl/by-unid/zw-12345678-0001/ApplicationMonitoring/Attributes/ApplicationMQTTTopics/Reported |
The following attributes are partially or not supported as arrays in the Unify Library. It is because these arrays contains objects themselves. For attributes not present in either lists (e.g. Group Table), refer to the Unify Specification.
Cluster | Attribute | Example topic |
---|---|---|
Scenes | SceneTable | ucl/by-unid/zw-12345678-0001/ep0/Scenes/Attributes/SceneTable/Reported |
Binding | BindingTable | ucl/by-unid/zw-12345678-0001/ep0/Binding/Attributes/BindingTable/Reported |
SystemMetrics | DisksUsage | ucl/by-unid/zw-12345678-0001/SystemMetrics/Attributes/DisksUsage/Reported |
SystemMetrics | DisksCounters | ucl/by-unid/zw-12345678-0001/SystemMetrics/Attributes/DisksCounters/Reported |
SystemMetrics | NetworkInterfacesData | ucl/by-unid/zw-12345678-0001/SystemMetrics/Attributes/NetworkInterfacesData/Reported |
SystemMetrics | WirelessNetworkInterfacesData | ucl/by-unid/zw-12345678-0001/SystemMetrics/Attributes/WirelessNetworkInterfacesData/Reported |
ConfigurationParameters | ConfigurationParameters | ucl/by-unid/zw-12345678-0001/ep0/ConfigurationParameters/Attributes/ConfigurationParameters/Reported |
Descriptor | DeviceTypeList | ucl/by-unid/zw-12345678-0001/ep0/Descriptor/Attributes/DeviceTypeList/Reported |