Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / app / zap-templates / zcl / data-model / silabs / ha.xml
1 <?xml version="1.0"?>
2 <!--
3 Copyright (c) 2008,2020 Silicon Labs.
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9     http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17 <configurator>
18   <domain name="Closures" spec="zcl-6.0-15-02018-001"/>
19   <domain name="HVAC" spec="zcl-6.0-15-02018-001"/>
20   <domain name="Lighting" spec="zcl6-errata-14-0129-15">
21     <older spec="zcl-6.0-15-02018-001" dependsOn="zcl-1.0-07-5123-03" certifiable="true"/>
22   </domain>
23   <domain name="Measurement &amp; Sensing" spec="zcl-6.0-15-02018-001"/>
24   <domain name="Security &amp; Safety" spec="zcl-6.0-15-02018-001"/>
25   <domain name="HA" spec="ha-1.2.1-05-3520-30" dependsOn="zcl-1.0-07-5123-03" certifiable="true">
26     <older spec="ha-1.2-05-3520-29" dependsOn="zcl-1.0-07-5123-03" certifiable="true"/>
27     <older spec="ha-1.1-05-3520-27" dependsOn="zcl-1.0-07-5123-03" certifiable="true"/>
28   </domain>
29   <cluster>
30     <name>Shade Configuration</name>
31     <domain>Closures</domain>
32     <description>Attributes and commands for configuring a shade.</description>
33     <code>0x0100</code>
34     <define>SHADE_CONFIG_CLUSTER</define>
35     <client tick="false" init="false">true</client>
36     <server tick="false" init="false">true</server>
37     <attribute side="server" code="0x0000" define="SHADE_CONFIG_PHYSICAL_CLOSED_LIMIT" type="INT16U" min="0x0001" max="0xFFFE" writable="false" optional="true">physical closed limit</attribute>
38     <!-- PHYSICAL_CLOSED_LIMIT -->
39     <attribute side="server" code="0x0001" define="SHADE_CONFIG_MOTOR_STEP_SIZE" type="INT8U" min="0x00" max="0xFE" writable="false" optional="true">motor step size</attribute>
40     <!-- MOTOR_STEP_SIZE -->
41     <attribute side="server" code="0x0002" define="SHADE_CONFIG_STATUS" type="BITMAP8" min="0x00" max="0x0F" writable="true" default="0x00" optional="false">status</attribute>
42     <!-- STATUS -->
43     <attribute side="server" code="0x0010" define="SHADE_CONFIG_CLOSED_LIMIT" type="INT16U" min="0x0001" max="0xFFFE" writable="true" default="0x0001" optional="false">closed limit</attribute>
44     <!-- CLOSED_LIMIT -->
45     <attribute side="server" code="0x0011" define="SHADE_CONFIG_MODE" type="ENUM8" min="0x00" max="0xFE" writable="true" default="0x00" optional="false">mode</attribute>
46     <!-- MODE -->
47   </cluster>
48   <cluster>
49     <name>Pump Configuration and Control</name>
50     <domain>HVAC</domain>
51     <description>An interface for configuring and controlling pumps.</description>
52     <code>0x0200</code>
53     <define>PUMP_CONFIG_CONTROL_CLUSTER</define>
54     <client tick="false" init="false">true</client>
55     <server tick="false" tickFrequency="half" init="false">true</server>
56     <attribute side="server" code="0x0000" define="MAX_PRESSURE" type="INT16S" min="0x8001" max="0x7FFF" writable="false" optional="false">max pressure</attribute>
57     <attribute side="server" code="0x0001" define="MAX_SPEED" type="INT16U" min="0x0000" max="0xFFFE" writable="false" optional="false">max speed</attribute>
58     <attribute side="server" code="0x0002" define="MAX_FLOW" type="INT16U" min="0x0000" max="0xFFFE" writable="false" optional="false">max flow</attribute>
59     <attribute side="server" code="0x0003" define="MIN_CONST_PRESSURE" type="INT16S" min="0x8001" max="0x7FFF" writable="false" optional="true">min const pressure</attribute>
60     <attribute side="server" code="0x0004" define="MAX_CONST_PRESSURE" type="INT16S" min="0x8001" max="0x7FFF" writable="false" optional="true">max const pressure</attribute>
61     <attribute side="server" code="0x0005" define="MIN_COMP_PRESSURE" type="INT16S" min="0x8001" max="0x7FFF" writable="false" optional="true">min comp pressure</attribute>
62     <attribute side="server" code="0x0006" define="MAX_COMP_PRESSURE" type="INT16S" min="0x8001" max="0x7FFF" writable="false" optional="true">max comp pressure</attribute>
63     <attribute side="server" code="0x0007" define="MIN_CONST_SPEED" type="INT16U" min="0x0000" max="0xFFFE" writable="false" optional="true">min const speed</attribute>
64     <attribute side="server" code="0x0008" define="MAX_CONST_SPEED" type="INT16U" min="0x0000" max="0xFFFE" writable="false" optional="true">max const speed</attribute>
65     <attribute side="server" code="0x0009" define="MIN_CONST_FLOW" type="INT16U" min="0x0000" max="0xFFFE" writable="false" optional="true">min const flow</attribute>
66     <attribute side="server" code="0x000A" define="MAX_CONST_FLOW" type="INT16U" min="0x0000" max="0xFFFE" writable="false" optional="true">max const flow</attribute>
67     <attribute side="server" code="0x000B" define="MIN_CONST_TEMP" type="INT16S" min="0x954D" max="0x7FFF" writable="false" optional="true">min const temp</attribute>
68     <attribute side="server" code="0x000C" define="MAX_CONST_TEMP" type="INT16S" min="0x954D" max="0x7FFF" writable="false" optional="true">max const temp</attribute>
69     <attribute side="server" code="0x0010" define="PUMP_STATUS" type="BITMAP16" writable="false" reportable="true" optional="true">pump status</attribute>
70     <attribute side="server" code="0x0011" define="EFFECTIVE_OPERATION_MODE" type="ENUM8" min="0x00" max="0xFE" writable="false" optional="false">effective operation mode</attribute>
71     <attribute side="server" code="0x0012" define="EFFECTIVE_CONTROL_MODE" type="ENUM8" min="0x00" max="0xFE" writable="false" optional="false">effective control mode</attribute>
72     <attribute side="server" code="0x0013" define="CAPACITY" type="INT16S" min="0x0000" max="0x7FFF" writable="false" reportable="true" optional="false">capacity</attribute>
73     <attribute side="server" code="0x0014" define="SPEED" type="INT16U" min="0x0000" max="0xFFFE" writable="false" optional="true">speed</attribute>
74     <attribute side="server" code="0x0015" define="LIFETIME_RUNNING_HOURS" type="INT24U" min="0x000000" max="0xFFFFFE" writable="true" default="0x000000" optional="true">lifetime running hours</attribute>
75     <attribute side="server" code="0x0016" define="PUMP_POWER" type="INT24U" min="0x000000" max="0xFFFFFE" writable="true" optional="true">power</attribute>
76     <attribute side="server" code="0x0017" define="LIFETIME_ENERGY_CONSUMED" type="INT32U" min="0x00000000" max="0xFFFFFFFE" writable="false" default="0x00000000" optional="true">lifetime energy consumed</attribute>
77     <attribute side="server" code="0x0020" define="OPERATION_MODE" type="ENUM8" min="0x00" max="0xFE" writable="true" default="0x00" optional="false">operation mode</attribute>
78     <attribute side="server" code="0x0021" define="CONTROL_MODE" type="ENUM8" min="0x00" max="0xFe" writable="true" default="0x00" optional="true">control mode</attribute>
79     <attribute side="server" code="0x0022" define="PUMP_ALARM_MASK" type="BITMAP16" writable="false" optional="true">alarm mask</attribute>
80     <!-- ALARM_MASK -->
81   </cluster>
82   <cluster>
83     <name>Thermostat</name>
84     <domain>HVAC</domain>
85     <description>An interface for configuring and controlling the functionality of a thermostat.</description>
86     <code>0x0201</code>
87     <define>THERMOSTAT_CLUSTER</define>
88     <client tick="false" init="false">true</client>
89     <server tick="false" init="false">true</server>
90     <globalAttribute side="either" code="0xFFFD" value="3"/>
91     <attribute side="server" code="0x0000" define="LOCAL_TEMPERATURE" type="INT16S" min="0x954D" max="0x7FFF" writable="false" reportable="true" optional="false">local temperature</attribute>
92     <attribute side="server" code="0x0001" define="OUTDOOR_TEMPERATURE" type="INT16S" min="0x954D" max="0x7FFF" writable="false" optional="true">outdoor temperature</attribute>
93     <attribute side="server" code="0x0002" define="THERMOSTAT_OCCUPANCY" type="BITMAP8" min="0x00" max="0x01" writable="false" default="0x01" optional="true">occupancy</attribute>
94     <!-- OCCUPANCY -->
95     <attribute side="server" code="0x0003" define="ABS_MIN_HEAT_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="false" default="0x02BC" optional="true">abs min heat setpoint limit</attribute>
96     <attribute side="server" code="0x0004" define="ABS_MAX_HEAT_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="false" default="0x0BB8" optional="true">abs max heat setpoint limit</attribute>
97     <attribute side="server" code="0x0005" define="ABS_MIN_COOL_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="false" default="0x0640" optional="true">abs min cool setpoint limit</attribute>
98     <attribute side="server" code="0x0006" define="ABS_MAX_COOL_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="false" default="0x0C80" optional="true">abs max cool setpoint limit</attribute>
99     <attribute side="server" code="0x0007" define="PI_COOLING_DEMAND" type="INT8U" min="0x00" max="0x64" writable="false" reportable="true" optional="true">pi cooling demand</attribute>
100     <attribute side="server" code="0x0008" define="PI_HEATING_DEMAND" type="INT8U" min="0x00" max="0x64" writable="false" reportable="true" optional="true">pi heating demand</attribute>
101     <attribute side="server" code="0x0009" define="HVAC_SYSTEM_TYPE_CONFIGURATION" type="BITMAP8" min="0x00" max="0xFF" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">HVAC system type configuration</attribute>
102     <attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="INT8S" min="0xE7" max="0x19" writable="true" default="0x00" optional="true">local temperature calibration</attribute>
103     <attribute side="server" code="0x0011" define="OCCUPIED_COOLING_SETPOINT" type="INT16S" writable="true" default="0x0A28" optional="false">occupied cooling setpoint</attribute>
104     <attribute side="server" code="0x0012" define="OCCUPIED_HEATING_SETPOINT" type="INT16S" writable="true" default="0x07D0" optional="false">occupied heating setpoint</attribute>
105     <attribute side="server" code="0x0013" define="UNOCCUPIED_COOLING_SETPOINT" type="INT16S" writable="true" default="0x0A28" optional="true">unoccupied cooling setpoint</attribute>
106     <attribute side="server" code="0x0014" define="UNOCCUPIED_HEATING_SETPOINT" type="INT16S" writable="true" default="0x07D0" optional="true">unoccupied heating setpoint</attribute>
107     <attribute side="server" code="0x0015" define="MIN_HEAT_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="true" default="0x02BC" optional="true">min heat setpoint limit</attribute>
108     <attribute side="server" code="0x0016" define="MAX_HEAT_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="true" default="0x0BB8" optional="true">max heat setpoint limit</attribute>
109     <attribute side="server" code="0x0017" define="MIN_COOL_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="true" default="0x0640" optional="true">min cool setpoint limit</attribute>
110     <attribute side="server" code="0x0018" define="MAX_COOL_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="true" default="0x0C80" optional="true">max cool setpoint limit</attribute>
111     <attribute side="server" code="0x0019" define="MIN_SETPOINT_DEAD_BAND" type="INT8S" min="0x0A" max="0x19" writable="true" default="0x19" optional="true">min setpoint dead band</attribute>
112     <attribute side="server" code="0x001A" define="REMOTE_SENSING" type="BITMAP8" min="0x00" max="0x07" writable="true" default="0x00" optional="true">remote sensing</attribute>
113     <attribute side="server" code="0x001B" define="CONTROL_SEQUENCE_OF_OPERATION" type="ENUM8" min="0x00" max="0x05" writable="true" default="0x04" optional="false">control sequence of operation</attribute>
114     <attribute side="server" code="0x001C" define="SYSTEM_MODE" type="ENUM8" min="0x00" max="0x07" writable="true" default="0x01" optional="false">system mode</attribute>
115     <attribute side="server" code="0x001D" define="THERMOSTAT_ALARM_MASK" type="BITMAP8" min="0x00" max="0x07" writable="false" default="0x00" optional="true">alarm mask</attribute>
116     <!-- ALARM_MASK -->
117     <attribute side="server" code="0x001E" define="THERMOSTAT_RUNNING_MODE" type="ENUM8" min="0x00" max="0x04" writable="false" optional="true" introducedIn="ha-1.2-05-3520-29">thermostat running mode</attribute>
118     <attribute side="server" code="0x0020" define="START_OF_WEEK" type="ENUM8" min="0x00" max="0x06" writable="false" optional="true" introducedIn="ha-1.2-05-3520-29">start of week</attribute>
119     <attribute side="server" code="0x0021" define="NUMBER_OF_WEEKLY_TRANSITIONS" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true" introducedIn="ha-1.2-05-3520-29">number of weekly transitions</attribute>
120     <attribute side="server" code="0x0022" define="NUMBER_OF_DAILY_TRANSITIONS" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true" introducedIn="ha-1.2-05-3520-29">number of daily transitions</attribute>
121     <attribute side="server" code="0x0023" define="TEMPERATURE_SETPOINT_HOLD" type="ENUM8" min="0x00" max="0x01" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">temperature setpoint hold</attribute>
122     <attribute side="server" code="0x0024" define="TEMPERATURE_SETPOINT_HOLD_DURATION" type="INT16U" min="0x0000" max="0x05A0" writable="true" default="0xFFFF" optional="true" introducedIn="ha-1.2-05-3520-29">temperature setpoint hold duration</attribute>
123     <attribute side="server" code="0x0025" define="THERMOSTAT_PROGRAMMING_OPERATION_MODE" type="BITMAP8" min="0x00" max="0xFF" writable="true" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">thermostat programming operation mode</attribute>
124     <attribute side="server" code="0x0029" define="THERMOSTAT_RUNNING_STATE" type="BITMAP16" writable="false" optional="true" introducedIn="ha-1.2-05-3520-29">hvac relay state</attribute>
125     <attribute side="server" code="0x0030" define="SETPOINT_CHANGE_SOURCE" type="ENUM8" writable="false" optional="true" introducedIn="ha-1.2-05-3520-29">setpoint change source</attribute>
126     <attribute side="server" code="0x0031" define="SETPOINT_CHANGE_AMOUNT" type="INT16S" writable="false" default="0x8000" optional="true" introducedIn="ha-1.2-05-3520-29">setpoint change amount</attribute>
127     <attribute side="server" code="0x0032" define="SETPOINT_CHANGE_SOURCE_TIMESTAMP" type="UTC_TIME" writable="false" optional="true" introducedIn="ha-1.2-05-3520-29">setpoint change source timestamp</attribute>
128     <attribute side="server" code="0x0040" define="AC_TYPE" type="ENUM8" min="0x00" max="0x04" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">ac type</attribute>
129     <attribute side="server" code="0x0041" define="AC_CAPACITY" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">ac capacity</attribute>
130     <attribute side="server" code="0x0042" define="AC_REFRIGERANT_TYPE" type="ENUM8" min="0x00" max="0x03" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">ac refrigerant type</attribute>
131     <attribute side="server" code="0x0043" define="AC_COMPRESSOR" type="ENUM8" min="0x00" max="0x03" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">ac compressor</attribute>
132     <attribute side="server" code="0x0044" define="AC_ERROR_CODE" type="BITMAP32" min="0x00000000" max="0xFFFFFFFF" writable="true" default="0x00000000" optional="true" introducedIn="ha-1.2-05-3520-29">ac error code</attribute>
133     <attribute side="server" code="0x0045" define="AC_LOUVER_POSITION" type="ENUM8" min="0x00" max="0x05" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">ac louver position</attribute>
134     <attribute side="server" code="0x0046" define="AC_COIL_TEMPERATURE" type="INT16S" min="0x954D" max="0x7FFF" writable="false" default="0x8000" optional="true" introducedIn="ha-1.2-05-3520-29">ac coil temperature</attribute>
135     <attribute side="server" code="0x0047" define="AC_CAPACITY_FORMAT" type="ENUM8" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">ac capacity format</attribute>
136     <command source="client" code="0x00" name="SetpointRaiseLower" optional="false" cli="zcl tstat set">
137       <description>
138         Command description for SetpointRaiseLower
139       </description>
140       <arg name="mode" type="SetpointAdjustMode"/>
141       <arg name="amount" type="INT8S"/>
142     </command>
143     <command source="client" code="0x01" name="SetWeeklySchedule" optional="false" cli="zcl tstat sws" introducedIn="ha-1.2-05-3520-29">
144       <description>
145         Command description for SetWeeklySchedule
146       </description>
147       <arg name="numberOfTransitionsForSequence" type="ENUM8"/>
148       <arg name="dayOfWeekForSequence" type="DayOfWeek"/>
149       <arg name="modeForSequence" type="ModeForSequence"/>
150       <arg name="payload" type="INT8U" array="true"/>
151     </command>
152     <command source="client" code="0x02" name="GetWeeklySchedule" optional="false" cli="zcl tstat gws" introducedIn="ha-1.2-05-3520-29">
153       <description>
154         Command description for GetWeeklySchedule
155       </description>
156       <arg name="daysToReturn" type="DayOfWeek"/>
157       <arg name="modeToReturn" type="ModeForSequence"/>
158     </command>
159     <command source="client" code="0x03" name="ClearWeeklySchedule" optional="false" cli="zcl tstat cws" introducedIn="ha-1.2-05-3520-29">
160       <description>
161         The Clear Weekly Schedule command is used to clear the weekly schedule.
162       </description>
163     </command>
164     <command source="client" code="0x04" name="GetRelayStatusLog" optional="false" cli="zcl tstat grs" introducedIn="ha-1.2-05-3520-29">
165       <description>
166         The Get Relay Status Log command is used to query the thermostat internal relay status log.
167       </description>
168     </command>
169     <command source="server" code="0x00" name="CurrentWeeklySchedule" optional="false" introducedIn="ha-1.2-05-3520-29">
170       <description>
171         The Current Weekly Schedule Command is sent from the server in response to the Get Weekly Schedule Command.
172       </description>
173       <arg name="numberOfTransitionsForSequence" type="ENUM8"/>
174       <arg name="dayOfWeekForSequence" type="DayOfWeek"/>
175       <arg name="modeForSequence" type="ModeForSequence"/>
176       <arg name="payload" type="INT8U" array="true"/>
177     </command>
178     <command source="server" code="0x01" name="RelayStatusLog" optional="false" introducedIn="ha-1.2-05-3520-29">
179       <description>
180         This command is sent from the thermostat cluster server in response to the Get  Relay Status Log.
181       </description>
182       <arg name="timeOfDay" type="INT16U"/>
183       <arg name="relayStatus" type="BITMAP16"/>
184       <arg name="localTemperature" type="INT16S"/>
185       <arg name="humidityInPercentage" type="INT8U"/>
186       <arg name="setpoint" type="INT16S"/>
187       <arg name="unreadEntries" type="INT16U"/>
188     </command>
189   </cluster>
190   <cluster>
191     <name>Fan Control</name>
192     <domain>HVAC</domain>
193     <description>An interface for controlling a fan in a heating/cooling system.</description>
194     <code>0x0202</code>
195     <define>FAN_CONTROL_CLUSTER</define>
196     <client tick="false" init="false">true</client>
197     <server tick="false" init="false">true</server>
198     <attribute side="server" code="0x0000" define="FAN_CONTROL_FAN_MODE" type="ENUM8" min="0x00" max="0x06" writable="true" default="0x05" optional="false">fan mode</attribute>
199     <!-- FAN_MODE -->
200     <attribute side="server" code="0x0001" define="FAN_CONTROL_FAN_MODE_SEQUENCE" type="ENUM8" min="0x00" max="0x04" writable="true" default="0x02" optional="false">fan mode sequence</attribute>
201     <!-- FAN_MODE_SEQUENCE -->
202   </cluster>
203   <cluster>
204     <name>Dehumidification Control</name>
205     <domain>HVAC</domain>
206     <description>An interface for controlling dehumidification.</description>
207     <code>0x0203</code>
208     <define>DEHUMID_CONTROL_CLUSTER</define>
209     <client tick="false" init="false">true</client>
210     <server tick="false" tickFrequency="half" init="false">true</server>
211     <attribute side="server" code="0x0000" define="RELATIVE_HUMIDITY" type="INT8U" min="0x00" max="0x64" writable="false" optional="true">relative humidity</attribute>
212     <attribute side="server" code="0x0001" define="DEHUMIDIFICATION_COOLING" type="INT8U" min="0x00" writable="false" optional="false">dehumidification cooling</attribute>
213     <attribute side="server" code="0x0010" define="RH_DEHUMIDIFICATION_SETPOINT" type="INT8U" min="0x1E" max="0x64" writable="true" default="0x32" optional="false">RH dehumidification setpoint</attribute>
214     <attribute side="server" code="0x0011" define="RELATIVE_HUMIDITY_MODE" type="ENUM8" min="0x00" max="0x01" writable="true" default="0x00" optional="true">relative humidity mode</attribute>
215     <attribute side="server" code="0x0012" define="DEHUMIDIFICATION_LOCKOUT" type="ENUM8" min="0x00" max="0x01" writable="true" default="0x01" optional="true">dehumidification lockout</attribute>
216     <attribute side="server" code="0x0013" define="DEHUMIDIFICATION_HYSTERESIS" type="INT8U" min="0x02" max="0x14" writable="true" default="0x02" optional="false">dehumidification hysteresis</attribute>
217     <attribute side="server" code="0x0014" define="DEHUMIDIFICATION_MAX_COOL" type="INT8U" min="0x14" max="0x64" writable="true" default="0x14" optional="false">dehumidification max cool</attribute>
218     <attribute side="server" code="0x0015" define="RELATIVE_HUMIDITY_DISPLAY" type="ENUM8" min="0x00" max="0x01" writable="true" default="0x00" optional="true">relative humidity display</attribute>
219   </cluster>
220   <cluster>
221     <name>Thermostat User Interface Configuration</name>
222     <domain>HVAC</domain>
223     <description>An interface for configuring the user interface of a thermostat (which may be remote from the thermostat).</description>
224     <code>0x0204</code>
225     <define>THERMOSTAT_UI_CONFIG_CLUSTER</define>
226     <client tick="false" init="false">true</client>
227     <server tick="false" tickFrequency="half" init="false">true</server>
228     <attribute side="server" code="0x0000" define="TEMPERATURE_DISPLAY_MODE" type="ENUM8" min="0x00" max="0x01" writable="true" default="0x00" optional="false">temperature display mode</attribute>
229     <attribute side="server" code="0x0001" define="KEYPAD_LOCKOUT" type="ENUM8" min="0x00" max="0x05" writable="true" default="0x00" optional="false">keypad lockout</attribute>
230     <attribute side="server" code="0x0002" define="SCHEDULE_PROGRAMMING_VISIBILITY" type="ENUM8" min="0x00" max="0x01" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">schedule programming visibility</attribute>
231   </cluster>
232   <cluster>
233     <name>Color Control</name>
234     <domain>Lighting</domain>
235     <description>Attributes and commands for controlling the color properties of a color-capable light.</description>
236     <code>0x0300</code>
237     <define>COLOR_CONTROL_CLUSTER</define>
238     <client tick="false" init="false">true</client>
239     <server tick="false" init="false">true</server>
240     <globalAttribute side="either" code="0xFFFD" value="3"/>
241     <attribute side="server" code="0x0000" define="COLOR_CONTROL_CURRENT_HUE" type="INT8U" min="0x00" max="0xFE" writable="false" reportable="true" default="0x00" optional="true">current hue</attribute>
242     <!-- CURRENT_HUE -->
243     <attribute side="server" code="0x0001" define="COLOR_CONTROL_CURRENT_SATURATION" type="INT8U" min="0x00" max="0xFE" writable="false" reportable="true" default="0x00" optional="true">current saturation</attribute>
244     <!-- CURRENT_SATURATION -->
245     <attribute side="server" code="0x0002" define="COLOR_CONTROL_REMAINING_TIME" type="INT16U" min="0x0000" max="0xFFFE" writable="false" default="0x0000" optional="true">remaining time</attribute>
246     <!-- REMAINING_TIME -->
247     <attribute side="server" code="0x0003" define="COLOR_CONTROL_CURRENT_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" reportable="true" default="0x616B" optional="false">current x</attribute>
248     <!-- CURRENT_X -->
249     <attribute side="server" code="0x0004" define="COLOR_CONTROL_CURRENT_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" reportable="true" default="0x607D" optional="false">current y</attribute>
250     <!-- CURRENT_Y -->
251     <attribute side="server" code="0x0005" define="COLOR_CONTROL_DRIFT_COMPENSATION" type="ENUM8" min="0x00" max="0x04" writable="false" optional="true">drift compensation</attribute>
252     <!-- DRIFT_COMPENSATION -->
253     <attribute side="server" code="0x0006" define="COLOR_CONTROL_COMPENSATION_TEXT" type="CHAR_STRING" length="254" writable="false" optional="true">compensation text</attribute>
254     <!-- COMPENSATION_TEXT -->
255     <attribute side="server" code="0x0007" define="COLOR_CONTROL_COLOR_TEMPERATURE" type="INT16U" min="0x0000" max="0xFEFF" writable="false" reportable="true" default="0x00FA" optional="true">color temperature</attribute>
256     <!-- COLOR_TEMPERATURE -->
257     <attribute side="server" code="0x0008" define="COLOR_CONTROL_COLOR_MODE" type="ENUM8" min="0x00" max="0x02" writable="false" default="0x01" optional="true">color mode</attribute>
258     <!-- COLOR_MODE -->
259     <attribute side="server" code="0x000F" define="COLOR_CONTROL_OPTIONS" type="BITMAP8" min="0x00" max="0xFF" writable="true" default="0x00" optional="false" introducedIn="zcl-6.0-15-02017-001">color control options</attribute>
260     <!-- COLOR_CONTROL_OPTIONS -->
261     <attribute side="server" code="0x0010" define="COLOR_CONTROL_NUMBER_OF_PRIMARIES" type="INT8U" min="0x00" max="0x06" writable="false" optional="true">number of primaries</attribute>
262     <!-- NUMBER_OF_PRIMARIES -->
263     <attribute side="server" code="0x0011" define="COLOR_CONTROL_PRIMARY_1_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 1 x</attribute>
264     <!-- PRIMARY_1_X -->
265     <attribute side="server" code="0x0012" define="COLOR_CONTROL_PRIMARY_1_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 1 y</attribute>
266     <!-- PRIMARY_1_Y -->
267     <attribute side="server" code="0x0013" define="COLOR_CONTROL_PRIMARY_1_INTENSITY" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">primary 1 intensity</attribute>
268     <!-- PRIMARY_1_INTENSITY -->
269     <attribute side="server" code="0x0015" define="COLOR_CONTROL_PRIMARY_2_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 2 x</attribute>
270     <!-- PRIMARY_2_X -->
271     <attribute side="server" code="0x0016" define="COLOR_CONTROL_PRIMARY_2_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 2 y</attribute>
272     <!-- PRIMARY_2_Y -->
273     <attribute side="server" code="0x0017" define="COLOR_CONTROL_PRIMARY_2_INTENSITY" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">primary 2 intensity</attribute>
274     <!-- PRIMARY_2_INTENSITY -->
275     <attribute side="server" code="0x0019" define="COLOR_CONTROL_PRIMARY_3_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 3 x</attribute>
276     <!-- PRIMARY_3_X -->
277     <attribute side="server" code="0x001A" define="COLOR_CONTROL_PRIMARY_3_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 3 y</attribute>
278     <!-- PRIMARY_3_Y -->
279     <attribute side="server" code="0x001B" define="COLOR_CONTROL_PRIMARY_3_INTENSITY" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">primary 3 intensity</attribute>
280     <!-- PRIMARY_3_INTENSITY -->
281     <attribute side="server" code="0x0020" define="COLOR_CONTROL_PRIMARY_4_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 4 x</attribute>
282     <!-- PRIMARY_4_X -->
283     <attribute side="server" code="0x0021" define="COLOR_CONTROL_PRIMARY_4_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 4 y</attribute>
284     <!-- PRIMARY_4_Y -->
285     <attribute side="server" code="0x0022" define="COLOR_CONTROL_PRIMARY_4_INTENSITY" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">primary 4 intensity</attribute>
286     <!-- PRIMARY_4_INTENSITY -->
287     <attribute side="server" code="0x0024" define="COLOR_CONTROL_PRIMARY_5_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 5 x</attribute>
288     <!-- PRIMARY_5_X -->
289     <attribute side="server" code="0x0025" define="COLOR_CONTROL_PRIMARY_5_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 5 y</attribute>
290     <!-- PRIMARY_5_Y -->
291     <attribute side="server" code="0x0026" define="COLOR_CONTROL_PRIMARY_5_INTENSITY" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">primary 5 intensity</attribute>
292     <!-- PRIMARY_5_INTENSITY -->
293     <attribute side="server" code="0x0028" define="COLOR_CONTROL_PRIMARY_6_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 6 x</attribute>
294     <!-- PRIMARY_6_X -->
295     <attribute side="server" code="0x0029" define="COLOR_CONTROL_PRIMARY_6_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">primary 6 y</attribute>
296     <!-- PRIMARY_6_Y -->
297     <attribute side="server" code="0x002A" define="COLOR_CONTROL_PRIMARY_6_INTENSITY" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">primary 6 intensity</attribute>
298     <!-- PRIMARY_6_INTENSITY -->
299     <attribute side="server" code="0x0030" define="COLOR_CONTROL_WHITE_POINT_X" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">white point x</attribute>
300     <!-- WHITE_POINT_X -->
301     <attribute side="server" code="0x0031" define="COLOR_CONTROL_WHITE_POINT_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">white point y</attribute>
302     <!-- WHITE_POINT_Y -->
303     <attribute side="server" code="0x0032" define="COLOR_CONTROL_COLOR_POINT_R_X" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">color point r x</attribute>
304     <!-- COLOR_POINT_R_X -->
305     <attribute side="server" code="0x0033" define="COLOR_CONTROL_COLOR_POINT_R_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">color point r y</attribute>
306     <!-- COLOR_POINT_R_Y -->
307     <attribute side="server" code="0x0034" define="COLOR_CONTROL_COLOR_POINT_R_INTENSITY" type="INT8U" min="0x00" max="0xFF" writable="true" optional="true">color point r intensity</attribute>
308     <!-- COLOR_POINT_R_INTENSITY -->
309     <attribute side="server" code="0x0036" define="COLOR_CONTROL_COLOR_POINT_G_X" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">color point g x</attribute>
310     <!-- COLOR_POINT_G_X -->
311     <attribute side="server" code="0x0037" define="COLOR_CONTROL_COLOR_POINT_G_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">color point g y</attribute>
312     <!-- COLOR_POINT_G_Y -->
313     <attribute side="server" code="0x0038" define="COLOR_CONTROL_COLOR_POINT_G_INTENSITY" type="INT8U" min="0x00" max="0xFF" writable="true" optional="true">color point g intensity</attribute>
314     <!-- COLOR_POINT_G_INTENSITY -->
315     <attribute side="server" code="0x003A" define="COLOR_CONTROL_COLOR_POINT_B_X" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">color point b x</attribute>
316     <!-- COLOR_POINT_B_X -->
317     <attribute side="server" code="0x003B" define="COLOR_CONTROL_COLOR_POINT_B_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">color point b y</attribute>
318     <!-- COLOR_POINT_B_Y -->
319     <attribute side="server" code="0x003C" define="COLOR_CONTROL_COLOR_POINT_B_INTENSITY" type="INT8U" min="0x00" max="0xFF" writable="true" optional="true">color point b intensity</attribute>
320     <!-- COLOR_POINT_B_INTENSITY -->
321     <attribute side="server" code="0x400D" define="COLOR_CONTROL_TEMPERATURE_LEVEL_MIN_MIREDS" type="INT16U" min="0x0000" max="0xFFFF" writable="false" optional="false" introducedIn="l&amp;o-1.0-15-0014-04">couple color temp to level min-mireds</attribute>
322     <attribute side="server" code="0x4010" define="START_UP_COLOR_TEMPERATURE_MIREDS" type="INT16U" min="0x0000" max="0xFFFF" writable="true" optional="false" introducedIn="l&amp;o-1.0-15-0014-04">start up color temperature mireds</attribute>
323     <command source="client" code="0x00" name="MoveToHue" optional="true" cli="zcl color-control movetohue">
324       <description>
325         Move to specified hue.
326       </description>
327       <arg name="hue" type="INT8U"/>
328       <arg name="direction" type="HueDirection"/>
329       <arg name="transitionTime" type="INT16U"/>
330       <arg name="optionsMask" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
331       <arg name="optionsOverride" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
332     </command>
333     <command source="client" code="0x01" name="MoveHue" optional="true" cli="zcl color-control movehue">
334       <description>
335         Move hue up or down at specified rate.
336       </description>
337       <arg name="moveMode" type="HueMoveMode"/>
338       <arg name="rate" type="INT8U"/>
339       <arg name="optionsMask" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
340       <arg name="optionsOverride" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
341     </command>
342     <command source="client" code="0x02" name="StepHue" optional="true" cli="zcl color-control stephue">
343       <description>
344         Step hue up or down by specified size at specified rate.
345       </description>
346       <arg name="stepMode" type="HueStepMode"/>
347       <arg name="stepSize" type="INT8U"/>
348       <arg name="transitionTime" type="INT8U"/>
349       <arg name="optionsMask" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
350       <arg name="optionsOverride" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
351     </command>
352     <command source="client" code="0x03" name="MoveToSaturation" optional="true" cli="zcl color-control movetosat">
353       <description>
354         Move to specified saturation.
355       </description>
356       <arg name="saturation" type="INT8U"/>
357       <arg name="transitionTime" type="INT16U"/>
358       <arg name="optionsMask" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
359       <arg name="optionsOverride" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
360     </command>
361     <command source="client" code="0x04" name="MoveSaturation" optional="true" cli="zcl color-control movesat">
362       <description>
363         Move saturation up or down at specified rate.
364       </description>
365       <arg name="moveMode" type="SaturationMoveMode"/>
366       <arg name="rate" type="INT8U"/>
367       <arg name="optionsMask" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
368       <arg name="optionsOverride" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
369     </command>
370     <command source="client" code="0x05" name="StepSaturation" optional="true" cli="zcl color-control stepsat">
371       <description>
372         Step saturation up or down by specified size at specified rate.
373       </description>
374       <arg name="stepMode" type="SaturationStepMode"/>
375       <arg name="stepSize" type="INT8U"/>
376       <arg name="transitionTime" type="INT8U"/>
377       <arg name="optionsMask" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
378       <arg name="optionsOverride" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
379     </command>
380     <command source="client" code="0x06" name="MoveToHueAndSaturation" optional="true" cli="zcl color-control movetohueandsat">
381       <description>
382         Move to hue and saturation.
383       </description>
384       <arg name="hue" type="INT8U"/>
385       <arg name="saturation" type="INT8U"/>
386       <arg name="transitionTime" type="INT16U"/>
387       <arg name="optionsMask" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
388       <arg name="optionsOverride" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
389     </command>
390     <command source="client" code="0x07" name="MoveToColor" optional="false" cli="zcl color-control movetocolor">
391       <description>
392         Move to specified color.
393       </description>
394       <arg name="colorX" type="INT16U"/>
395       <arg name="colorY" type="INT16U"/>
396       <arg name="transitionTime" type="INT16U"/>
397       <arg name="optionsMask" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
398       <arg name="optionsOverride" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
399     </command>
400     <command source="client" code="0x08" name="MoveColor" optional="false" cli="zcl color-control movecolor">
401       <description>
402         Moves the color.
403       </description>
404       <arg name="rateX" type="INT16S"/>
405       <arg name="rateY" type="INT16S"/>
406       <arg name="optionsMask" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
407       <arg name="optionsOverride" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
408     </command>
409     <command source="client" code="0x09" name="StepColor" optional="false" cli="zcl color-control stepcolor">
410       <description>
411         Steps the lighting to a specific color.
412       </description>
413       <arg name="stepX" type="INT16S"/>
414       <arg name="stepY" type="INT16S"/>
415       <arg name="transitionTime" type="INT16U"/>
416       <arg name="optionsMask" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
417       <arg name="optionsOverride" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
418     </command>
419     <command source="client" code="0x0A" name="MoveToColorTemperature" optional="true" cli="zcl color-control movetocolortemp">
420       <description>
421         Move to a specific color temperature.
422       </description>
423       <arg name="colorTemperature" type="INT16U"/>
424       <arg name="transitionTime" type="INT16U"/>
425       <arg name="optionsMask" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
426       <arg name="optionsOverride" type="BITMAP8" introducedIn="zcl6-errata-14-0129-15" optional="1"/>
427     </command>
428   </cluster>
429   <cluster>
430     <name>Ballast Configuration</name>
431     <domain>Lighting</domain>
432     <description>Attributes and commands for configuring a lighting ballast.</description>
433     <code>0x0301</code>
434     <define>BALLAST_CONFIGURATION_CLUSTER</define>
435     <client tick="false" init="false">true</client>
436     <server tick="false" init="false">true</server>
437     <globalAttribute side="either" code="0xFFFD" value="3"/>
438     <attribute side="server" code="0x0000" define="PHYSICAL_MIN_LEVEL" type="INT8U" min="0x01" max="0xFE" writable="false" default="0x01" optional="true">physical min level</attribute>
439     <attribute side="server" code="0x0001" define="PHYSICAL_MAX_LEVEL" type="INT8U" min="0x01" max="0xFE" writable="false" default="0xFE" optional="true">physical max level</attribute>
440     <attribute side="server" code="0x0002" define="BALLAST_STATUS" type="BITMAP8" min="0x00" max="0x03" writable="false" default="0x00" optional="false">ballast status</attribute>
441     <attribute side="server" code="0x0010" define="MIN_LEVEL" type="INT8U" min="0x01" max="0xFE" writable="true" default="0x01" optional="true">min level</attribute>
442     <attribute side="server" code="0x0011" define="MAX_LEVEL" type="INT8U" min="0x01" max="0xFE" writable="true" default="0xFE" optional="true">max level</attribute>
443     <attribute side="server" code="0x0012" define="POWER_ON_LEVEL" type="INT8U" min="0x00" max="0xFE" writable="true" default="0xFE" optional="true">power on level</attribute>
444     <attribute side="server" code="0x0013" define="POWER_ON_FADE_TIME" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">power on fade time</attribute>
445     <attribute side="server" code="0x0014" define="INTRINSIC_BALLAST_FACTOR" type="INT8U" min="0x00" max="0xFE" writable="true" optional="true">intrinsic ballast factor</attribute>
446     <attribute side="server" code="0x0015" define="BALLAST_FACTOR_ADJUSTMENT" type="INT8U" min="0x64" writable="true" default="0xFF" optional="true">ballast factor adjustment</attribute>
447     <attribute side="server" code="0x0020" define="LAMP_QUALITY" type="INT8U" min="0x00" max="0xFE" writable="false" optional="true">lamp quality</attribute>
448     <attribute side="server" code="0x0030" define="LAMP_TYPE" type="CHAR_STRING" length="16" writable="true" optional="true">lamp type</attribute>
449     <attribute side="server" code="0x0031" define="LAMP_MANUFACTURER" type="CHAR_STRING" length="16" writable="true" optional="true">lamp manufacturer</attribute>
450     <attribute side="server" code="0x0032" define="LAMP_RATED_HOURS" type="INT24U" min="0x000000" max="0xFFFFFE" writable="true" default="0xFFFFFF" optional="true">lamp rated hours</attribute>
451     <attribute side="server" code="0x0033" define="LAMP_BURN_HOURS" type="INT24U" min="0x000000" max="0xFFFFFE" writable="true" default="0x000000" optional="true">lamp burn hours</attribute>
452     <attribute side="server" code="0x0034" define="LAMP_ALARM_MODE" type="BITMAP8" min="0x00" max="0x01" writable="true" default="0x00" optional="true">lamp alarm mode</attribute>
453     <attribute side="server" code="0x0035" define="LAMP_BURN_HOURS_TRIP_POINT" type="INT24U" min="0x000000" max="0xFFFFFE" writable="true" default="0xFFFFFF" optional="true">lamp burn hours trip point</attribute>
454   </cluster>
455   <cluster>
456     <name>Illuminance Measurement</name>
457     <domain>Measurement &amp; Sensing</domain>
458     <description>Attributes and commands for configuring the measurement of illuminance, and reporting illuminance measurements.</description>
459     <code>0x0400</code>
460     <define>ILLUM_MEASUREMENT_CLUSTER</define>
461     <client tick="false" init="false">true</client>
462     <server tick="false" tickFrequency="half" init="false">true</server>
463     <globalAttribute side="either" code="0xFFFD" value="2"/>
464     <attribute side="server" code="0x0000" define="ILLUM_MEASURED_VALUE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" reportable="true" default="0x0000" optional="false">measured value</attribute>
465     <!-- MEASURED_VALUE -->
466     <attribute side="server" code="0x0001" define="ILLUM_MIN_MEASURED_VALUE" type="INT16U" min="0x0001" max="0xFFFD" writable="false" optional="false">min measured value</attribute>
467     <!-- MIN_MEASURED_VALUE -->
468     <attribute side="server" code="0x0002" define="ILLUM_MAX_MEASURED_VALUE" type="INT16U" min="0x0001" max="0xFFFE" writable="false" optional="false">max measured value</attribute>
469     <!-- MAX_MEASURED_VALUE -->
470     <attribute side="server" code="0x0003" define="ILLUM_TOLERANCE" type="INT16U" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
471     <!-- TOLERANCE -->
472     <attribute side="server" code="0x0004" define="MEASUREMENT_LIGHT_SENSOR_TYPE" type="ENUM8" min="0x00" max="0xFF" writable="false" default="0xFF" optional="true">light sensor type</attribute>
473     <!-- LIGHT_SENSOR_TYPE -->
474   </cluster>
475   <cluster>
476     <name>Illuminance Level Sensing</name>
477     <domain>Measurement &amp; Sensing</domain>
478     <description>Attributes and commands for configuring the sensing of illuminance levels, and reporting whether illuminance is above, below, or on target.</description>
479     <code>0x0401</code>
480     <define>ILLUM_LEVEL_SENSING_CLUSTER</define>
481     <client tick="false" init="false">true</client>
482     <server tick="false" init="false">true</server>
483     <attribute side="server" code="0x0000" define="LEVEL_STATUS" type="ENUM8" min="0x00" max="0xFE" writable="false" reportable="true" optional="false">level status</attribute>
484     <attribute side="server" code="0x0001" define="SENSING_LIGHT_SENSOR_TYPE" type="ENUM8" min="0x00" max="0xFE" writable="false" optional="true">light sensor type</attribute>
485     <!-- LIGHT_SENSOR_TYPE -->
486     <attribute side="server" code="0x0010" define="ILLUMINANCE_TARGET_LEVEL" type="INT16U" min="0x0000" max="0xFFFE" writable="true" optional="false">illuminance level target</attribute>
487   </cluster>
488   <cluster>
489     <name>Temperature Measurement</name>
490     <domain>Measurement &amp; Sensing</domain>
491     <description>Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements.</description>
492     <code>0x0402</code>
493     <define>TEMP_MEASUREMENT_CLUSTER</define>
494     <client tick="false" init="false">true</client>
495     <server tick="false" init="false">true</server>
496     <globalAttribute side="either" code="0xFFFD" value="3"/>
497     <attribute side="server" code="0x0000" define="TEMP_MEASURED_VALUE" type="INT16S" writable="false" reportable="true" default="0x8000" optional="false">measured value</attribute>
498     <!-- MEASURED_VALUE -->
499     <attribute side="server" code="0x0001" define="TEMP_MIN_MEASURED_VALUE" type="INT16S" min="0x954D" max="0x7FFE" writable="false" default="0x8000" optional="false">min measured value</attribute>
500     <!-- MIN_MEASURED_VALUE -->
501     <attribute side="server" code="0x0002" define="TEMP_MAX_MEASURED_VALUE" type="INT16S" min="0x954E" max="0x7FFF" writable="false" default="0x8000" optional="false">max measured value</attribute>
502     <!-- MAX_MEASURED_VALUE -->
503     <attribute side="server" code="0x0003" define="TEMP_TOLERANCE" type="INT16U" min="0x0000" max="0x0800" writable="false" reportable="true" optional="true">tolerance</attribute>
504     <!-- TOLERANCE -->
505   </cluster>
506   <cluster>
507     <name>Pressure Measurement</name>
508     <domain>Measurement &amp; Sensing</domain>
509     <description>Attributes and commands for configuring the measurement of pressure, and reporting pressure measurements.</description>
510     <code>0x0403</code>
511     <define>PRESSURE_MEASUREMENT_CLUSTER</define>
512     <client tick="false" init="false">true</client>
513     <server tick="false" tickFrequency="half" init="false">true</server>
514     <globalAttribute side="either" code="0xFFFD" value="2"/>
515     <attribute side="server" code="0x0000" define="PRESSURE_MEASURED_VALUE" type="INT16S" writable="false" reportable="true" default="0x0000" optional="false">measured value</attribute>
516     <!-- MEASURED_VALUE -->
517     <attribute side="server" code="0x0001" define="PRESSURE_MIN_MEASURED_VALUE" type="INT16S" min="0x8001" max="0x7FFE" writable="false" optional="false">min measured value</attribute>
518     <!-- MIN_MEASURED_VALUE -->
519     <attribute side="server" code="0x0002" define="PRESSURE_MAX_MEASURED_VALUE" type="INT16S" min="0x8002" max="0x7FFF" writable="false" optional="false">max measured value</attribute>
520     <!-- MAX_MEASURED_VALUE -->
521     <attribute side="server" code="0x0003" define="PRESSURE_TOLERANCE" type="INT16U" min="0x0000" max="0x0800" writable="false" reportable="true" optional="true">tolerance</attribute>
522     <!-- TOLERANCE -->
523     <attribute side="server" code="0x0010" define="PRESSURE_SCALED_VALUE" type="INT16S" writable="false" reportable="true" default="0x0000" optional="true">scaled value</attribute>
524     <attribute side="server" code="0x0011" define="PRESSURE_MIN_SCALED_VALUE" type="INT16S" min="0x8001" max="0x7FFE" writable="false" optional="true">min scaled value</attribute>
525     <attribute side="server" code="0x0012" define="PRESSURE_MAX_SCALED_VALUE" type="INT16S" min="0x8002" max="0x7FFF" writable="false" optional="true">max scaled value</attribute>
526     <attribute side="server" code="0x0013" define="PRESSURE_SCALED_TOLERANCE" type="INT16S" min="0x0000" max="0x0800" writable="false" reportable="true" optional="true">scaled tolerance</attribute>
527     <attribute side="server" code="0x0014" define="PRESSURE_SCALE" type="INT8S" min="0x81" max="0x7F" writable="false" optional="true">scale</attribute>
528   </cluster>
529   <cluster>
530     <name>Flow Measurement</name>
531     <domain>Measurement &amp; Sensing</domain>
532     <description>Attributes and commands for configuring the measurement of flow, and reporting flow rates.</description>
533     <code>0x0404</code>
534     <define>FLOW_MEASUREMENT_CLUSTER</define>
535     <client tick="false" init="false">true</client>
536     <server tick="false" tickFrequency="half" init="false">true</server>
537     <globalAttribute side="either" code="0xFFFD" value="2"/>
538     <attribute side="server" code="0x0000" define="FLOW_MEASURED_VALUE" type="INT16U" writable="false" reportable="true" default="0x0000" optional="false">measured value</attribute>
539     <!-- MEASURED_VALUE -->
540     <attribute side="server" code="0x0001" define="FLOW_MIN_MEASURED_VALUE" type="INT16U" min="0x0000" max="0xfffd" writable="false" optional="false">min measured value</attribute>
541     <!-- MIN_MEASURED_VALUE -->
542     <attribute side="server" code="0x0002" define="FLOW_MAX_MEASURED_VALUE" type="INT16U" min="0x0001" max="0xfffe" writable="false" optional="false">max measured value</attribute>
543     <!-- MAX_MEASURED_VALUE -->
544     <attribute side="server" code="0x0003" define="FLOW_TOLERANCE" type="INT16U" min="0x0000" max="0x0800" writable="false" reportable="true" optional="true">tolerance</attribute>
545     <!-- TOLERANCE -->
546   </cluster>
547   <cluster>
548     <name>Relative Humidity Measurement</name>
549     <domain>Measurement &amp; Sensing</domain>
550     <description>Attributes and commands for configuring the measurement of relative humidity, and reporting relative humidity measurements.</description>
551     <code>0x0405</code>
552     <define>RELATIVE_HUMIDITY_MEASUREMENT_CLUSTER</define>
553     <client tick="false" init="false">true</client>
554     <server tick="false" tickFrequency="half" init="false">true</server>
555     <globalAttribute side="either" code="0xFFFD" value="2"/>
556     <attribute side="server" code="0x0000" define="RELATIVE_HUMIDITY_MEASURED_VALUE" type="INT16U" writable="false" reportable="true" optional="false">measured value</attribute>
557     <!-- MEASURED_VALUE -->
558     <attribute side="server" code="0x0001" define="RELATIVE_HUMIDITY_MIN_MEASURED_VALUE" type="INT16U" min="0x0000" max="0x270F" writable="false" optional="false">min measured value</attribute>
559     <!-- MIN_MEASURED_VALUE -->
560     <attribute side="server" code="0x0002" define="RELATIVE_HUMIDITY_MAX_MEASURED_VALUE" type="INT16U" min="0x0001" max="0x2710" writable="false" optional="false">max measured value</attribute>
561     <!-- MAX_MEASURED_VALUE -->
562     <attribute side="server" code="0x0003" define="RELATIVE_HUMIDITY_TOLERANCE" type="INT16U" min="0x0000" max="0x0800" writable="false" reportable="true" optional="true">tolerance</attribute>
563     <!-- TOLERANCE -->
564   </cluster>
565   <cluster>
566     <name>Occupancy Sensing</name>
567     <domain>Measurement &amp; Sensing</domain>
568     <description>Attributes and commands for configuring occupancy sensing, and reporting occupancy status.</description>
569     <code>0x0406</code>
570     <define>OCCUPANCY_SENSING_CLUSTER</define>
571     <client tick="false" init="false">true</client>
572     <server tick="false" tickFrequency="half" init="false">true</server>
573     <globalAttribute side="either" code="0xFFFD" value="2"/>
574     <attribute side="server" code="0x0000" define="OCCUPANCY" type="BITMAP8" min="0x00" max="0x01" writable="false" reportable="true" optional="false">occupancy</attribute>
575     <attribute side="server" code="0x0001" define="OCCUPANCY_SENSOR_TYPE" type="ENUM8" min="0x00" max="0xFE" writable="false" optional="false">occupancy sensor type</attribute>
576     <attribute side="server" code="0x0002" define="OCCUPANCY_SENSOR_TYPE_BITMAP" type="BITMAP8" min="0x00" max="0x07" writable="false" optional="false">occupancy sensor type bitmap</attribute>
577     <attribute side="server" code="0x0010" define="PIR_OCCUPIED_TO_UNOCCUPIED_DELAY" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">PIR occupied to unoccupied delay</attribute>
578     <attribute side="server" code="0x0011" define="PIR_UNOCCUPIED_TO_OCCUPIED_DELAY" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">PIR unoccupied to occupied delay</attribute>
579     <attribute side="server" code="0x0012" define="PIR_UNOCCUPIED_TO_OCCUPIED_THRESHOLD" type="INT8U" min="0x01" max="0xFE" writable="true" default="0x01" optional="true">PIR unoccupied to occupied threshold</attribute>
580     <attribute side="server" code="0x0020" define="ULTRASONIC_OCCUPIED_TO_UNOCCUPIED_DELAY" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">ultrasonic occupied to unoccupied delay</attribute>
581     <attribute side="server" code="0x0021" define="ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_DELAY" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">ultrasonic unoccupied to occupied delay</attribute>
582     <attribute side="server" code="0x0022" define="ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_THRESHOLD" type="INT8U" min="0x01" max="0xFE" writable="true" default="0x01" optional="true">ultrasonic unoccupied to occupied threshold</attribute>
583     <attribute side="server" code="0x0030" define="PHYSICAL_CONTACT_OCCUPIED_TO_UNOCCUPIED_DELAY" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">physical contact occupied to unoccupied delay</attribute>
584     <attribute side="server" code="0x0031" define="PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_DELAY" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">physical contact unoccupied to occupied delay</attribute>
585     <attribute side="server" code="0x0032" define="PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_THRESHOLD" type="INT8U" min="0x01" max="0xFE" writable="true" default="0x01" optional="true">physical contact unoccupied to occupied threshold</attribute>
586   </cluster>
587   <cluster>
588     <name>Carbon Monoxide Concentration Measurement</name>
589     <domain>Measurement &amp; Sensing</domain>
590     <description>Attributes and commands for configuring the measurement of carbon monoxide concentration and reporting concentration measurements.</description>
591     <code>0x040C</code>
592     <define>CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
593     <client tick="false" init="false">true</client>
594     <server tick="false" tickFrequency="half" init="false">true</server>
595     <globalAttribute side="either" code="0xFFFD" value="2"/>
596     <attribute side="server" code="0x0000" define="CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
597     <!-- MEASURED_VALUE -->
598     <attribute side="server" code="0x0001" define="CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
599     <!-- MIN_MEASURED_VALUE -->
600     <attribute side="server" code="0x0002" define="CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
601     <!-- MAX_MEASURED_VALUE -->
602     <attribute side="server" code="0x0003" define="CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
603     <!-- TOLERANCE -->
604   </cluster>
605   <cluster>
606     <name>Carbon Dioxide Concentration Measurement</name>
607     <domain>Measurement &amp; Sensing</domain>
608     <description>Attributes and commands for configuring the carbon diaoxide concentration and reporting concentration measurements.</description>
609     <code>0x040D</code>
610     <define>CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
611     <client tick="false" init="false">true</client>
612     <server tick="false" tickFrequency="half" init="false">true</server>
613     <globalAttribute side="either" code="0xFFFD" value="2"/>
614     <attribute side="server" code="0x0000" define="CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
615     <!-- MEASURED_VALUE -->
616     <attribute side="server" code="0x0001" define="CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
617     <!-- MIN_MEASURED_VALUE -->
618     <attribute side="server" code="0x0002" define="CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
619     <!-- MAX_MEASURED_VALUE -->
620     <attribute side="server" code="0x0003" define="CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
621     <!-- TOLERANCE -->
622   </cluster>
623   <cluster>
624     <name>Ethylene Concentration Measurement</name>
625     <domain>Measurement &amp; Sensing</domain>
626     <description>Attributes and commands for configuring the Ethylene concentration and reporting concentration measurements.</description>
627     <code>0x040E</code>
628     <define>ETHYLENE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
629     <client tick="false" init="false">true</client>
630     <server tick="false" tickFrequency="half" init="false">true</server>
631     <globalAttribute side="either" code="0xFFFD" value="2"/>
632     <attribute side="server" code="0x0000" define="ETHYLENE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
633     <!-- MEASURED_VALUE -->
634     <attribute side="server" code="0x0001" define="ETHYLENE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
635     <!-- MIN_MEASURED_VALUE -->
636     <attribute side="server" code="0x0002" define="ETHYLENE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
637     <!-- MAX_MEASURED_VALUE -->
638     <attribute side="server" code="0x0003" define="ETHYLENE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
639     <!-- TOLERANCE -->
640   </cluster>
641   <cluster>
642     <name>Ethylene Oxide Concentration Measurement</name>
643     <domain>Measurement &amp; Sensing</domain>
644     <description>Attributes and commands for configuring the Ethylene Oxide concentration and reporting concentration measurements.</description>
645     <code>0x040F</code>
646     <define>ETHYLENE_OXIDE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
647     <client tick="false" init="false">true</client>
648     <server tick="false" tickFrequency="half" init="false">true</server>
649     <globalAttribute side="either" code="0xFFFD" value="2"/>
650     <attribute side="server" code="0x0000" define="ETHYLENE_OXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
651     <!-- MEASURED_VALUE -->
652     <attribute side="server" code="0x0001" define="ETHYLENE_OXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
653     <!-- MIN_MEASURED_VALUE -->
654     <attribute side="server" code="0x0002" define="ETHYLENE_OXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
655     <!-- MAX_MEASURED_VALUE -->
656     <attribute side="server" code="0x0003" define="ETHYLENE_OXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
657     <!-- TOLERANCE -->
658   </cluster>
659   <cluster>
660     <name>Hydrogen Concentration Measurement</name>
661     <domain>Measurement &amp; Sensing</domain>
662     <description>Attributes and commands for configuring the Hydrogen concentration and reporting concentration measurements.</description>
663     <code>0x0410</code>
664     <define>HYDROGEN_CONCENTRATION_MEASUREMENT_CLUSTER</define>
665     <client tick="false" init="false">true</client>
666     <server tick="false" tickFrequency="half" init="false">true</server>
667     <globalAttribute side="either" code="0xFFFD" value="2"/>
668     <attribute side="server" code="0x0000" define="HYDROGEN_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
669     <!-- MEASURED_VALUE -->
670     <attribute side="server" code="0x0001" define="HYDROGEN_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
671     <!-- MIN_MEASURED_VALUE -->
672     <attribute side="server" code="0x0002" define="HYDROGEN_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
673     <!-- MAX_MEASURED_VALUE -->
674     <attribute side="server" code="0x0003" define="HYDROGEN_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
675     <!-- TOLERANCE -->
676   </cluster>
677   <cluster>
678     <name>Hydrogen Sulphide Concentration Measurement</name>
679     <domain>Measurement &amp; Sensing</domain>
680     <description>Attributes and commands for configuring the Hydrogen Sulphide concentration and reporting concentration measurements.</description>
681     <code>0x0411</code>
682     <define>HYDROGEN_SULPHIDE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
683     <client tick="false" init="false">true</client>
684     <server tick="false" tickFrequency="half" init="false">true</server>
685     <globalAttribute side="either" code="0xFFFD" value="2"/>
686     <attribute side="server" code="0x0000" define="HYDROGEN_SULPHIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
687     <!-- MEASURED_VALUE -->
688     <attribute side="server" code="0x0001" define="HYDROGEN_SULPHIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
689     <!-- MIN_MEASURED_VALUE -->
690     <attribute side="server" code="0x0002" define="HYDROGEN_SULPHIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
691     <!-- MAX_MEASURED_VALUE -->
692     <attribute side="server" code="0x0003" define="HYDROGEN_SULPHIDE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
693     <!-- TOLERANCE -->
694   </cluster>
695   <cluster>
696     <name>Nitric Oxide Concentration Measurement</name>
697     <domain>Measurement &amp; Sensing</domain>
698     <description>Attributes and commands for configuring the Nitric Oxide concentration and reporting concentration measurements.</description>
699     <code>0x0412</code>
700     <define>NITRIC_OXIDE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
701     <client tick="false" init="false">true</client>
702     <server tick="false" tickFrequency="half" init="false">true</server>
703     <globalAttribute side="either" code="0xFFFD" value="2"/>
704     <attribute side="server" code="0x0000" define="NITRIC_OXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
705     <!-- MEASURED_VALUE -->
706     <attribute side="server" code="0x0001" define="NITRIC_OXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
707     <!-- MIN_MEASURED_VALUE -->
708     <attribute side="server" code="0x0002" define="NITRIC_OXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
709     <!-- MAX_MEASURED_VALUE -->
710     <attribute side="server" code="0x0003" define="NITRIC_OXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
711     <!-- TOLERANCE -->
712   </cluster>
713   <cluster>
714     <name>Nitrogen Dioxide Concentration Measurement</name>
715     <domain>Measurement &amp; Sensing</domain>
716     <description>Attributes and commands for configuring the Nitrogen Dioxide concentration and reporting concentration measurements.</description>
717     <code>0x0413</code>
718     <define>NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
719     <client tick="false" init="false">true</client>
720     <server tick="false" tickFrequency="half" init="false">true</server>
721     <globalAttribute side="either" code="0xFFFD" value="2"/>
722     <attribute side="server" code="0x0000" define="NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
723     <!-- MEASURED_VALUE -->
724     <attribute side="server" code="0x0001" define="NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
725     <!-- MIN_MEASURED_VALUE -->
726     <attribute side="server" code="0x0002" define="NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
727     <!-- MAX_MEASURED_VALUE -->
728     <attribute side="server" code="0x0003" define="NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
729     <!-- TOLERANCE -->
730   </cluster>
731   <cluster>
732     <name>Oxygen Concentration Measurement</name>
733     <domain>Measurement &amp; Sensing</domain>
734     <description>Attributes and commands for configuring the Oxygen concentration and reporting concentration measurements.</description>
735     <code>0x0414</code>
736     <define>OXYGEN_CONCENTRATION_MEASUREMENT_CLUSTER</define>
737     <client tick="false" init="false">true</client>
738     <server tick="false" tickFrequency="half" init="false">true</server>
739     <globalAttribute side="either" code="0xFFFD" value="2"/>
740     <attribute side="server" code="0x0000" define="OXYGEN_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
741     <!-- MEASURED_VALUE -->
742     <attribute side="server" code="0x0001" define="OXYGEN_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
743     <!-- MIN_MEASURED_VALUE -->
744     <attribute side="server" code="0x0002" define="OXYGEN_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
745     <!-- MAX_MEASURED_VALUE -->
746     <attribute side="server" code="0x0003" define="OXYGEN_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
747     <!-- TOLERANCE -->
748   </cluster>
749   <cluster>
750     <name>Ozone Concentration Measurement</name>
751     <domain>Measurement &amp; Sensing</domain>
752     <description>Attributes and commands for configuring the Ozone concentration and reporting concentration measurements.</description>
753     <code>0x0415</code>
754     <define>OZONE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
755     <client tick="false" init="false">true</client>
756     <server tick="false" tickFrequency="half" init="false">true</server>
757     <globalAttribute side="either" code="0xFFFD" value="2"/>
758     <attribute side="server" code="0x0000" define="OZONE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
759     <!-- MEASURED_VALUE -->
760     <attribute side="server" code="0x0001" define="OZONE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
761     <!-- MIN_MEASURED_VALUE -->
762     <attribute side="server" code="0x0002" define="OZONE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
763     <!-- MAX_MEASURED_VALUE -->
764     <attribute side="server" code="0x0003" define="OZONE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
765     <!-- TOLERANCE -->
766   </cluster>
767   <cluster>
768     <name>Sulfur Dioxide Concentration Measurement</name>
769     <domain>Measurement &amp; Sensing</domain>
770     <description>Attributes and commands for configuring the Sulphur Dioxide concentration and reporting concentration measurements.</description>
771     <code>0x0416</code>
772     <define>SULFUR_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
773     <client tick="false" init="false">true</client>
774     <server tick="false" tickFrequency="half" init="false">true</server>
775     <globalAttribute side="either" code="0xFFFD" value="2"/>
776     <attribute side="server" code="0x0000" define="SULFUR_DIOXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
777     <!-- MEASURED_VALUE -->
778     <attribute side="server" code="0x0001" define="SULFUR_DIOXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
779     <!-- MIN_MEASURED_VALUE -->
780     <attribute side="server" code="0x0002" define="SULFUR_DIOXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
781     <!-- MAX_MEASURED_VALUE -->
782     <attribute side="server" code="0x0003" define="SULFUR_DIOXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
783     <!-- TOLERANCE -->
784   </cluster>
785   <cluster>
786     <name>Dissolved Oxygen Concentration Measurement</name>
787     <domain>Measurement &amp; Sensing</domain>
788     <description>Attributes and commands for configuring the Dissolved Oxygen concentration and reporting concentration measurements.</description>
789     <code>0x0417</code>
790     <define>DISSOLVED_OXYGEN_CONCENTRATION_MEASUREMENT_CLUSTER</define>
791     <client tick="false" init="false">true</client>
792     <server tick="false" tickFrequency="half" init="false">true</server>
793     <globalAttribute side="either" code="0xFFFD" value="2"/>
794     <attribute side="server" code="0x0000" define="DISSOLVED_OXYGEN_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
795     <!-- MEASURED_VALUE -->
796     <attribute side="server" code="0x0001" define="DISSOLVED_OXYGEN_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
797     <!-- MIN_MEASURED_VALUE -->
798     <attribute side="server" code="0x0002" define="DISSOLVED_OXYGEN_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
799     <!-- MAX_MEASURED_VALUE -->
800     <attribute side="server" code="0x0003" define="DISSOLVED_OXYGEN_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
801     <!-- TOLERANCE -->
802   </cluster>
803   <cluster>
804     <name>Bromate Concentration Measurement</name>
805     <domain>Measurement &amp; Sensing</domain>
806     <description>Attributes and commands for configuring the Bromate concentration, and reporting concentration measurements.</description>
807     <code>0x0418</code>
808     <define>BROMATE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
809     <client tick="false" init="false">true</client>
810     <server tick="false" tickFrequency="half" init="false">true</server>
811     <globalAttribute side="either" code="0xFFFD" value="2"/>
812     <attribute side="server" code="0x0000" define="BROMATE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
813     <!-- MEASURED_VALUE -->
814     <attribute side="server" code="0x0001" define="BROMATE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
815     <!-- MIN_MEASURED_VALUE -->
816     <attribute side="server" code="0x0002" define="BROMATE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
817     <!-- MAX_MEASURED_VALUE -->
818     <attribute side="server" code="0x0003" define="BROMATE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
819     <!-- TOLERANCE -->
820   </cluster>
821   <cluster>
822     <name>Chloramines Concentration Measurement</name>
823     <domain>Measurement &amp; Sensing</domain>
824     <description>Attributes and commands for configuring the Chloramines concentration and reporting concentration measurements.</description>
825     <code>0x0419</code>
826     <define>CHLORAMINES_CONCENTRATION_MEASUREMENT_CLUSTER</define>
827     <client tick="false" init="false">true</client>
828     <server tick="false" tickFrequency="half" init="false">true</server>
829     <globalAttribute side="either" code="0xFFFD" value="2"/>
830     <attribute side="server" code="0x0000" define="CHLORAMINES_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
831     <!-- MEASURED_VALUE -->
832     <attribute side="server" code="0x0001" define="CHLORAMINES_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
833     <!-- MIN_MEASURED_VALUE -->
834     <attribute side="server" code="0x0002" define="CHLORAMINES_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
835     <!-- MAX_MEASURED_VALUE -->
836     <attribute side="server" code="0x0003" define="CHLORAMINES_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
837     <!-- TOLERANCE -->
838   </cluster>
839   <cluster>
840     <name>Chlorine Concentration Measurement</name>
841     <domain>Measurement &amp; Sensing</domain>
842     <description>Attributes and commands for configuring the Chlorine concentration and reporting concentration measurements.</description>
843     <code>0x041A</code>
844     <define>CHLORINE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
845     <client tick="false" init="false">true</client>
846     <server tick="false" tickFrequency="half" init="false">true</server>
847     <globalAttribute side="either" code="0xFFFD" value="2"/>
848     <attribute side="server" code="0x0000" define="CHLORINE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
849     <!-- MEASURED_VALUE -->
850     <attribute side="server" code="0x0001" define="CHLORINE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
851     <!-- MIN_MEASURED_VALUE -->
852     <attribute side="server" code="0x0002" define="CHLORINE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
853     <!-- MAX_MEASURED_VALUE -->
854     <attribute side="server" code="0x0003" define="CHLORINE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
855     <!-- TOLERANCE -->
856   </cluster>
857   <cluster>
858     <name>Fecal coliform and E. Coli Concentration Measurement</name>
859     <domain>Measurement &amp; Sensing</domain>
860     <description>Attributes and commands for configuring the Fecal coliform and E. Coli concentration and reporting concentration measurements.</description>
861     <code>0x041B</code>
862     <define>FECAL_COLIFORM_AND_E_COLI_CONCENTRATION_MEASUREMENT_CLUSTER</define>
863     <client tick="false" init="false">true</client>
864     <server tick="false" tickFrequency="half" init="false">true</server>
865     <globalAttribute side="either" code="0xFFFD" value="2"/>
866     <attribute side="server" code="0x0000" define="FECAL_COLIFORM_AND_E_COLI_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
867     <!-- MEASURED_VALUE -->
868     <attribute side="server" code="0x0001" define="FECAL_COLIFORM_AND_E_COLI_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
869     <!-- MIN_MEASURED_VALUE -->
870     <attribute side="server" code="0x0002" define="FECAL_COLIFORM_AND_E_COLI_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
871     <!-- MAX_MEASURED_VALUE -->
872     <attribute side="server" code="0x0003" define="FECAL_COLIFORM_AND_E_COLI_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
873     <!-- TOLERANCE -->
874   </cluster>
875   <cluster>
876     <name>Fluoride Concentration Measurement</name>
877     <domain>Measurement &amp; Sensing</domain>
878     <description>Attributes and commands for configuring the Fluoride concentration and reporting concentration measurements.</description>
879     <code>0x041C</code>
880     <define>FLUORIDE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
881     <client tick="false" init="false">true</client>
882     <server tick="false" tickFrequency="half" init="false">true</server>
883     <globalAttribute side="either" code="0xFFFD" value="2"/>
884     <attribute side="server" code="0x0000" define="FLUORIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
885     <!-- MEASURED_VALUE -->
886     <attribute side="server" code="0x0001" define="FLUORIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
887     <!-- MIN_MEASURED_VALUE -->
888     <attribute side="server" code="0x0002" define="FLUORIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
889     <!-- MAX_MEASURED_VALUE -->
890     <attribute side="server" code="0x0003" define="FLUORIDE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
891     <!-- TOLERANCE -->
892   </cluster>
893   <cluster>
894     <name>Haloacetic Acids Concentration Measurement</name>
895     <domain>Measurement &amp; Sensing</domain>
896     <description>Attributes and commands for configuring the Haloacetic Acids concentration and reporting concentration measurements.</description>
897     <code>0x041D</code>
898     <define>HALOACETIC_ACIDS_CONCENTRATION_MEASUREMENT_CLUSTER</define>
899     <client tick="false" init="false">true</client>
900     <server tick="false" tickFrequency="half" init="false">true</server>
901     <globalAttribute side="either" code="0xFFFD" value="2"/>
902     <attribute side="server" code="0x0000" define="HALOACETIC_ACIDS_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
903     <!-- MEASURED_VALUE -->
904     <attribute side="server" code="0x0001" define="HALOACETIC_ACIDS_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
905     <!-- MIN_MEASURED_VALUE -->
906     <attribute side="server" code="0x0002" define="HALOACETIC_ACIDS_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
907     <!-- MAX_MEASURED_VALUE -->
908     <attribute side="server" code="0x0003" define="HALOACETIC_ACIDS_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
909     <!-- TOLERANCE -->
910   </cluster>
911   <cluster>
912     <name>Total Trihalomethanes Concentration Measurement</name>
913     <domain>Measurement &amp; Sensing</domain>
914     <description>Attributes and commands for configuring the Total Trihalomethanes concentration and reporting concentration measurements.</description>
915     <code>0x041E</code>
916     <define>TOTAL_TRIHALOMETHANES_CONCENTRATION_MEASUREMENT_CLUSTER</define>
917     <client tick="false" init="false">true</client>
918     <server tick="false" tickFrequency="half" init="false">true</server>
919     <globalAttribute side="either" code="0xFFFD" value="2"/>
920     <attribute side="server" code="0x0000" define="TOTAL_TRIHALOMETHANES_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
921     <!-- MEASURED_VALUE -->
922     <attribute side="server" code="0x0001" define="TOTAL_TRIHALOMETHANES_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
923     <!-- MIN_MEASURED_VALUE -->
924     <attribute side="server" code="0x0002" define="TOTAL_TRIHALOMETHANES_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
925     <!-- MAX_MEASURED_VALUE -->
926     <attribute side="server" code="0x0003" define="TOTAL_TRIHALOMETHANES_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
927     <!-- TOLERANCE -->
928   </cluster>
929   <cluster>
930     <name>Total Coliform Bacteria Concentration Measurement</name>
931     <domain>Measurement &amp; Sensing</domain>
932     <description>Attributes and commands for configuring the Total Coliform Bacteria concentration and reporting concentration measurements.</description>
933     <code>0x041F</code>
934     <define>TOTAL_COLIFORM_BACTERIA_CONCENTRATION_MEASUREMENT_CLUSTER</define>
935     <client tick="false" init="false">true</client>
936     <server tick="false" tickFrequency="half" init="false">true</server>
937     <globalAttribute side="either" code="0xFFFD" value="2"/>
938     <attribute side="server" code="0x0000" define="TOTAL_COLIFORM_BACTERIA_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
939     <!-- MEASURED_VALUE -->
940     <attribute side="server" code="0x0001" define="TOTAL_COLIFORM_BACTERIA_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
941     <!-- MIN_MEASURED_VALUE -->
942     <attribute side="server" code="0x0002" define="TOTAL_COLIFORM_BACTERIA_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
943     <!-- MAX_MEASURED_VALUE -->
944     <attribute side="server" code="0x0003" define="TOTAL_COLIFORM_BACTERIA_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
945     <!-- TOLERANCE -->
946   </cluster>
947   <cluster>
948     <name>Turbidity Concentration Measurement</name>
949     <domain>Measurement &amp; Sensing</domain>
950     <description>Attributes and commands for configuring the Turbidity concentration and reporting concentration measurements.</description>
951     <code>0x0420</code>
952     <define>TURBIDITY_CONCENTRATION_MEASUREMENT_CLUSTER</define>
953     <client tick="false" init="false">true</client>
954     <server tick="false" tickFrequency="half" init="false">true</server>
955     <globalAttribute side="either" code="0xFFFD" value="2"/>
956     <attribute side="server" code="0x0000" define="TURBIDITY_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
957     <!-- MEASURED_VALUE -->
958     <attribute side="server" code="0x0001" define="TURBIDITY_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
959     <!-- MIN_MEASURED_VALUE -->
960     <attribute side="server" code="0x0002" define="TURBIDITY_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
961     <!-- MAX_MEASURED_VALUE -->
962     <attribute side="server" code="0x0003" define="TURBIDITY_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
963     <!-- TOLERANCE -->
964   </cluster>
965   <cluster>
966     <name>Copper Concentration Measurement</name>
967     <domain>Measurement &amp; Sensing</domain>
968     <description>Attributes and commands for configuring the Copper concentration and reporting concentration measurements.</description>
969     <code>0x0421</code>
970     <define>COPPER_CONCENTRATION_MEASUREMENT_CLUSTER</define>
971     <client tick="false" init="false">true</client>
972     <server tick="false" tickFrequency="half" init="false">true</server>
973     <globalAttribute side="either" code="0xFFFD" value="2"/>
974     <attribute side="server" code="0x0000" define="COPPER_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
975     <!-- MEASURED_VALUE -->
976     <attribute side="server" code="0x0001" define="COPPER_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
977     <!-- MIN_MEASURED_VALUE -->
978     <attribute side="server" code="0x0002" define="COPPER_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
979     <!-- MAX_MEASURED_VALUE -->
980     <attribute side="server" code="0x0003" define="COPPER_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
981     <!-- TOLERANCE -->
982   </cluster>
983   <cluster>
984     <name>Lead Concentration Measurement</name>
985     <domain>Measurement &amp; Sensing</domain>
986     <description>Attributes and commands for configuring the Lead concentration and reporting concentration measurements.</description>
987     <code>0x0422</code>
988     <define>LEAD_CONCENTRATION_MEASUREMENT_CLUSTER</define>
989     <client tick="false" init="false">true</client>
990     <server tick="false" tickFrequency="half" init="false">true</server>
991     <globalAttribute side="either" code="0xFFFD" value="2"/>
992     <attribute side="server" code="0x0000" define="LEAD_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
993     <!-- MEASURED_VALUE -->
994     <attribute side="server" code="0x0001" define="LEAD_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
995     <!-- MIN_MEASURED_VALUE -->
996     <attribute side="server" code="0x0002" define="LEAD_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
997     <!-- MAX_MEASURED_VALUE -->
998     <attribute side="server" code="0x0003" define="LEAD_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
999     <!-- TOLERANCE -->
1000   </cluster>
1001   <cluster>
1002     <name>Manganese Concentration Measurement</name>
1003     <domain>Measurement &amp; Sensing</domain>
1004     <description>Attributes and commands for configuring the Manganese concentration and reporting concentration measurements.</description>
1005     <code>0x0423</code>
1006     <define>MANGANESE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
1007     <client tick="false" init="false">true</client>
1008     <server tick="false" tickFrequency="half" init="false">true</server>
1009     <globalAttribute side="either" code="0xFFFD" value="2"/>
1010     <attribute side="server" code="0x0000" define="MANGANESE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
1011     <!-- MEASURED_VALUE -->
1012     <attribute side="server" code="0x0001" define="MANGANESE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
1013     <!-- MIN_MEASURED_VALUE -->
1014     <attribute side="server" code="0x0002" define="MANGANESE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
1015     <!-- MAX_MEASURED_VALUE -->
1016     <attribute side="server" code="0x0003" define="MANGANESE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
1017     <!-- TOLERANCE -->
1018   </cluster>
1019   <cluster>
1020     <name>Sulfate Concentration Measurement</name>
1021     <domain>Measurement &amp; Sensing</domain>
1022     <description>Attributes and commands for configuring the Sulfate concentration and reporting concentration measurements.</description>
1023     <code>0x0424</code>
1024     <define>SULFATE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
1025     <client tick="false" init="false">true</client>
1026     <server tick="false" tickFrequency="half" init="false">true</server>
1027     <globalAttribute side="either" code="0xFFFD" value="2"/>
1028     <attribute side="server" code="0x0000" define="SULFATE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
1029     <!-- MEASURED_VALUE -->
1030     <attribute side="server" code="0x0001" define="SULFATE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
1031     <!-- MIN_MEASURED_VALUE -->
1032     <attribute side="server" code="0x0002" define="SULFATE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
1033     <!-- MAX_MEASURED_VALUE -->
1034     <attribute side="server" code="0x0003" define="SULFATE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
1035     <!-- TOLERANCE -->
1036   </cluster>
1037   <cluster>
1038     <name>Bromodichloromethane Concentration Measurement</name>
1039     <domain>Measurement &amp; Sensing</domain>
1040     <description>Attributes and commands for configuring the Bromodichloromethane concentration and reporting concentration measurements.</description>
1041     <code>0x0425</code>
1042     <define>BROMODICHLOROMETHANE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
1043     <client tick="false" init="false">true</client>
1044     <server tick="false" tickFrequency="half" init="false">true</server>
1045     <globalAttribute side="either" code="0xFFFD" value="2"/>
1046     <attribute side="server" code="0x0000" define="BROMODICHLOROMETHANE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
1047     <!-- MEASURED_VALUE -->
1048     <attribute side="server" code="0x0001" define="BROMODICHLOROMETHANE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
1049     <!-- MIN_MEASURED_VALUE -->
1050     <attribute side="server" code="0x0002" define="BROMODICHLOROMETHANE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
1051     <!-- MAX_MEASURED_VALUE -->
1052     <attribute side="server" code="0x0003" define="BROMODICHLOROMETHANE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
1053     <!-- TOLERANCE -->
1054   </cluster>
1055   <cluster>
1056     <name>Bromoform Concentration Measurement</name>
1057     <domain>Measurement &amp; Sensing</domain>
1058     <description>Attributes and commands for configuring the Bromoform concentration and reporting concentration measurements.</description>
1059     <code>0x0426</code>
1060     <define>BROMOFORM_CONCENTRATION_MEASUREMENT_CLUSTER</define>
1061     <client tick="false" init="false">true</client>
1062     <server tick="false" tickFrequency="half" init="false">true</server>
1063     <globalAttribute side="either" code="0xFFFD" value="2"/>
1064     <attribute side="server" code="0x0000" define="BROMOFORM_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
1065     <!-- MEASURED_VALUE -->
1066     <attribute side="server" code="0x0001" define="BROMOFORM_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
1067     <!-- MIN_MEASURED_VALUE -->
1068     <attribute side="server" code="0x0002" define="BROMOFORM_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
1069     <!-- MAX_MEASURED_VALUE -->
1070     <attribute side="server" code="0x0003" define="BROMOFORM_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
1071     <!-- TOLERANCE -->
1072   </cluster>
1073   <cluster>
1074     <name>Chlorodibromomethane Concentration Measurement</name>
1075     <domain>Measurement &amp; Sensing</domain>
1076     <description>Attributes and commands for configuring the Chlorodibromomethane concentration and reporting concentration measurements.</description>
1077     <code>0x0427</code>
1078     <define>CHLORODIBROMOMETHANE_CONCENTRATION_MEASUREMENT_CLUSTER</define>
1079     <client tick="false" init="false">true</client>
1080     <server tick="false" tickFrequency="half" init="false">true</server>
1081     <globalAttribute side="either" code="0xFFFD" value="2"/>
1082     <attribute side="server" code="0x0000" define="CHLORODIBROMOMETHANE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
1083     <!-- MEASURED_VALUE -->
1084     <attribute side="server" code="0x0001" define="CHLORODIBROMOMETHANE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
1085     <!-- MIN_MEASURED_VALUE -->
1086     <attribute side="server" code="0x0002" define="CHLORODIBROMOMETHANE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
1087     <!-- MAX_MEASURED_VALUE -->
1088     <attribute side="server" code="0x0003" define="CHLORODIBROMOMETHANE_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
1089     <!-- TOLERANCE -->
1090   </cluster>
1091   <cluster>
1092     <name>Chloroform Concentration Measurement</name>
1093     <domain>Measurement &amp; Sensing</domain>
1094     <description>Attributes and commands for configuring the Chloroform concentration and reporting concentration measurements.</description>
1095     <code>0x0428</code>
1096     <define>CHLOROFORM_CONCENTRATION_MEASUREMENT_CLUSTER</define>
1097     <client tick="false" init="false">true</client>
1098     <server tick="false" tickFrequency="half" init="false">true</server>
1099     <globalAttribute side="either" code="0xFFFD" value="2"/>
1100     <attribute side="server" code="0x0000" define="CHLOROFORM_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
1101     <!-- MEASURED_VALUE -->
1102     <attribute side="server" code="0x0001" define="CHLOROFORM_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
1103     <!-- MIN_MEASURED_VALUE -->
1104     <attribute side="server" code="0x0002" define="CHLOROFORM_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
1105     <!-- MAX_MEASURED_VALUE -->
1106     <attribute side="server" code="0x0003" define="CHLOROFORM_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
1107     <!-- TOLERANCE -->
1108   </cluster>
1109   <cluster>
1110     <name>Sodium Concentration Measurement</name>
1111     <domain>Measurement &amp; Sensing</domain>
1112     <description>Attributes and commands for configuring the Sodium concentration and reporting concentration measurements.</description>
1113     <code>0x0429</code>
1114     <define>SODIUM_CONCENTRATION_MEASUREMENT_CLUSTER</define>
1115     <client tick="false" init="false">true</client>
1116     <server tick="false" tickFrequency="half" init="false">true</server>
1117     <globalAttribute side="either" code="0xFFFD" value="2"/>
1118     <attribute side="server" code="0x0000" define="SODIUM_CONCENTRATION_MEASUREMENT_MEASURED_VALUE" type="FLOAT_SINGLE" writable="false" reportable="true" optional="false">measured value</attribute>
1119     <!-- MEASURED_VALUE -->
1120     <attribute side="server" code="0x0001" define="SODIUM_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">min measured value</attribute>
1121     <!-- MIN_MEASURED_VALUE -->
1122     <attribute side="server" code="0x0002" define="SODIUM_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE" type="FLOAT_SINGLE" min="0x0000" max="0x3F800000" writable="false" optional="false">max measured value</attribute>
1123     <!-- MAX_MEASURED_VALUE -->
1124     <attribute side="server" code="0x0003" define="SODIUM_CONCENTRATION_MEASUREMENT_TOLERANCE" type="FLOAT_SINGLE" min="0x0000" max="0x0800" writable="false" optional="true">tolerance</attribute>
1125     <!-- TOLERANCE -->
1126   </cluster>
1127   <cluster>
1128     <name>IAS Zone</name>
1129     <domain>Security &amp; Safety</domain>
1130     <description>Attributes and commands for IAS security zone devices.</description>
1131     <code>0x0500</code>
1132     <define>IAS_ZONE_CLUSTER</define>
1133     <client tick="false" init="false">true</client>
1134     <server tick="false" init="false">true</server>
1135     <globalAttribute side="either" code="0xFFFD" value="2"/>
1136     <attribute side="server" code="0x0000" define="ZONE_STATE" type="ENUM8" writable="false" default="0x00" optional="false">zone state</attribute>
1137     <attribute side="server" code="0x0001" define="ZONE_TYPE" type="ENUM16" writable="false" optional="false">zone type</attribute>
1138     <attribute side="server" code="0x0002" define="ZONE_STATUS" type="BITMAP16" writable="false" default="0x0000" optional="false">zone status</attribute>
1139     <attribute side="server" code="0x0010" define="IAS_CIE_ADDRESS" type="IEEE_ADDRESS" writable="true" optional="false">IAS CIE address</attribute>
1140     <attribute side="server" code="0x0011" define="ZONE_ID" type="INT8U" writable="false" default="0xff" optional="false">Zone ID</attribute>
1141     <attribute side="server" code="0x0012" define="NUMBER_OF_ZONE_SENSITIVITY_LEVELS_SUPPORTED" type="INT8U" writable="false" default="0x02" optional="true">Number of Zone Sensitivity Levels Supported</attribute>
1142     <attribute side="server" code="0x0013" define="CURRENT_ZONE_SENSITIVITY_LEVEL" type="INT8U" writable="true" default="0x00" optional="true">Current Zone Sensitivity Level</attribute>
1143     <command source="client" code="0x00" name="ZoneEnrollResponse" optional="false" disableDefaultResponse="true">
1144       <description>
1145         Command description for zoneEnrollResponse
1146       </description>
1147       <arg name="enrollResponseCode" type="IasEnrollResponseCode"/>
1148       <arg name="zoneId" type="INT8U"/>
1149     </command>
1150     <command source="client" code="0x01" name="InitiateNormalOperationMode" optional="true">
1151       <description>
1152         Used to tell the IAS Zone server to commence normal operation mode
1153       </description>
1154     </command>
1155     <command source="client" code="0x02" name="InitiateTestMode" optional="true">
1156       <description>
1157         Certain IAS Zone servers may have operational configurations that could be configured OTA or locally on the device. This command enables them to be remotely placed into a test mode so that the user or installer may configure their field of view, sensitivity, and other operational parameters.
1158       </description>
1159       <arg name="testModeDuration" type="INT8U"/>
1160       <arg name="currentZoneSensitivityLevel" type="INT8U"/>
1161     </command>
1162     <command source="server" code="0x00" name="ZoneStatusChangeNotification" optional="false" cli="zcl ias-zone sc">
1163       <description>
1164         Command description for zoneStatusChangeNotification
1165       </description>
1166       <arg name="zoneStatus" type="IasZoneStatus"/>
1167       <arg name="extendedStatus" type="BITMAP8"/>
1168       <arg name="zoneId" type="INT8U" introducedIn="ha-1.2-05-3520-29"/>
1169       <arg name="delay" type="INT16U" introducedIn="ha-1.2-05-3520-29"/>
1170     </command>
1171     <command source="server" code="0x01" name="ZoneEnrollRequest" optional="false" cli="zcl ias-zone enroll">
1172       <description>
1173         Command description for zoneEnrollRequest
1174       </description>
1175       <arg name="zoneType" type="IasZoneType"/>
1176       <arg name="manufacturerCode" type="INT16U"/>
1177     </command>
1178     <command source="server" code="0x02" name="InitiateNormalOperationModeResponse" optional="true" disableDefaultResponse="true">
1179       <description>
1180         Confirms that the IAS Zone server has commenced normal operation mode.
1181       </description>
1182     </command>
1183     <command source="server" code="0x03" name="InitiateTestModeResponse" optional="true" disableDefaultResponse="true">
1184       <description>
1185         Confirms that the IAS Zone server has commenced test mode and that the IAS Zone client should treat any Zone Status Change Notification commands received from the sending IAS Zone server as being in response to test events.
1186       </description>
1187     </command>
1188   </cluster>
1189   <cluster>
1190     <name>IAS ACE</name>
1191     <domain>Security &amp; Safety</domain>
1192     <description>Attributes and commands for IAS Ancillary Control Equipment.</description>
1193     <code>0x0501</code>
1194     <define>IAS_ACE_CLUSTER</define>
1195     <client tick="false" init="false">true</client>
1196     <server tick="false" init="false">true</server>
1197     <command source="client" code="0x00" name="Arm" optional="false" cli="zcl ias-ace a">
1198       <description>
1199         Command description for Arm
1200       </description>
1201       <arg name="armMode" type="IasAceArmMode"/>
1202       <arg name="armDisarmCode" type="CHAR_STRING" introducedIn="ha-1.2-05-3520-29"/>
1203       <arg name="zoneId" type="INT8U" introducedIn="ha-1.2-05-3520-29"/>
1204     </command>
1205     <command source="client" code="0x01" name="Bypass" optional="false" cli="zcl ias-ace b">
1206       <description>
1207         Command description for Bypass
1208       </description>
1209       <arg name="numberOfZones" type="INT8U"/>
1210       <arg name="zoneIds" type="INT8U" array="true" countArg="numberOfZones"/>
1211       <arg name="armDisarmCode" type="CHAR_STRING" introducedIn="ha-1.2.1-05-3520-30"/>
1212     </command>
1213     <command source="client" code="0x02" name="Emergency" optional="false" cli="zcl ias-ace e">
1214       <description>
1215         Command description for Emergency
1216       </description>
1217     </command>
1218     <command source="client" code="0x03" name="Fire" optional="false" cli="zcl ias-ace f">
1219       <description>
1220         Command description for Fire
1221       </description>
1222     </command>
1223     <command source="client" code="0x04" name="Panic" optional="false" cli="zcl ias-ace p">
1224       <description>
1225         Command description for Panic
1226       </description>
1227     </command>
1228     <command source="client" code="0x05" name="GetZoneIdMap" optional="false" cli="zcl ias-ace getzm">
1229       <description>
1230         Command description for GetZoneIdMap
1231       </description>
1232     </command>
1233     <command source="client" code="0x06" name="GetZoneInformation" optional="false" cli="zcl ias-ace getzi">
1234       <description>
1235         Command description for GetZoneInformation
1236       </description>
1237       <arg name="zoneId" type="INT8U"/>
1238     </command>
1239     <command source="client" code="0x07" name="GetPanelStatus" optional="false" introducedIn="ha-1.2.1-05-3520-30">
1240       <description>
1241         Used by the ACE client to request an update to the status of the ACE server
1242       </description>
1243     </command>
1244     <command source="client" code="0x08" name="GetBypassedZoneList" optional="false" introducedIn="ha-1.2.1-05-3520-30">
1245       <description>
1246         Used by the ACE client to retrieve the bypassed zones
1247         </description>
1248     </command>
1249     <command source="client" code="0x09" name="GetZoneStatus" optional="false" introducedIn="ha-1.2.1-05-3520-30">
1250       <description>
1251         Used by the ACE client to request an update to the zone status of the ACE server
1252       </description>
1253       <arg name="startingZoneId" type="INT8U"/>
1254       <arg name="maxNumberOfZoneIds" type="INT8U"/>
1255       <arg name="zoneStatusMaskFlag" type="BOOLEAN"/>
1256       <arg name="zoneStatusMask" type="BITMAP16"/>
1257     </command>
1258     <command source="server" code="0x00" name="ArmResponse" optional="false" disableDefaultResponse="true">
1259       <description>
1260         Command description for ArmResponse
1261       </description>
1262       <arg name="armNotification" type="IasAceArmNotification"/>
1263     </command>
1264     <command source="server" code="0x01" name="GetZoneIdMapResponse" optional="false" disableDefaultResponse="true">
1265       <description>
1266         Command description for GetZoneIdMapResponse
1267       </description>
1268       <arg name="section0" type="BITMAP16"/>
1269       <arg name="section1" type="BITMAP16"/>
1270       <arg name="section2" type="BITMAP16"/>
1271       <arg name="section3" type="BITMAP16"/>
1272       <arg name="section4" type="BITMAP16"/>
1273       <arg name="section5" type="BITMAP16"/>
1274       <arg name="section6" type="BITMAP16"/>
1275       <arg name="section7" type="BITMAP16"/>
1276       <arg name="section8" type="BITMAP16"/>
1277       <arg name="section9" type="BITMAP16"/>
1278       <arg name="section10" type="BITMAP16"/>
1279       <arg name="section11" type="BITMAP16"/>
1280       <arg name="section12" type="BITMAP16"/>
1281       <arg name="section13" type="BITMAP16"/>
1282       <arg name="section14" type="BITMAP16"/>
1283       <arg name="section15" type="BITMAP16"/>
1284     </command>
1285     <command source="server" code="0x02" name="GetZoneInformationResponse" optional="false" disableDefaultResponse="true">
1286       <description>
1287         Command description for GetZoneInformationResponse
1288       </description>
1289       <arg name="zoneId" type="INT8U"/>
1290       <arg name="zoneType" type="IasZoneType"/>
1291       <arg name="ieeeAddress" type="IEEE_ADDRESS"/>
1292       <arg name="zoneLabel" type="CHAR_STRING" introducedIn="ha-1.2.1-05-3520-30"/>
1293     </command>
1294     <command source="server" code="0x03" name="ZoneStatusChanged" optional="false">
1295       <description>
1296         This command updates ACE clients in the system of changes to zone status recorded by the ACE server (e.g., IAS CIE device).
1297       </description>
1298       <arg name="zoneId" type="INT8U"/>
1299       <arg name="zoneStatus" type="ENUM16"/>
1300       <arg name="audibleNotification" type="IasAceAudibleNotification" introducedIn="ha-1.2.1-05-3520-30"/>
1301       <arg name="zoneLabel" type="CHAR_STRING" introducedIn="ha-1.2.1-05-3520-30"/>
1302     </command>
1303     <command source="server" code="0x04" name="PanelStatusChanged" optional="false">
1304       <description>
1305         This command updates ACE clients in the system of changes to panel status recorded by the ACE server (e.g., IAS CIE device).
1306       </description>
1307       <arg name="panelStatus" type="IasAcePanelStatus"/>
1308       <arg name="secondsRemaining" type="INT8U"/>
1309       <arg name="audibleNotification" type="IasAceAudibleNotification" introducedIn="ha-1.2.1-05-3520-30"/>
1310       <arg name="alarmStatus" type="IasAceAlarmStatus" introducedIn="ha-1.2.1-05-3520-30"/>
1311     </command>
1312     <command source="server" code="0x05" name="GetPanelStatusResponse" optional="false" introducedIn="ha-1.2.1-05-3520-30" disableDefaultResponse="true">
1313       <description>
1314         Command updates requesting IAS ACE clients in the system of changes to the security panel status recorded by the ACE server.
1315       </description>
1316       <arg name="panelStatus" type="IasAcePanelStatus"/>
1317       <arg name="secondsRemaining" type="INT8U"/>
1318       <arg name="audibleNotification" type="IasAceAudibleNotification"/>
1319       <arg name="alarmStatus" type="IasAceAlarmStatus"/>
1320     </command>
1321     <command source="server" code="0x06" name="SetBypassedZoneList" optional="false" introducedIn="ha-1.2.1-05-3520-30">
1322       <description>
1323        Sets the list of bypassed zones on the IAS ACE client
1324       </description>
1325       <arg name="numberOfZones" type="INT8U"/>
1326       <arg name="zoneIds" type="INT8U" array="true"/>
1327     </command>
1328     <command source="server" code="0x07" name="BypassResponse" optional="false" introducedIn="ha-1.2.1-05-3520-30" disableDefaultResponse="true">
1329       <description>
1330         Provides the response of the security panel to the request from the IAS ACE client to bypass zones via a Bypass command.
1331       </description>
1332       <arg name="numberOfZones" type="INT8U"/>
1333       <arg name="bypassResult" type="IasAceBypassResult" array="true"/>
1334     </command>
1335     <command source="server" code="0x08" name="GetZoneStatusResponse" optional="false" introducedIn="ha-1.2.1-05-3520-30" disableDefaultResponse="true">
1336       <description>
1337         This command updates requesting IAS ACE clients in the system of changes to the IAS Zone server statuses recorded by the ACE server (e.g., IAS CIE device).
1338       </description>
1339       <arg name="zoneStatusComplete" type="BOOLEAN"/>
1340       <arg name="numberOfZones" type="INT8U"/>
1341       <arg name="zoneStatusResult" type="IasAceZoneStatusResult" array="true"/>
1342     </command>
1343   </cluster>
1344   <cluster>
1345     <name>IAS WD</name>
1346     <domain>Security &amp; Safety</domain>
1347     <description>Attributes and commands for IAS Warning Devices.</description>
1348     <code>0x0502</code>
1349     <define>IAS_WD_CLUSTER</define>
1350     <client tick="false" init="false">true</client>
1351     <server tick="false" tickFrequency="quarter" init="false">true</server>
1352     <globalAttribute side="either" code="0xFFFD" value="2"/>
1353     <attribute side="server" code="0x0000" define="MAX_DURATION" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="240" optional="false">max duration</attribute>
1354     <command source="client" code="0x00" name="StartWarning" optional="false">
1355       <description>
1356         Command description for StartWarning
1357       </description>
1358       <arg name="warningInfo" type="WarningInfo"/>
1359       <arg name="warningDuration" type="INT16U"/>
1360       <arg name="strobeDutyCycle" type="INT8U" introducedIn="ha-1.2-05-3520-29"/>
1361       <arg name="strobeLevel" type="ENUM8" introducedIn="ha-1.2-05-3520-29"/>
1362     </command>
1363     <command source="client" code="0x01" name="Squawk" optional="false">
1364       <description>
1365         Command description for Squawk
1366       </description>
1367       <arg name="squawkInfo" type="SquawkInfo"/>
1368     </command>
1369   </cluster>
1370   <cluster>
1371     <name>Door Lock</name>
1372     <domain>Closures</domain>
1373     <description>Provides an interface into a generic way to secure a door. </description>
1374     <code>0x0101</code>
1375     <define>DOOR_LOCK_CLUSTER</define>
1376     <client tick="false" init="false">true</client>
1377     <server tick="false" init="false">true</server>
1378     <globalAttribute side="either" code="0xFFFD" value="3"/>
1379     <attribute side="server" code="0x0000" define="LOCK_STATE" type="ENUM8" writable="false" reportable="true" optional="false">lock state</attribute>
1380     <attribute side="server" code="0x0001" define="LOCK_TYPE" type="ENUM8" writable="false" optional="false">lock type</attribute>
1381     <attribute side="server" code="0x0002" define="ACTUATOR_ENABLED" type="BOOLEAN" writable="false" optional="false">actuator enabled</attribute>
1382     <attribute side="server" code="0x0003" define="DOOR_STATE" type="ENUM8" writable="false" reportable="true" optional="true">door state</attribute>
1383     <attribute side="server" code="0x0004" define="DOOR_OPEN_EVENTS" type="INT32U" writable="true" optional="true">door open events</attribute>
1384     <attribute side="server" code="0x0005" define="DOOR_CLOSED_EVENTS" type="INT32U" writable="true" optional="true">door closed events</attribute>
1385     <attribute side="server" code="0x0006" define="OPEN_PERIOD" type="INT16U" writable="true" optional="true">open period</attribute>
1386     <attribute side="server" code="0x0010" define="NUM_LOCK_RECORDS_SUPPORTED" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">num lock records supported</attribute>
1387     <attribute side="server" code="0x0011" define="NUM_TOTAL_USERS_SUPPORTED" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">num total users supported</attribute>
1388     <attribute side="server" code="0x0012" define="NUM_PIN_USERS_SUPPORTED" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">num PIN users supported</attribute>
1389     <attribute side="server" code="0x0013" define="NUM_RFID_USERS_SUPPORTED" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">num RFID users supported</attribute>
1390     <attribute side="server" code="0x0014" define="NUM_WEEKDAY_SCHEDULES_SUPPORTED_PER_USER" type="INT8U" min="0x0000" max="0xFF" writable="false" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">num weekday schedules supported per user</attribute>
1391     <attribute side="server" code="0x0015" define="NUM_YEARDAY_SCHEDULES_SUPPORTED_PER_USER" type="INT8U" min="0x0000" max="0xFF" writable="false" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">num yearday schedules supported per user</attribute>
1392     <attribute side="server" code="0x0016" define="NUM_HOLIDAY_SCHEDULES_SUPPORTED_PER_USER" type="INT8U" min="0x0000" max="0xFF" writable="false" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">num holiday schedules supported per user</attribute>
1393     <attribute side="server" code="0x0017" define="MAX_PIN_LENGTH" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x08" optional="true" introducedIn="ha-1.2-05-3520-29">max pin length</attribute>
1394     <attribute side="server" code="0x0018" define="MIN_PIN_LENGTH" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x04" optional="true" introducedIn="ha-1.2-05-3520-29">min pin length</attribute>
1395     <attribute side="server" code="0x0019" define="MAX_RFID_CODE_LENGTH" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x14" optional="true" introducedIn="ha-1.2-05-3520-29">max rfid code length</attribute>
1396     <attribute side="server" code="0x001A" define="MIN_RFID_CODE_LENGTH" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x08" optional="true" introducedIn="ha-1.2-05-3520-29">min rfid code length</attribute>
1397     <attribute side="server" code="0x0020" define="ENABLE_LOGGING" type="BOOLEAN" min="0x00" max="0x01" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">enable logging</attribute>
1398     <attribute side="server" code="0x0021" define="LANGUAGE" type="CHAR_STRING" length="2" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">language</attribute>
1399     <attribute side="server" code="0x0022" define="LED_SETTINGS" type="INT8U" min="0x00" max="0x02" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">led settings</attribute>
1400     <attribute side="server" code="0x0023" define="AUTO_RELOCK_TIME" type="INT32U" min="0x00" max="0xFFFFFFFF" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">auto relock time</attribute>
1401     <attribute side="server" code="0x0024" define="SOUND_VOLUME" type="INT8U" min="0x00" max="0x02" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">sound volume</attribute>
1402     <attribute side="server" code="0x0025" define="OPERATING_MODE" type="ENUM8" min="0x00" max="0x05" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">operating mode</attribute>
1403     <attribute side="server" code="0x0026" define="SUPPORTED_OPERATING_MODES" type="BITMAP16" min="0x0000" max="0xFFFF" writable="false" default="0x01" optional="true" introducedIn="ha-1.2-05-3520-29">supported operating modes</attribute>
1404     <attribute side="server" code="0x0027" define="DEFAULT_CONFIGURATION_REGISTER" type="BITMAP16" min="0x0000" max="0xFFFF" writable="false" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">default configuration register</attribute>
1405     <attribute side="server" code="0x0028" define="ENABLE_LOCAL_PROGRAMMING" type="BOOLEAN" min="0x00" max="0x01" writable="true" reportable="true" default="0x01" optional="true" introducedIn="ha-1.2-05-3520-29">enable local programming</attribute>
1406     <attribute side="server" code="0x0029" define="ENABLE_ONE_TOUCH_LOCKING" type="BOOLEAN" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">enable one touch locking</attribute>
1407     <attribute side="server" code="0x002A" define="ENABLE_INSIDE_STATUS_LED" type="BOOLEAN" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">enable inside status led</attribute>
1408     <attribute side="server" code="0x002B" define="ENABLE_PRIVACY_MODE_BUTTON" type="BOOLEAN" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">enable privacy mode button</attribute>
1409     <attribute side="server" code="0x0030" define="WRONG_CODE_ENTRY_LIMIT" type="INT8U" min="0x00" max="0xFF" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">wrong code entry limit</attribute>
1410     <attribute side="server" code="0x0031" define="USER_CODE_TEMPORARY_DISABLE_TIME" type="INT8U" min="0x00" max="0xFF" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">user code temporary disable time</attribute>
1411     <attribute side="server" code="0x0032" define="SEND_PIN_OVER_THE_AIR" type="BOOLEAN" min="0x00" max="0x01" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">send pin over the air</attribute>
1412     <attribute side="server" code="0x0033" define="REQUIRE_PIN_FOR_RF_OPERATION" type="BOOLEAN" min="0x00" max="0x01" writable="true" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">require pin for rf operation</attribute>
1413     <attribute side="server" code="0x0034" define="ZIGBEE_SECURITY_LEVEL" type="ENUM8" min="0x00" max="0xFF" writable="false" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">zigbee security level</attribute>
1414     <attribute side="server" code="0x0040" define="DOOR_LOCK_ALARM_MASK" type="BITMAP16" min="0x0000" max="0xFFFF" writable="true" reportable="true" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">alarm mask</attribute>
1415     <attribute side="server" code="0x0041" define="KEYPAD_OPERATION_EVENT_MASK" type="BITMAP16" min="0x0000" max="0xFFFF" writable="true" reportable="true" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">keypad operation event mask</attribute>
1416     <attribute side="server" code="0x0042" define="RF_OPERATION_EVENT_MASK" type="BITMAP16" min="0x0000" max="0xFFFF" writable="true" reportable="true" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">RF operation event mask</attribute>
1417     <attribute side="server" code="0x0043" define="MANUAL_OPERATION_EVENT_MASK" type="BITMAP16" min="0x0000" max="0xFFFF" writable="true" reportable="true" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">manual operation event mask</attribute>
1418     <attribute side="server" code="0X0044" define="RFID_OPERATION_EVENT_MASK" type="BITMAP16" min="0x0000" max="0xFFFF" writable="true" reportable="true" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">rfid operation event mask</attribute>
1419     <attribute side="server" code="0x0045" define="KEYPAD_PROGRAMMING_EVENT_MASK" type="BITMAP16" min="0x0000" max="0xFFFF" writable="true" reportable="true" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">keypad programming event mask</attribute>
1420     <attribute side="server" code="0X0046" define="RF_PROGRAMMING_EVENT_MASK" type="BITMAP16" min="0x0000" max="0xFFFF" writable="true" reportable="true" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">rf programming event mask</attribute>
1421     <attribute side="server" code="0X0047" define="RFID_PROGRAMMING_EVENT_MASK" type="BITMAP16" min="0x0000" max="0xFFFF" writable="true" reportable="true" default="0x0000" optional="true" introducedIn="ha-1.2-05-3520-29">rfid programming event mask</attribute>
1422     <command source="client" code="0x00" name="LockDoor" optional="false" cli="zcl lock lock">
1423       <description>
1424         Locks the door
1425       </description>
1426       <arg name="PIN" type="CHAR_STRING" introducedIn="ha-1.2-05-3520-29"/>
1427     </command>
1428     <command source="client" code="0x01" name="UnlockDoor" optional="false" cli="zcl lock unlock">
1429       <description>
1430         Unlocks the door
1431       </description>
1432       <arg name="PIN" type="CHAR_STRING" introducedIn="ha-1.2-05-3520-29"/>
1433     </command>
1434     <command source="client" code="0x02" name="Toggle" optional="true" introducedIn="ha-1.2-05-3520-29">
1435       <description>
1436          Toggles the door lock from its current state to the opposite state locked or unlocked.
1437        </description>
1438       <arg name="pin" type="CHAR_STRING" introducedIn="ha-1.2-05-3520-29"/>
1439     </command>
1440     <command source="client" code="0x03" name="UnlockWithTimeout" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock unlock-with-timeout">
1441       <description>
1442          Unlock the door with a timeout. When the timeout expires, the door will automatically re-lock.
1443        </description>
1444       <arg name="timeoutInSeconds" type="INT16U"/>
1445       <arg name="pin" type="CHAR_STRING" introducedIn="ha-1.2-05-3520-29"/>
1446     </command>
1447     <command source="client" code="0x04" name="GetLogRecord" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock get-log-record">
1448       <description>
1449          Retrieve a log record at a specified index.
1450        </description>
1451       <arg name="logIndex" type="INT16U"/>
1452     </command>
1453     <command source="client" code="0x05" name="SetPin" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock set-pin">
1454       <description>
1455          Set the PIN for a specified user id.
1456        </description>
1457       <arg name="userId" type="INT16U"/>
1458       <arg name="userStatus" type="DoorLockUserStatus"/>
1459       <arg name="userType" type="DoorLockUserType"/>
1460       <arg name="pin" type="CHAR_STRING"/>
1461     </command>
1462     <command source="client" code="0x06" name="GetPin" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock get-pin">
1463       <description>
1464          Retrieve PIN information for a user with a specific user ID.
1465        </description>
1466       <arg name="userId" type="INT16U"/>
1467     </command>
1468     <command source="client" code="0x07" name="ClearPin" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock clear-pin">
1469       <description>
1470          Clear the PIN for a user with a specific user ID
1471        </description>
1472       <arg name="userId" type="INT16U"/>
1473     </command>
1474     <command source="client" code="0x08" name="ClearAllPins" optional="true" introducedIn="ha-1.2-05-3520-29">
1475       <description>
1476          Clear all PIN codes on the lock for all users.
1477        </description>
1478     </command>
1479     <command source="client" code="0x09" name="SetUserStatus" optional="true" introducedIn="ha-1.2-05-3520-29">
1480       <description>
1481          Set the status value for a specified user ID.
1482        </description>
1483       <arg name="userId" type="INT16U"/>
1484       <arg name="userStatus" type="INT8U"/>
1485     </command>
1486     <command source="client" code="0x0A" name="GetUserStatus" optional="true" introducedIn="ha-1.2-05-3520-29">
1487       <description>
1488          Retrieve the status byte for a specific user.
1489        </description>
1490       <arg name="userId" type="INT16U"/>
1491     </command>
1492     <command source="client" code="0x0B" name="SetWeekdaySchedule" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock set-weekday-schedule">
1493       <description>
1494          Set the schedule of days during the week that the associated user based on the user ID will have access to the lock and will be able to operate it.
1495        </description>
1496       <arg name="scheduleId" type="INT8U"/>
1497       <arg name="userId" type="INT16U"/>
1498       <arg name="daysMask" type="DoorLockDayOfWeek"/>
1499       <arg name="startHour" type="INT8U"/>
1500       <arg name="startMinute" type="INT8U"/>
1501       <arg name="endHour" type="INT8U"/>
1502       <arg name="endMinute" type="INT8U"/>
1503     </command>
1504     <command source="client" code="0x0C" name="GetWeekdaySchedule" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock get-weekday-schedule">
1505       <description>
1506          Retrieve a weekday schedule for doorlock user activation for a specific schedule id and user id.
1507        </description>
1508       <arg name="scheduleId" type="INT8U"/>
1509       <arg name="userId" type="INT16U"/>
1510     </command>
1511     <command source="client" code="0x0D" name="ClearWeekdaySchedule" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock clear-weekday-schedule">
1512       <description>
1513          Clear a weekday schedule for doorlock user activation for a specific schedule id and user id.
1514        </description>
1515       <arg name="scheduleId" type="INT8U"/>
1516       <arg name="userId" type="INT16U"/>
1517     </command>
1518     <command source="client" code="0x0E" name="SetYeardaySchedule" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock set-yearday-schedule">
1519       <description>
1520          Set a door lock user id activation schedule according to a specific absolute local start and end time
1521        </description>
1522       <arg name="scheduleId" type="INT8U"/>
1523       <arg name="userId" type="INT16U"/>
1524       <arg name="localStartTime" type="INT32U"/>
1525       <arg name="localEndTime" type="INT32U"/>
1526     </command>
1527     <command source="client" code="0x0F" name="GetYeardaySchedule" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock get-yearday-schedule">
1528       <description>
1529          Retrieve a yearday schedule for a specific scheduleId and userId
1530        </description>
1531       <arg name="scheduleId" type="INT8U"/>
1532       <arg name="userId" type="INT16U"/>
1533     </command>
1534     <command source="client" code="0x10" name="ClearYeardaySchedule" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock clear-yearday-schedule">
1535       <description>
1536          Clear a yearday schedule for a specific scheduleId and userId
1537        </description>
1538       <arg name="scheduleId" type="INT8U"/>
1539       <arg name="userId" type="INT16U"/>
1540     </command>
1541     <command source="client" code="0x11" name="SetHolidaySchedule" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock set-holiday-schedule">
1542       <description>
1543          Set the holiday schedule for a specific user
1544        </description>
1545       <arg name="scheduleId" type="INT8U"/>
1546       <arg name="localStartTime" type="INT32U"/>
1547       <arg name="localEndTime" type="INT32U"/>
1548       <arg name="operatingModeDuringHoliday" type="ENUM8"/>
1549     </command>
1550     <command source="client" code="0x12" name="GetHolidaySchedule" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock get-holiday-schedule">
1551       <description>
1552          Retrieve a holiday schedule for a specific scheduleId
1553        </description>
1554       <arg name="scheduleId" type="INT8U"/>
1555     </command>
1556     <command source="client" code="0x13" name="ClearHolidaySchedule" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock clear-holiday-schedule">
1557       <description>
1558          Clear a holiday schedule for a specific scheduleId
1559        </description>
1560       <arg name="scheduleId" type="INT8U"/>
1561     </command>
1562     <command source="client" code="0x14" name="SetUserType" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock set-user-type">
1563       <description>
1564          Set the type value for a user based on user ID.
1565        </description>
1566       <arg name="userId" type="INT16U"/>
1567       <arg name="userType" type="DoorLockUserType"/>
1568     </command>
1569     <command source="client" code="0x15" name="GetUserType" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock get-user-type">
1570       <description>
1571          Retrieve the type for a specific user based on the user ID.
1572        </description>
1573       <arg name="userId" type="INT16U"/>
1574     </command>
1575     <command source="client" code="0x16" name="SetRfid" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock set-rfid">
1576       <description>
1577          Set the PIN for a specified user id.
1578        </description>
1579       <arg name="userId" type="INT16U"/>
1580       <arg name="userStatus" type="DoorLockUserStatus"/>
1581       <arg name="userType" type="DoorLockUserType"/>
1582       <arg name="id" type="CHAR_STRING"/>
1583     </command>
1584     <command source="client" code="0x17" name="GetRfid" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock get-rfid">
1585       <description>
1586          Retrieve RFID ID information for a user with a specific user ID.
1587        </description>
1588       <arg name="userId" type="INT16U"/>
1589     </command>
1590     <command source="client" code="0x18" name="ClearRfid" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock clear-rfid">
1591       <description>
1592          Clear the RFID ID for a user with a specific user ID
1593        </description>
1594       <arg name="userId" type="INT16U"/>
1595     </command>
1596     <command source="client" code="0x19" name="ClearAllRfids" optional="true" introducedIn="ha-1.2-05-3520-29" cli="zcl lock clear-all-rfids">
1597       <description>
1598          Clear all RFID ID codes on the lock for all users.
1599        </description>
1600     </command>
1601     <command source="server" code="0x00" name="LockDoorResponse" optional="false" disableDefaultResponse="true">
1602       <description>
1603         Indicates lock success or failure
1604       </description>
1605       <arg name="status" type="INT8U"/>
1606     </command>
1607     <command source="server" code="0x01" name="UnlockDoorResponse" optional="false" disableDefaultResponse="true">
1608       <description>
1609         Indicates unlock success or failure
1610       </description>
1611       <arg name="status" type="INT8U"/>
1612     </command>
1613     <command source="server" code="0x02" name="ToggleResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1614       <description>
1615          Response provided to the toggle command, indicates whether the toggle was successful or not.
1616        </description>
1617       <arg name="status" type="INT8U"/>
1618     </command>
1619     <command source="server" code="0x03" name="UnlockWithTimeoutResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1620       <description>
1621          Response provided to unlock with specific timeout. This command indicates whether the unlock command was successful or not.
1622        </description>
1623       <arg name="status" type="INT8U"/>
1624     </command>
1625     <command source="server" code="0x04" name="GetLogRecordResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1626       <description>
1627          Returns the specific log record requested.
1628        </description>
1629       <arg name="logEntryId" type="INT16U"/>
1630       <arg name="timestamp" type="INT32U"/>
1631       <arg name="eventType" type="ENUM8"/>
1632       <arg name="source" type="INT8U"/>
1633       <arg name="eventIdOrAlarmCode" type="INT8U"/>
1634       <arg name="userId" type="INT16U"/>
1635       <arg name="pin" type="CHAR_STRING"/>
1636     </command>
1637     <command source="server" code="0x05" name="SetPinResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1638       <description>
1639          Indicates whether the setting of the PIN was successful or not.
1640        </description>
1641       <arg name="status" type="DoorLockSetPinOrIdStatus"/>
1642     </command>
1643     <command source="server" code="0x06" name="GetPinResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1644       <description>
1645          Returns the PIN requested according to the user ID passed.
1646        </description>
1647       <arg name="userId" type="INT16U"/>
1648       <arg name="userStatus" type="DoorLockUserStatus"/>
1649       <arg name="userType" type="DoorLockUserType"/>
1650       <arg name="pin" type="CHAR_STRING"/>
1651     </command>
1652     <command source="server" code="0x07" name="ClearPinResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1653       <description>
1654          Returns success or failure depending on whether the PIN was cleared or not.
1655        </description>
1656       <arg name="status" type="INT8U"/>
1657     </command>
1658     <command source="server" code="0x08" name="ClearAllPinsResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1659       <description>
1660          Returns success or failure depending on whether the PINs were cleared or not.
1661        </description>
1662       <arg name="status" type="INT8U"/>
1663     </command>
1664     <command source="server" code="0x09" name="SetUserStatusResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1665       <description>
1666          Returns success or failure depending on whether the user status was set or not.
1667        </description>
1668       <arg name="status" type="INT8U"/>
1669     </command>
1670     <command source="server" code="0x0A" name="GetUserStatusResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1671       <description>
1672          Returns the user status.
1673        </description>
1674       <arg name="userId" type="INT16U"/>
1675       <arg name="status" type="INT8U"/>
1676     </command>
1677     <command source="server" code="0x0B" name="SetWeekdayScheduleResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1678       <description>
1679          Returns the status of setting the weekday schedule
1680        </description>
1681       <arg name="status" type="INT8U"/>
1682     </command>
1683     <command source="server" code="0x0C" name="GetWeekdayScheduleResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1684       <description>
1685          Returns the weekday schedule requested.
1686        </description>
1687       <arg name="scheduleId" type="INT8U"/>
1688       <arg name="userId" type="INT16U"/>
1689       <arg name="status" type="INT8U"/>
1690       <arg name="daysMask" type="INT8U" introducedIn="ha-1.2-05-3520-29"/>
1691       <arg name="startHour" type="INT8U" introducedIn="ha-1.2-05-3520-29"/>
1692       <arg name="startMinute" type="INT8U" introducedIn="ha-1.2-05-3520-29"/>
1693       <arg name="endHour" type="INT8U" introducedIn="ha-1.2-05-3520-29"/>
1694       <arg name="endMinute" type="INT8U" introducedIn="ha-1.2-05-3520-29"/>
1695     </command>
1696     <command source="server" code="0x0D" name="ClearWeekdayScheduleResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1697       <description>
1698          Returns the status of clearing the weekday schedule
1699        </description>
1700       <arg name="status" type="INT8U"/>
1701     </command>
1702     <command source="server" code="0x0E" name="SetYeardayScheduleResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1703       <description>
1704          Returns success or failure depending on whether the yearday schedule was set or not.
1705        </description>
1706       <arg name="status" type="INT8U"/>
1707     </command>
1708     <command source="server" code="0x0F" name="GetYeardayScheduleResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1709       <description>
1710          Returns the yearday schedule requested
1711        </description>
1712       <arg name="scheduleId" type="INT8U"/>
1713       <arg name="userId" type="INT16U"/>
1714       <arg name="status" type="INT8U"/>
1715       <arg name="localStartTime" type="INT32U" introducedIn="ha-1.2-05-3520-29"/>
1716       <arg name="localEndTime" type="INT32U" introducedIn="ha-1.2-05-3520-29"/>
1717     </command>
1718     <command source="server" code="0x10" name="ClearYeardayScheduleResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1719       <description>
1720          Returns success or failure depending on whether the yearday schedule was removed or not.
1721        </description>
1722       <arg name="status" type="INT8U"/>
1723     </command>
1724     <command source="server" code="0x11" name="SetHolidayScheduleResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1725       <description>
1726          Returns success or failure depending on whether the holiday schedule was set or not.
1727        </description>
1728       <arg name="status" type="INT8U"/>
1729     </command>
1730     <command source="server" code="0x12" name="GetHolidayScheduleResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1731       <description>
1732          Returns the holiday schedule requested
1733        </description>
1734       <arg name="scheduleId" type="INT8U"/>
1735       <arg name="status" type="INT8U"/>
1736       <arg name="localStartTime" type="INT32U" introducedIn="ha-1.2-05-3520-29"/>
1737       <arg name="localEndTime" type="INT32U" introducedIn="ha-1.2-05-3520-29"/>
1738       <arg name="operatingModeDuringHoliday" type="ENUM8" introducedIn="ha-1.2-05-3520-29"/>
1739     </command>
1740     <command source="server" code="0x13" name="ClearHolidayScheduleResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1741       <description>
1742          Returns success or failure depending on whether the holiday schedule was removed or not.
1743        </description>
1744       <arg name="status" type="INT8U"/>
1745     </command>
1746     <command source="server" code="0x14" name="SetUserTypeResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1747       <description>
1748          returns success or failure depending on whether the user type was set or not.
1749        </description>
1750       <arg name="status" type="INT8U"/>
1751     </command>
1752     <command source="server" code="0x15" name="GetUserTypeResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1753       <description>
1754          Returns the user type for the user ID requested.
1755        </description>
1756       <arg name="userId" type="INT16U"/>
1757       <arg name="userType" type="DoorLockUserType"/>
1758     </command>
1759     <command source="server" code="0x16" name="SetRfidResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1760       <description>
1761           Indicates whether the setting of the RFID ID was successful or not.
1762         </description>
1763       <arg name="status" type="DoorLockSetPinOrIdStatus"/>
1764     </command>
1765     <command source="server" code="0x17" name="GetRfidResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1766       <description>
1767          Returns the RFID ID requested according to the user ID passed.
1768        </description>
1769       <arg name="userId" type="INT16U"/>
1770       <arg name="userStatus" type="DoorLockUserStatus"/>
1771       <arg name="userType" type="DoorLockUserType"/>
1772       <arg name="rfid" type="CHAR_STRING"/>
1773     </command>
1774     <command source="server" code="0x18" name="ClearRfidResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1775       <description>
1776          Returns success or failure depending on whether the RFID ID was cleared or not.
1777        </description>
1778       <arg name="status" type="INT8U"/>
1779     </command>
1780     <command source="server" code="0x19" name="ClearAllRfidsResponse" optional="true" introducedIn="ha-1.2-05-3520-29" disableDefaultResponse="true">
1781       <description>
1782          Returns success or failure depending on whether the RFID IDs were cleared or not.
1783        </description>
1784       <arg name="status" type="INT8U"/>
1785     </command>
1786     <command source="server" code="0x20" name="OperationEventNotification" optional="true" introducedIn="ha-1.2-05-3520-29">
1787       <description>
1788          Indicates that an operation event has taken place. Includes the associated event information.
1789        </description>
1790       <arg name="source" type="INT8U"/>
1791       <arg name="eventCode" type="DoorLockOperationEventCode"/>
1792       <arg name="userId" type="INT16U"/>
1793       <arg name="pin" type="CHAR_STRING"/>
1794       <arg name="timeStamp" type="INT32U"/>
1795       <arg name="data" type="CHAR_STRING" introducedIn="ha-1.2-05-3520-29"/>
1796     </command>
1797     <command source="server" code="0x21" name="ProgrammingEventNotification" optional="true" introducedIn="ha-1.2-05-3520-29">
1798       <description>
1799          Indicates that a programming event has taken place. Includes the associated programming event information.
1800        </description>
1801       <arg name="source" type="INT8U"/>
1802       <arg name="eventCode" type="DoorLockProgrammingEventCode"/>
1803       <arg name="userId" type="INT16U"/>
1804       <arg name="pin" type="CHAR_STRING"/>
1805       <arg name="userType" type="DoorLockUserType"/>
1806       <arg name="userStatus" type="DoorLockUserStatus"/>
1807       <arg name="timeStamp" type="INT32U"/>
1808       <arg name="data" type="CHAR_STRING" introducedIn="ha-1.2-05-3520-29"/>
1809     </command>
1810   </cluster>
1811   <cluster>
1812     <name>Window Covering</name>
1813     <domain>Closures</domain>
1814     <description>Provides an interface for controlling and adjusting automatic window coverings. </description>
1815     <code>0x0102</code>
1816     <define>WINDOW_COVERING_CLUSTER</define>
1817     <client tick="false" init="false">true</client>
1818     <server tick="false" init="false">true</server>
1819     <globalAttribute side="either" code="0xFFFD" value="3"/>
1820     <attribute side="server" code="0x0000" define="COVERING_TYPE" type="ENUM8" min="0x00" max="0x09" writable="false" default="0x00" optional="false">window covering type</attribute>
1821     <attribute side="server" code="0x0001" define="LIMIT_LIFT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">physical closed limit - lift</attribute>
1822     <attribute side="server" code="0x0002" define="LIMIT_TILT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">physical closed limit - tilt</attribute>
1823     <attribute side="server" code="0x0003" define="CURRENT_LIFT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">current position - lift</attribute>
1824     <attribute side="server" code="0x0004" define="CURRENT_TILT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">current position - tilt</attribute>
1825     <attribute side="server" code="0x0005" define="NUMBER_LIFT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">number of actuations - lift</attribute>
1826     <attribute side="server" code="0x0006" define="NUMBER_TILT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">number of actuations - tilt</attribute>
1827     <attribute side="server" code="0x0007" define="CONFIG_STATUS" type="BITMAP8" min="0x00" max="0x7F" writable="false" default="0x03" optional="false">config status</attribute>
1828     <attribute side="server" code="0x0008" define="CURRENT_LIFT_PERCENTAGE" type="INT8U" min="0x00" max="0x64" writable="false" default="0xFF" optional="true">current position lift percentage</attribute>
1829     <attribute side="server" code="0x0009" define="CURRENT_TILT_PERCENTAGE" type="INT8U" min="0x00" max="0x64" writable="false" default="0xFF" optional="true">current position tilt percentage</attribute>
1830     <attribute side="server" code="0x0010" define="OPEN_LIMIT_LIFT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="false">installed open limit - lift</attribute>
1831     <attribute side="server" code="0x0011" define="CLOSED_LIMIT_LIFT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0xFFFF" optional="false">installed closed limit - lift</attribute>
1832     <attribute side="server" code="0x0012" define="OPEN_LIMIT_TILT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="false">installed open limit - tilt</attribute>
1833     <attribute side="server" code="0x0013" define="CLOSED_LIMIT_TILT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0xFFFF" optional="false">installed closed limit - tilt</attribute>
1834     <attribute side="server" code="0x0014" define="VELOCITY_LIFT" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">velocity - lift</attribute>
1835     <attribute side="server" code="0x0015" define="ACCELERATION_LIFT" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">acceleration time - lift</attribute>
1836     <attribute side="server" code="0x0016" define="DECELERATION_LIFT" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">deceleration time - lift</attribute>
1837     <attribute side="server" code="0x0017" define="MODE" type="BITMAP8" min="0x00" max="0xE0" writable="true" default="0x14" optional="false">mode</attribute>
1838     <attribute side="server" code="0x0018" define="SETPOINTS_LIFT" type="OCTET_STRING" length="254" writable="true" default="1,0x0000" optional="true">intermediate setpoints - lift</attribute>
1839     <attribute side="server" code="0x0019" define="SETPOINTS_TILT" type="OCTET_STRING" length="254" writable="true" default="1,0x0000" optional="true">intermediate setpoints - tilt</attribute>
1840     <command source="client" code="0x00" name="WindowCoveringUpOpen" optional="false" cli="zcl window-covering up">
1841       <description>
1842         Moves window covering to InstalledOpenLimit - Lift and InstalledOpenLimit - Tilt
1843       </description>
1844     </command>
1845     <command source="client" code="0x01" name="WindowCoveringDownClose" optional="false" cli="zcl window-covering down">
1846       <description>
1847         Moves window covering to InstalledClosedLimit - Lift and InstalledCloseLimit - Tilt
1848       </description>
1849     </command>
1850     <command source="client" code="0x02" name="WindowCoveringStop" optional="false" cli="zcl window-covering stop">
1851       <description>
1852         Stop any adjusting of window covering
1853       </description>
1854     </command>
1855     <command source="client" code="0x04" name="WindowCoveringGoToLiftValue" optional="true" cli="zcl window-covering go-to-lift-value">
1856       <description>
1857         Goto lift value specified
1858       </description>
1859       <arg name="liftValue" type="INT16U"/>
1860     </command>
1861     <command source="client" code="0x05" name="WindowCoveringGoToLiftPercentage" optional="true" cli="zcl window-covering go-to-lift-percent">
1862       <description>
1863         Goto lift percentage specified
1864       </description>
1865       <arg name="percentageLiftValue" type="INT8U"/>
1866     </command>
1867     <command source="client" code="0x07" name="WindowCoveringGoToTiltValue" optional="true" cli="zcl window-covering go-to-tilt-value">
1868       <description>
1869         Goto tilt value specified
1870       </description>
1871       <arg name="tiltValue" type="INT16U"/>
1872     </command>
1873     <command source="client" code="0x08" name="WindowCoveringGoToTiltPercentage" optional="true" cli="zcl window-covering go-to-tilt-percentage">
1874       <description>
1875         Goto tilt percentage specified
1876       </description>
1877       <arg name="percentageTiltValue" type="INT8U"/>
1878     </command>
1879   </cluster>
1880   <cluster>
1881     <name>Barrier Control</name>
1882     <domain>Closures</domain>
1883     <description>This cluster provides control of a barrier (garage door).</description>
1884     <code>0x0103</code>
1885     <define>BARRIER_CONTROL_CLUSTER</define>
1886     <client init="false" tick="false">true</client>
1887     <server init="false" tick="false">true</server>
1888     <attribute side="server" code="0x0001" define="BARRIER_MOVING_STATE" type="ENUM8" min="0x00" max="0xFF" writable="false" optional="false">barrier moving state</attribute>
1889     <attribute side="server" code="0x0002" define="BARRIER_SAFETY_STATUS" type="BITMAP16" min="0x0000" max="0xFFFF" writable="false" optional="false">barrier safety status</attribute>
1890     <attribute side="server" code="0x0003" define="BARRIER_CAPABILITIES" type="BITMAP8" min="0x00" max="0xFF" writable="false" optional="false">barrier capabilities</attribute>
1891     <attribute side="server" code="0x0004" define="BARRIER_OPEN_EVENTS" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier open events</attribute>
1892     <attribute side="server" code="0x0005" define="BARRIER_CLOSE_EVENTS" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier close events</attribute>
1893     <attribute side="server" code="0x0006" define="BARRIER_COMMAND_OPEN_EVENTS" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier command open events</attribute>
1894     <attribute side="server" code="0x0007" define="BARRIER_COMMAND_CLOSE_EVENTS" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier command close events</attribute>
1895     <attribute side="server" code="0x0008" define="BARRIER_OPEN_PERIOD" type="INT16U" min="0x0000" max="0xFFFE" writable="true" optional="true">barrier open period</attribute>
1896     <attribute side="server" code="0x0009" define="BARRIER_CLOSE_PERIOD" type="INT16U" min="0x0000" max="0xFFFE" writable="true" optional="true">barrier close period</attribute>
1897     <attribute side="server" code="0x000A" define="BARRIER_POSITION" type="INT8U" min="0x0000" max="0xFF" writable="false" optional="false">barrier position</attribute>
1898     <command source="client" code="0x00" name="BarrierControlGoToPercent" optional="false" cli="zcl barrier-control go-to-percent">
1899       <description>
1900         Command to instruct a barrier to go to a percent open state.
1901       </description>
1902       <arg name="percentOpen" type="INT8U"/>
1903     </command>
1904     <command source="client" code="0x01" name="BarrierControlStop" optional="false" cli="zcl barrier-control stop">
1905       <description>
1906         Command that instructs the barrier to stop moving.
1907       </description>
1908     </command>
1909   </cluster>
1910   <cluster introducedIn="ha-1.2-05-3520-29">
1911     <name>Appliance Control</name>
1912     <domain>General</domain>
1913     <description>This cluster provides an interface to remotely control and to program household appliances.</description>
1914     <code>0x001B</code>
1915     <define>APPLIANCE_CONTROL_CLUSTER</define>
1916     <client init="false" tick="false">true</client>
1917     <server init="false" tick="false">true</server>
1918     <attribute side="server" code="0x0000" define="START_TIME" type="INT16U" min="0x0000" max="0xFFFF" writable="false" reportable="true" default="0x0000" optional="false">start time</attribute>
1919     <attribute side="server" code="0x0001" define="FINISH_TIME" type="INT16U" min="0x0000" max="0xFFFF" writable="false" reportable="true" default="0x0000" optional="false">finish time</attribute>
1920     <attribute side="server" code="0x0002" define="REMAINING_TIME" type="INT16U" min="0x0000" max="0xFFFF" writable="false" reportable="true" default="0x0000" optional="true">remaining time</attribute>
1921     <command source="client" code="0x00" name="ExecutionOfACommand" optional="false">
1922       <description>
1923         This basic message is used to remotely control and to program household appliances.
1924       </description>
1925       <arg name="commandId" type="CommandIdentification"/>
1926     </command>
1927     <command source="client" code="0x01" name="SignalState" optional="false">
1928       <description>
1929         This basic message is used to retrieve Household Appliances status.
1930       </description>
1931     </command>
1932     <command source="client" code="0x02" name="WriteFunctions" optional="true">
1933       <description>
1934         This basic message is used to set appliance functions, i.e. information regarding the execution of an appliance cycle.  Condition parameters such as start time or finish time information could be provided through this command.
1935       </description>
1936       <arg name="functionId" type="INT16U"/>
1937       <arg name="functionDataType" type="ENUM8"/>
1938       <arg name="functionData" type="INT8U" array="true"/>
1939     </command>
1940     <command source="client" code="0x03" name="OverloadPauseResume" optional="true">
1941       <description>
1942         This command shall be used to resume the normal behavior of a household appliance being in pause mode after receiving a Overload Pause command.
1943       </description>
1944     </command>
1945     <command source="client" code="0x04" name="OverloadPause" optional="true">
1946       <description>
1947         This command shall be used to pause the household appliance as a consequence of an imminent overload event.
1948       </description>
1949     </command>
1950     <command source="client" code="0x05" name="OverloadWarning" optional="true">
1951       <description>
1952         This basic message is used to send warnings the household appliance as a consequence of a possible overload event, or the notification of the end of the warning state.
1953       </description>
1954       <arg name="warningEvent" type="WarningEvent"/>
1955     </command>
1956     <command source="server" code="0x00" name="SignalStateResponse" optional="false" disableDefaultResponse="true">
1957       <description>
1958         This command shall be used to return household appliance status, according to Appliance Status Values and Remote Enable Flags Values.
1959       </description>
1960       <arg name="applianceStatus" type="ApplianceStatus"/>
1961       <arg name="remoteEnableFlagsAndDeviceStatus2" type="RemoteEnableFlagsAndDeviceStatus2"/>
1962       <arg name="applianceStatus2" type="INT24U"/>
1963       <!-- optional -->
1964     </command>
1965     <command source="server" code="0x01" name="SignalStateNotification" optional="false">
1966       <description>
1967         This command shall be used to return household appliance status, automatically when appliance status changes.
1968       </description>
1969       <arg name="applianceStatus" type="ApplianceStatus"/>
1970       <arg name="remoteEnableFlagsAndDeviceStatus2" type="RemoteEnableFlagsAndDeviceStatus2"/>
1971       <arg name="applianceStatus2" type="INT24U"/>
1972       <!-- optional -->
1973     </command>
1974   </cluster>
1975   <cluster introducedIn="ha-1.2-05-3520-29">
1976     <name>Power Profile</name>
1977     <domain>General</domain>
1978     <description>This cluster provides an interface for transferring power profile information from a device (e.g. Whitegood) to a controller (e.g. the Home Gateway).  The Power Profile transferred can be solicited by client side (request command) or can be notified directly from the device (server side).</description>
1979     <code>0x001A</code>
1980     <define>POWER_PROFILE_CLUSTER</define>
1981     <client init="false" tick="false">true</client>
1982     <server init="false" tick="false">true</server>
1983     <attribute side="server" code="0x0000" define="TOTAL_PROFILE_NUM" type="INT8U" min="0x01" max="0xFE" writable="false" optional="false">total profile num</attribute>
1984     <attribute side="server" code="0x0001" define="MULTIPLE_SCHEDULING" type="BOOLEAN" min="0x00" max="0x01" writable="false" default="0x00" optional="false">multiple scheduling</attribute>
1985     <attribute side="server" code="0x0002" define="ENERGY_FORMATTING" type="BITMAP8" min="0x00" max="0xFF" writable="false" default="0x01" optional="false">energy formatting</attribute>
1986     <attribute side="server" code="0x0003" define="ENERGY_REMOTE" type="BOOLEAN" min="0x00" max="0x01" writable="false" reportable="true" default="0x00" optional="false">energy remote</attribute>
1987     <attribute side="server" code="0x0004" define="SCHEDULE_MODE" type="BITMAP8" min="0x00" max="0xFF" writable="true" reportable="true" default="0x00" optional="false">schedule mode</attribute>
1988     <command source="client" code="0x00" name="PowerProfileRequest" optional="false" cli="zcl power-profile profile">
1989       <description>
1990         The PowerProfileRequest Command is generated by a device supporting the client side of the Power Profile cluster in order to request the Power Profile of a server device.
1991       </description>
1992       <arg name="powerProfileId" type="INT8U"/>
1993     </command>
1994     <command source="client" code="0x01" name="PowerProfileStateRequest" optional="false" cli="zcl power-profile state">
1995       <description>
1996         The PowerProfileStateRequest Command is generated in order to retrieve the identifiers of current Power Profiles.
1997       </description>
1998     </command>
1999     <command source="client" code="0x02" name="GetPowerProfilePriceResponse" optional="false" disableDefaultResponse="true">
2000       <description>
2001         The GetPowerProfilePriceResponse command allows a device (client) to communicate the cost associated to the selected Power Profile to another device (server) requesting it.
2002       </description>
2003       <arg name="powerProfileId" type="INT8U"/>
2004       <arg name="currency" type="INT16U"/>
2005       <arg name="price" type="INT32U"/>
2006       <arg name="priceTrailingDigit" type="INT8U"/>
2007     </command>
2008     <command source="client" code="0x03" name="GetOverallSchedulePriceResponse" optional="false" disableDefaultResponse="true">
2009       <description>
2010         The GetOverallSchedulePriceResponse command allows a device (client) to communicate the overall cost associated to all Power Profiles scheduled to another device (server) requesting it.
2011       </description>
2012       <arg name="currency" type="INT16U"/>
2013       <arg name="price" type="INT32U"/>
2014       <arg name="priceTrailingDigit" type="INT8U"/>
2015     </command>
2016     <command source="client" code="0x04" name="EnergyPhasesScheduleNotification" optional="false" cli="zcl power-profile energy-phases-schedule">
2017       <description>
2018         The EnergyPhasesScheduleNotification Command is generated by a device supporting the client side of the Power Profile cluster in order to schedule the start of the selected Power Profile and its phases.
2019       </description>
2020       <arg name="powerProfileId" type="INT8U"/>
2021       <arg name="numOfScheduledPhases" type="INT8U"/>
2022       <arg name="scheduledPhases" type="ScheduledPhase" array="true"/>
2023     </command>
2024     <command source="client" code="0x05" name="EnergyPhasesScheduleResponse" optional="false" disableDefaultResponse="true">
2025       <description>
2026         This command is generated by the client side of Power Profile cluster as a reply to the EnergyPhasesScheduleRequest command.
2027       </description>
2028       <arg name="powerProfileId" type="INT8U"/>
2029       <arg name="numOfScheduledPhases" type="INT8U"/>
2030       <arg name="scheduledPhases" type="ScheduledPhase" array="true"/>
2031     </command>
2032     <command source="client" code="0x06" name="PowerProfileScheduleConstraintsRequest" optional="false" cli="zcl power-profile schedule-constraints">
2033       <description>
2034         The PowerProfileScheduleConstraintsRequest Command is generated by a device supporting the client side of the Power Profile cluster in order to request the constraints -if set- of Power Profile of a client device, in order to set the proper boundaries for the scheduling when calculating the schedules.
2035       </description>
2036       <arg name="powerProfileId" type="INT8U"/>
2037     </command>
2038     <command source="client" code="0x07" name="EnergyPhasesScheduleStateRequest" optional="false" cli="zcl power-profile energy-phases-schedule-states">
2039       <description>
2040         The EnergyPhasesScheduleStateRequest  Command is generated by a device supporting the client side of the Power Profile cluster to check the states of the scheduling of a power profile, which is supported in the device implementing the server side of Power Profile cluster.
2041       </description>
2042       <arg name="powerProfileId" type="INT8U"/>
2043     </command>
2044     <command source="client" code="0x08" name="GetPowerProfilePriceExtendedResponse" optional="false" disableDefaultResponse="true">
2045       <description>
2046         The Get Power Profile Price Extended Response command allows a device (client) to communicate the cost associated to all Power Profiles scheduled to another device (server) requesting it according to the specific options contained in the Get Power Profile Price Extended Response.
2047       </description>
2048       <arg name="powerProfileId" type="INT8U"/>
2049       <arg name="currency" type="INT16U"/>
2050       <arg name="price" type="INT32U"/>
2051       <arg name="priceTrailingDigit" type="INT8U"/>
2052     </command>
2053     <command source="server" code="0x00" name="PowerProfileNotification" optional="false">
2054       <description>
2055         The PowerProfileNotification Command is generated by a device supporting the server side of the Power Profile cluster in order to send the information of the specific parameters (such as Peak power and others) belonging to each phase.
2056       </description>
2057       <arg name="totalProfileNum" type="INT8U"/>
2058       <arg name="powerProfileId" type="INT8U"/>
2059       <arg name="numOfTransferredPhases" type="INT8U"/>
2060       <arg name="transferredPhases" type="TransferredPhase" array="true"/>
2061     </command>
2062     <command source="server" code="0x01" name="PowerProfileResponse" optional="false" disableDefaultResponse="true">
2063       <description>
2064         This command is generated by the server side of Power Profile cluster as a reply to the PowerProfileRequest command.
2065       </description>
2066       <arg name="totalProfileNum" type="INT8U"/>
2067       <arg name="powerProfileId" type="INT8U"/>
2068       <arg name="numOfTransferredPhases" type="INT8U"/>
2069       <arg name="transferredPhases" type="TransferredPhase" array="true"/>
2070     </command>
2071     <command source="server" code="0x02" name="PowerProfileStateResponse" optional="false" disableDefaultResponse="true">
2072       <description>
2073         The PowerProfileStateResponse command allows a device (server) to communicate its current Power Profile(s) to another device (client) that previously requested them.
2074       </description>
2075       <arg name="powerProfileCount" type="INT8U"/>
2076       <arg name="powerProfileRecords" type="PowerProfileRecord" array="true"/>
2077     </command>
2078     <command source="server" code="0x03" name="GetPowerProfilePrice" optional="true">
2079       <description>
2080         The GetPowerProfilePrice Command is generated by the server (e.g. White goods) in order to retrieve the cost associated to a specific Power profile.
2081       </description>
2082       <arg name="powerProfileId" type="INT8U"/>
2083     </command>
2084     <command source="server" code="0x04" name="PowerProfilesStateNotification" optional="false">
2085       <description>
2086         The PowerProfileStateNotification Command is generated by the server (e.g. White goods) in order to update the state of the power profile and the current energy phase.
2087       </description>
2088       <arg name="powerProfileCount" type="INT8U"/>
2089       <arg name="powerProfileRecords" type="PowerProfileRecord" array="true"/>
2090     </command>
2091     <command source="server" code="0x05" name="GetOverallSchedulePrice" optional="true">
2092       <description>
2093         The GetOverallSchedulePrice Command is generated by the server (e.g. White goods) in order to retrieve the overall cost associated to all the Power Profiles scheduled by the scheduler (the device supporting the Power Profile cluster client side) for the next 24 hours.
2094       </description>
2095     </command>
2096     <command source="server" code="0x06" name="EnergyPhasesScheduleRequest" optional="false">
2097       <description>
2098         The EnergyPhasesScheduleRequest Command is generated by the server (e.g. White goods) in order to retrieve from the scheduler (e.g. Home Gateway) the schedule (if available) associated to the specific Power Profile carried in the payload.
2099       </description>
2100       <arg name="powerProfileId" type="INT8U"/>
2101     </command>
2102     <command source="server" code="0x07" name="EnergyPhasesScheduleStateResponse" optional="false" disableDefaultResponse="true">
2103       <description>
2104         The EnergyPhasesScheduleStateResponse Command is generated by the server (e.g. White goods) in order to reply to a EnergyPhasesScheduleStateRequest command about the scheduling states that are set in the server side.
2105       </description>
2106       <arg name="powerProfileId" type="INT8U"/>
2107       <arg name="numOfScheduledPhases" type="INT8U"/>
2108       <arg name="scheduledPhases" type="ScheduledPhase" array="true"/>
2109     </command>
2110     <command source="server" code="0x08" name="EnergyPhasesScheduleStateNotification" optional="false">
2111       <description>
2112         The EnergyPhasesScheduleStateNotification Command is generated by the server (e.g. White goods) in order to notify (un-solicited command) a client side about the scheduling states that are set in the server side.
2113       </description>
2114       <arg name="powerProfileId" type="INT8U"/>
2115       <arg name="numOfScheduledPhases" type="INT8U"/>
2116       <arg name="scheduledPhases" type="ScheduledPhase" array="true"/>
2117     </command>
2118     <command source="server" code="0x09" name="PowerProfileScheduleConstraintsNotification" optional="false">
2119       <description>
2120         The PowerProfileScheduleConstraintsNotification Command is generated by a device supporting the server side of the Power Profile cluster to notify the client side of this cluster about the imposed constraints and let the scheduler (i.e. the entity supporting the Power Profile cluster client side) to set the proper boundaries for the scheduling.
2121       </description>
2122       <arg name="powerProfileId" type="INT8U"/>
2123       <arg name="startAfter" type="INT16U"/>
2124       <arg name="stopBefore" type="INT16U"/>
2125     </command>
2126     <command source="server" code="0x0A" name="PowerProfileScheduleConstraintsResponse" optional="false" disableDefaultResponse="true">
2127       <description>
2128         The PowerProfileScheduleConstraintsResponse Command is generated by a device supporting the server side of the Power Profile cluster to reply to a client side of this cluster which sent a PowerProfileScheduleConstraintsRequest.
2129       </description>
2130       <arg name="powerProfileId" type="INT8U"/>
2131       <arg name="startAfter" type="INT16U"/>
2132       <arg name="stopBefore" type="INT16U"/>
2133     </command>
2134     <command source="server" code="0x0B" name="GetPowerProfilePriceExtended" optional="true">
2135       <description>
2136         The Get Power Profile Price Extended command is generated by the server (e.g., White Goods) in order to retrieve the cost associated to a specific Power profile considering specific conditions described in the option field (e.g., a specific time).
2137       </description>
2138       <arg name="options" type="BITMAP8"/>
2139       <arg name="powerProfileId" type="INT8U"/>
2140       <arg name="powerProfileStartTime" type="INT16U"/>
2141     </command>
2142   </cluster>
2143   <cluster introducedIn="ha-1.2-05-3520-29">
2144     <name>Poll Control</name>
2145     <domain>General</domain>
2146     <description>This cluster provides a mechanism for the management of an end device's MAC Data Poll rate.  For the purposes of this cluster, the term "poll" always refers to the sending of a MAC Data Poll from the end device to the end device's parent.</description>
2147     <code>0x0020</code>
2148     <define>POLL_CONTROL_CLUSTER</define>
2149     <client init="false" tick="false">true</client>
2150     <server init="false" tick="false">true</server>
2151     <globalAttribute side="either" code="0xFFFD" value="3"/>
2152     <attribute side="server" code="0x0000" define="CHECK_IN_INTERVAL" type="INT32U" min="0x00000000" max="0x006E0000" writable="true" default="0x00003840" optional="false">check-in interval</attribute>
2153     <attribute side="server" code="0x0001" define="LONG_POLL_INTERVAL" type="INT32U" min="0x00000004" max="0x006E0000" writable="false" default="0x00000014" optional="false">long poll interval</attribute>
2154     <attribute side="server" code="0x0002" define="SHORT_POLL_INTERVAL" type="INT16U" min="0x0001" max="0xFFFF" writable="false" default="0x0002" optional="false">short poll interval</attribute>
2155     <attribute side="server" code="0x0003" define="FAST_POLL_TIMEOUT" type="INT16U" min="0x0001" max="0xFFFF" writable="true" default="0x0028" optional="false">fast poll timeout</attribute>
2156     <attribute side="server" code="0x0004" define="CHECK_IN_INTERVAL_MIN" type="INT32U" writable="false" default="0x00000000" optional="true">check in interval min</attribute>
2157     <attribute side="server" code="0x0005" define="LONG_POLL_INTERVAL_MIN" type="INT32U" writable="false" default="0x00000000" optional="true">long poll interval min</attribute>
2158     <attribute side="server" code="0x0006" define="FAST_POLL_TIMEOUT_MAX" type="INT16U" writable="false" default="0x0000" optional="true">fast poll timeout max</attribute>
2159     <command source="server" code="0x00" name="CheckIn" optional="false">
2160       <description>
2161         The Poll Control Cluster server sends out a Check-in command to the devices to which it is paired based on the server's Check-in Interval attribute.
2162       </description>
2163     </command>
2164     <command source="client" code="0x00" name="CheckInResponse" optional="false" disableDefaultResponse="true">
2165       <description>
2166         The Check-in Response is sent in response to the receipt of a Check-in command.
2167       </description>
2168       <arg name="startFastPolling" type="BOOLEAN"/>
2169       <arg name="fastPollTimeout" type="INT16U"/>
2170     </command>
2171     <command source="client" code="0x01" name="FastPollStop" optional="false" cli="zcl poll-control stop">
2172       <description>
2173         The Fast Poll Stop command is used to stop the fast poll mode initiated by the Check-in response.
2174       </description>
2175     </command>
2176     <command source="client" code="0x02" name="SetLongPollInterval" optional="true" cli="zcl poll-control long">
2177       <description>
2178         The Set Long Poll Interval command is used to set the read only Long Poll Interval Attribute.
2179       </description>
2180       <arg name="newLongPollInterval" type="INT32U"/>
2181     </command>
2182     <command source="client" code="0x03" name="SetShortPollInterval" optional="true" cli="zcl poll-control short">
2183       <description>
2184         The Set Short Poll Interval command is used to set the read only Short Poll Interval Attribute.
2185       </description>
2186       <arg name="newShortPollInterval" type="INT16U"/>
2187     </command>
2188   </cluster>
2189   <cluster introducedIn="ha-1.2-05-3520-29">
2190     <name>Appliance Identification</name>
2191     <domain>Home Automation</domain>
2192     <description>Attributes and commands for determining basic information about a device and setting user device information.</description>
2193     <code>0x0B00</code>
2194     <define>APPLIANCE_IDENTIFICATION_CLUSTER</define>
2195     <client init="false" tick="false">true</client>
2196     <server init="false" tick="false">true</server>
2197     <attribute side="server" code="0x0000" define="BASIC_IDENTIFICATION" type="INT56U" writable="false" optional="false">basic identification</attribute>
2198     <attribute side="server" code="0x0010" define="APPLIANCE_COMPANY_NAME" type="CHAR_STRING" length="16" writable="false" optional="true">company name</attribute>
2199     <attribute side="server" code="0x0011" define="COMPANY_ID" type="INT16U" min="0x0000" max="0xFFFF" writable="false" optional="true">company id</attribute>
2200     <attribute side="server" code="0x0012" define="BRAND_NAME" type="CHAR_STRING" length="16" writable="false" optional="true">brand name</attribute>
2201     <attribute side="server" code="0x0013" define="BRAND_ID" type="INT16U" min="0x0000" max="0xFFFF" writable="false" optional="true">brand id</attribute>
2202     <attribute side="server" code="0x0014" define="APPLIANCE_MODEL" type="OCTET_STRING" length="16" writable="false" optional="true">model</attribute>
2203     <attribute side="server" code="0x0015" define="APPLIANCE_PART_NUMBER" type="OCTET_STRING" length="16" writable="false" optional="true">part number</attribute>
2204     <attribute side="server" code="0x0016" define="APPLIANCE_PRODUCT_REVISION" type="OCTET_STRING" length="6" writable="false" optional="true">product revision</attribute>
2205     <attribute side="server" code="0x0017" define="APPLIANCE_SOFTWARE_REVISION" type="OCTET_STRING" length="6" writable="false" optional="true">software revision</attribute>
2206     <attribute side="server" code="0x0018" define="PRODUCT_TYPE_NAME" type="OCTET_STRING" length="2" writable="false" optional="true">product type name</attribute>
2207     <attribute side="server" code="0x0019" define="PRODUCT_TYPE_ID" type="INT16U" min="0x0000" max="0xFFFF" writable="false" optional="true">product type id</attribute>
2208     <attribute side="server" code="0x001A" define="CECED_SPECIFICATION_VERSION" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">ceced specification version</attribute>
2209   </cluster>
2210   <!-- METER IDENTIFICATION -->
2211   <cluster introducedIn="ha-1.2-05-3520-29">
2212     <name>Meter Identification</name>
2213     <domain>Home Automation</domain>
2214     <description>This cluster provides Attributes and commands for determining advanced information about utility metering device.</description>
2215     <code>0x0B01</code>
2216     <define>METER_IDENTIFICATION_CLUSTER</define>
2217     <client init="false" tick="false">true</client>
2218     <server init="false" tick="false">true</server>
2219     <globalAttribute side="either" code="0xFFFD" value="2"/>
2220     <attribute side="server" code="0x0000" define="METER_COMPANY_NAME" type="CHAR_STRING" length="16" writable="false" optional="false">company name</attribute>
2221     <attribute side="server" code="0x0001" define="METER_TYPE_ID" type="INT16U" min="0x0000" max="0xFFFF" writable="false" optional="false">meter type id</attribute>
2222     <attribute side="server" code="0x0004" define="DATA_QUALITY_ID" type="INT16U" min="0x0000" max="0xFFFF" writable="false" optional="false">data quality id</attribute>
2223     <attribute side="server" code="0x0005" define="CUSTOMER_NAME" type="CHAR_STRING" length="16" writable="true" optional="true">customer name</attribute>
2224     <attribute side="server" code="0x0006" define="METER_MODEL" type="OCTET_STRING" length="16" writable="false" optional="true">model</attribute>
2225     <attribute side="server" code="0x0007" define="METER_PART_NUMBER" type="OCTET_STRING" length="16" writable="false" optional="true">part number</attribute>
2226     <attribute side="server" code="0x0008" define="METER_PRODUCT_REVISION" type="OCTET_STRING" length="6" writable="false" optional="true">product revision</attribute>
2227     <attribute side="server" code="0x000A" define="METER_SOFTWARE_REVISION" type="OCTET_STRING" length="6" writable="false" optional="true">software revision</attribute>
2228     <attribute side="server" code="0x000B" define="UTILITY_NAME" type="CHAR_STRING" length="16" writable="false" optional="true">utility name</attribute>
2229     <attribute side="server" code="0x000C" define="POD" type="CHAR_STRING" length="16" writable="false" optional="false">pod</attribute>
2230     <attribute side="server" code="0x000D" define="AVAILABLE_POWER" type="INT24S" min="0x000000" max="0xFFFFFF" writable="false" optional="false">available power</attribute>
2231     <attribute side="server" code="0x000E" define="POWER_THRESHOLD" type="INT24S" min="0x000000" max="0xFFFFFF" writable="false" optional="false">power threshold</attribute>
2232   </cluster>
2233   <cluster introducedIn="ha-1.2-05-3520-29">
2234     <name>Appliance Events and Alert</name>
2235     <domain>Home Automation</domain>
2236     <description>Attributes and commands for transmitting or notifying the occurrence of an event, such as "temperature reached" and of an alert such as alarm, fault or warning.</description>
2237     <code>0x0B02</code>
2238     <define>APPLIANCE_EVENTS_AND_ALERT_CLUSTER</define>
2239     <client init="false" tick="false">true</client>
2240     <server init="false" tick="false">true</server>
2241     <command source="client" code="0x00" name="GetAlerts" optional="false">
2242       <description>
2243         This basic message is used to retrieve Household Appliance current alerts.
2244       </description>
2245     </command>
2246     <command source="server" code="0x00" name="GetAlertsResponse" optional="false" disableDefaultResponse="true">
2247       <description>
2248         This message is used to return household appliance current alerts.
2249       </description>
2250       <arg name="alertsCount" type="AlertCount"/>
2251       <arg name="alertStructures" type="AlertStructure" array="true"/>
2252     </command>
2253     <command source="server" code="0x01" name="AlertsNotification" optional="false">
2254       <description>
2255         This message is used to notify the current modification of warning and/or fault conditions.
2256       </description>
2257       <arg name="alertsCount" type="AlertCount"/>
2258       <arg name="alertStructures" type="AlertStructure" array="true"/>
2259     </command>
2260     <command source="server" code="0x02" name="EventsNotification" optional="false">
2261       <description>
2262         This message is used to notify an event occurred during the normal working of the appliance.
2263       </description>
2264       <arg name="eventHeader" type="INT8U"/>
2265       <arg name="eventId" type="EventIdentification"/>
2266     </command>
2267   </cluster>
2268   <cluster introducedIn="ha-1.2-05-3520-29">
2269     <name>Appliance Statistics</name>
2270     <domain>Home Automation</domain>
2271     <description>
2272       This cluster provides a mechanism for the transmitting appliance statistics to a collection unit (gateway). The statistics can be in format of data logs. In case of statistic information that will not fit the single ZigBee payload, the Partition cluster should be used.
2273     </description>
2274     <code>0x0B03</code>
2275     <define>APPLIANCE_STATISTICS_CLUSTER</define>
2276     <client init="false" tick="false">true</client>
2277     <server init="false" tick="false">true</server>
2278     <attribute side="server" code="0x0000" define="LOG_MAX_SIZE" type="INT32U" writable="false" default="0x0000003C" optional="false">log max size</attribute>
2279     <attribute side="server" code="0x0001" define="LOG_QUEUE_MAX_SIZE" type="INT8U" writable="false" default="0x01" optional="false">log queue max size</attribute>
2280     <command source="server" code="0x00" name="LogNotification" optional="false">
2281       <description>
2282         The Appliance Statistics Cluster server occasionally sends out a Log Notification command to the devices to which it needs to log information related to statistics (e.g., home gateways) which implement the client side of Appliance Statistics Cluster.
2283       </description>
2284       <arg name="timeStamp" type="TIME_OF_DAY"/>
2285       <arg name="logId" type="INT32U"/>
2286       <arg name="logLength" type="INT32U"/>
2287       <arg name="logPayload" type="INT8U" array="true"/>
2288     </command>
2289     <command source="server" code="0x01" name="LogResponse" optional="false" disableDefaultResponse="true">
2290       <description>
2291         The Appliance Statistics Cluster server sends out a Log Response command to respond to a Log Request command generated by the client side of the Appliance Statistics cluster.
2292       </description>
2293       <arg name="timeStamp" type="TIME_OF_DAY"/>
2294       <arg name="logId" type="INT32U"/>
2295       <arg name="logLength" type="INT32U"/>
2296       <arg name="logPayload" type="INT8U" array="true"/>
2297     </command>
2298     <command source="server" code="0x02" name="LogQueueResponse" optional="false" disableDefaultResponse="true">
2299       <description>
2300         The Log Queue Response command is generated as a response to a LogQueueRequest command in order to notify the client side of the Appliance statistics cluster about the logs stored in the server side (queue) that can be retrieved by the client side of this cluster through a LogRequest command.
2301       </description>
2302       <arg name="logQueueSize" type="INT8U"/>
2303       <arg name="logIds" type="INT32U" array="true"/>
2304     </command>
2305     <command source="server" code="0x03" name="StatisticsAvailable" optional="false">
2306       <description>
2307         The Appliance Statistics Cluster server sends out a Statistic Available command to notify the client side of the Appliance Statistics cluster that there are statistics that can be retrieved by using the Log Request command.
2308       </description>
2309       <arg name="logQueueSize" type="INT8U"/>
2310       <arg name="logIds" type="INT32U" array="true"/>
2311     </command>
2312     <command source="client" code="0x00" name="LogRequest" optional="false">
2313       <description>
2314         The Log request command is sent from a device supporting the client side of the Appliance Statistics cluster (e.g., Home Gateway) to retrieve the log from the device supporting the server side (e.g., appliance).
2315       </description>
2316       <arg name="logId" type="INT32U"/>
2317     </command>
2318     <command source="client" code="0x01" name="LogQueueRequest" optional="false">
2319       <description>
2320         The Log Queue Request command is send from a device supporting the client side of the Appliance Statistics cluster (e.g. Home Gateway) to retrieve the information about the logs inserted in the queue, from the device supporting the server side (e.g. appliance).
2321       </description>
2322     </command>
2323   </cluster>
2324   <cluster introducedIn="ha-1.2-05-3520-29">
2325     <name>Electrical Measurement</name>
2326     <domain>Home Automation</domain>
2327     <description>Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need to provide instantaneous data as opposed to metrology data which should be retrieved from the metering cluster..</description>
2328     <code>0x0B04</code>
2329     <define>ELECTRICAL_MEASUREMENT_CLUSTER</define>
2330     <client init="false" tick="false">true</client>
2331     <server init="false" tick="false">true</server>
2332     <globalAttribute side="either" code="0xFFFD" value="3"/>
2333     <attribute side="server" code="0x0000" define="MEASUREMENT_TYPE" type="BITMAP32" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x000000" optional="true">measurement type</attribute>
2334     <attribute side="server" code="0x0100" define="DC_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc voltage</attribute>
2335     <attribute side="server" code="0x0101" define="DC_VOLTAGE_MIN" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc voltage min</attribute>
2336     <attribute side="server" code="0x0102" define="DC_VOLTAGE_MAX" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc voltage max</attribute>
2337     <attribute side="server" code="0x0103" define="DC_CURRENT" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc current</attribute>
2338     <attribute side="server" code="0x0104" define="DC_CURRENT_MIN" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc current min</attribute>
2339     <attribute side="server" code="0x0105" define="DC_CURRENT_MAX" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc current max</attribute>
2340     <attribute side="server" code="0x0106" define="DC_POWER" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc power</attribute>
2341     <attribute side="server" code="0x0107" define="DC_POWER_MIN" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc power min</attribute>
2342     <attribute side="server" code="0x0108" define="DC_POWER_MAX" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc power max</attribute>
2343     <attribute side="server" code="0x0200" define="DC_VOLTAGE_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc voltage multiplier</attribute>
2344     <attribute side="server" code="0x0201" define="DC_VOLTAGE_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc voltage divisor</attribute>
2345     <attribute side="server" code="0x0202" define="DC_CURRENT_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc current multiplier</attribute>
2346     <attribute side="server" code="0x0203" define="DC_CURRENT_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc current divisor</attribute>
2347     <attribute side="server" code="0x0204" define="DC_POWER_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc power multiplier</attribute>
2348     <attribute side="server" code="0x0205" define="DC_POWER_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc power divisor</attribute>
2349     <attribute side="server" code="0x0300" define="AC_FREQUENCY" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">ac frequency</attribute>
2350     <attribute side="server" code="0x0301" define="AC_FREQUENCY_MIN" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">ac frequency min</attribute>
2351     <attribute side="server" code="0x0302" define="AC_FREQUENCY_MAX" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">ac frequency max</attribute>
2352     <attribute side="server" code="0x0303" define="NEUTRAL_CURRENT" type="INT16U" min="0" max="0xFFFF" writable="false" default="0x0000" optional="true">neutral current</attribute>
2353     <attribute side="server" code="0x0304" define="TOTAL_ACTIVE_POWER" type="INT32S" min="0x800001" max="0x7FFFFF" writable="false" default="0x000000" optional="true">total active power</attribute>
2354     <attribute side="server" code="0x0305" define="TOTAL_REACTIVE_POWER" type="INT32S" min="0x800001" max="0x7FFFFF" writable="false" default="0x000000" optional="true">total reactive power</attribute>
2355     <attribute side="server" code="0x0306" define="TOTAL_APPARENT_POWER" type="INT32U" min="0" max="0xFFFFFF" writable="false" default="0x000001" optional="true">total apparent power</attribute>
2356     <attribute side="server" code="0x0307" define="MEASURED_1ST_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 1st harmonic current</attribute>
2357     <attribute side="server" code="0x0308" define="MEASURED_3RD_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 3rd harmonic current</attribute>
2358     <attribute side="server" code="0x0309" define="MEASURED_5TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 5th harmonic current</attribute>
2359     <attribute side="server" code="0x030A" define="MEASURED_7TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 7th harmonic current</attribute>
2360     <attribute side="server" code="0x030B" define="MEASURED_9TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 9th harmonic current</attribute>
2361     <attribute side="server" code="0x030C" define="MEASURED_11TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 11th harmonic current</attribute>
2362     <attribute side="server" code="0x030D" define="MEASURED_PHASE_1ST_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 1st harmonic current</attribute>
2363     <attribute side="server" code="0x030E" define="MEASURED_PHASE_3RD_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 3rd harmonic current</attribute>
2364     <attribute side="server" code="0x030F" define="MEASURED_PHASE_5TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 5th harmonic current</attribute>
2365     <attribute side="server" code="0x0310" define="MEASURED_PHASE_7TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 7th harmonic current</attribute>
2366     <attribute side="server" code="0x0311" define="MEASURED_PHASE_9TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 9th harmonic current</attribute>
2367     <attribute side="server" code="0x0312" define="MEASURED_PHASE_11TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 11th harmonic current</attribute>
2368     <attribute side="server" code="0x0400" define="AC_FREQUENCY_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac frequency multiplier</attribute>
2369     <attribute side="server" code="0x0401" define="AC_FREQUENCY_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac frequency divisor</attribute>
2370     <attribute side="server" code="0x0402" define="POWER_MULTIPLIER" type="INT32U" min="0" max="0xFFFFFF" writable="false" default="0x000001" optional="true">power multiplier</attribute>
2371     <attribute side="server" code="0x0403" define="POWER_DIVISOR" type="INT32U" min="0" max="0xFFFFFF" writable="false" default="0x000001" optional="true">power divisor</attribute>
2372     <attribute side="server" code="0x0404" define="HARMONIC_CURRENT_MULTIPLIER" type="INT8S" min="-127" max="127" writable="false" default="0x00" optional="true">harmonic current multiplier</attribute>
2373     <attribute side="server" code="0x0405" define="PHASE_HARMONIC_CURRENT_MULTIPLIER" type="INT8S" min="-127" max="127" writable="false" default="0x00" optional="true">phase harmonic current multiplier</attribute>
2374     <attribute side="server" code="0x0500" define="INSTANTANEOUS_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous voltage</attribute>
2375     <attribute side="server" code="0x0501" define="INSTANTANEOUS_LINE_CURRENT" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">instantaneous line current</attribute>
2376     <attribute side="server" code="0x0502" define="INSTANTANEOUS_ACTIVE_CURRENT" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous active current</attribute>
2377     <attribute side="server" code="0x0503" define="INSTANTANEOUS_REACTIVE_CURRENT" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous reactive current</attribute>
2378     <attribute side="server" code="0x0504" define="INSTANTANEOUS_POWER" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous power</attribute>
2379     <attribute side="server" code="0x0505" define="RMS_VOLTAGE" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms voltage</attribute>
2380     <attribute side="server" code="0x0506" define="RMS_VOLTAGE_MIN" type="INT16U" min="0" max="0xFFFF" writable="false" default="0x8000" optional="true">rms voltage min</attribute>
2381     <attribute side="server" code="0x0507" define="RMS_VOLTAGE_MAX" type="INT16U" min="0" max="0xFFFF" writable="false" default="0x8000" optional="true">rms voltage max</attribute>
2382     <attribute side="server" code="0x0508" define="RMS_CURRENT" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms current</attribute>
2383     <attribute side="server" code="0x0509" define="RMS_CURRENT_MIN" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms current min</attribute>
2384     <attribute side="server" code="0x050A" define="RMS_CURRENT_MAX" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms current max</attribute>
2385     <attribute side="server" code="0x050B" define="ACTIVE_POWER" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power</attribute>
2386     <attribute side="server" code="0x050C" define="ACTIVE_POWER_MIN" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power min</attribute>
2387     <attribute side="server" code="0x050D" define="ACTIVE_POWER_MAX" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power max</attribute>
2388     <attribute side="server" code="0x050E" define="REACTIVE_POWER" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive power</attribute>
2389     <attribute side="server" code="0x050F" define="APPARENT_POWER" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">apparent power</attribute>
2390     <attribute side="server" code="0x0510" define="AC_POWER_FACTOR" type="INT8S" min="-100" max="100" writable="false" default="0x00" optional="true">power factor</attribute>
2391     <attribute side="server" code="0x0511" define="AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">average rms voltage measurement period</attribute>
2392     <attribute side="server" code="0x0513" define="AVERAGE_RMS_UNDER_VOLTAGE_COUNTER" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">average rms under voltage counter</attribute>
2393     <attribute side="server" code="0x0514" define="RMS_EXTREME_OVER_VOLTAGE_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms extreme over voltage period</attribute>
2394     <attribute side="server" code="0x0515" define="RMS_EXTREME_UNDER_VOLTAGE_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms extreme under voltage period</attribute>
2395     <attribute side="server" code="0x0516" define="RMS_VOLTAGE_SAG_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms voltage sag period</attribute>
2396     <attribute side="server" code="0x0517" define="RMS_VOLTAGE_SWELL_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms voltage swell period</attribute>
2397     <attribute side="server" code="0x0600" define="AC_VOLTAGE_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac voltage multiplier</attribute>
2398     <attribute side="server" code="0x0601" define="AC_VOLTAGE_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac voltage divisor</attribute>
2399     <attribute side="server" code="0x0602" define="AC_CURRENT_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac current multiplier</attribute>
2400     <attribute side="server" code="0x0603" define="AC_CURRENT_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac current divisor</attribute>
2401     <attribute side="server" code="0x0604" define="AC_POWER_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac power multiplier</attribute>
2402     <attribute side="server" code="0x0605" define="AC_POWER_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac power divisor</attribute>
2403     <attribute side="server" code="0x0700" define="DC_OVERLOAD_ALARMS_MASK" type="BITMAP8" min="0x00" max="0xFF" writable="true" default="0x00" optional="true">overload alarms mask</attribute>
2404     <attribute side="server" code="0x0701" define="DC_VOLTAGE_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">voltage overload</attribute>
2405     <attribute side="server" code="0x0702" define="DC_CURRENT_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">current overload</attribute>
2406     <attribute side="server" code="0x0800" define="AC_OVERLOAD_ALARMS_MASK" type="BITMAP16" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">ac overload alarms mask</attribute>
2407     <attribute side="server" code="0x0801" define="AC_VOLTAGE_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac voltage overload</attribute>
2408     <attribute side="server" code="0x0802" define="AC_CURRENT_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac current overload</attribute>
2409     <attribute side="server" code="0x0803" define="AC_POWER_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac active power overload</attribute>
2410     <attribute side="server" code="0x0804" define="AC_REACTIVE_POWER_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac reactive power overload</attribute>
2411     <attribute side="server" code="0x0805" define="AVERAGE_RMS_OVER_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">average rms over voltage</attribute>
2412     <attribute side="server" code="0x0806" define="AVERAGE_RMS_UNDER_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">average rms under voltage</attribute>
2413     <attribute side="server" code="0x0807" define="RMS_EXTREME_OVER_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms extreme over voltage</attribute>
2414     <attribute side="server" code="0x0808" define="RMS_EXTREME_UNDER_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms extreme under voltage</attribute>
2415     <attribute side="server" code="0x0809" define="RMS_VOLTAGE_SAG" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms voltage sag</attribute>
2416     <attribute side="server" code="0x080A" define="RMS_VOLTAGE_SWELL" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms voltage swell</attribute>
2417     <attribute side="server" code="0x0901" define="LINE_CURRENT_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">line current phase b</attribute>
2418     <attribute side="server" code="0x0902" define="ACTIVE_CURRENT_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active current phase b</attribute>
2419     <attribute side="server" code="0x0903" define="REACTIVE_CURRENT_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive current phase b</attribute>
2420     <attribute side="server" code="0x0905" define="RMS_VOLTAGE_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage phase b</attribute>
2421     <attribute side="server" code="0x0906" define="RMS_VOLTAGE_MIN_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage min phase b</attribute>
2422     <attribute side="server" code="0x0907" define="RMS_VOLTAGE_MAX_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage max phase b</attribute>
2423     <attribute side="server" code="0x0908" define="RMS_CURRENT_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current phase b</attribute>
2424     <attribute side="server" code="0x0909" define="RMS_CURRENT_MIN_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current min phase b</attribute>
2425     <attribute side="server" code="0x090A" define="RMS_CURRENT_MAX_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current max phase b</attribute>
2426     <attribute side="server" code="0x090B" define="ACTIVE_POWER_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power phase b</attribute>
2427     <attribute side="server" code="0x090C" define="ACTIVE_POWER_MIN_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power min phase b</attribute>
2428     <attribute side="server" code="0x090D" define="ACTIVE_POWER_MAX_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power max phase b</attribute>
2429     <attribute side="server" code="0x090E" define="REACTIVE_POWER_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive power phase b</attribute>
2430     <attribute side="server" code="0x090F" define="APPARENT_POWER_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">apparent power phase b</attribute>
2431     <attribute side="server" code="0x0910" define="POWER_FACTOR_PHASE_B" type="INT8S" min="-100" max="100" writable="false" default="0x00" optional="true">power factor phase b</attribute>
2432     <attribute side="server" code="0x0911" define="AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms voltage measurement period phase b</attribute>
2433     <attribute side="server" code="0x0912" define="AVERAGE_RMS_OVER_VOLTAGE_COUNTER_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms over voltage counter phase b</attribute>
2434     <attribute side="server" code="0x0913" define="AVERAGE_RMS_UNDER_VOLTAGE_COUNTER_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms under voltage counter phase b</attribute>
2435     <attribute side="server" code="0x0914" define="RMS_EXTREME_OVER_VOLTAGE_PERIOD_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme over voltage period phase b</attribute>
2436     <attribute side="server" code="0x0915" define="RMS_EXTREME_UNDER_VOLTAGE_PERIOD_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme under voltage period phase b</attribute>
2437     <attribute side="server" code="0x0916" define="RMS_VOLTAGE_SAG_PERIOD_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage sag period phase b</attribute>
2438     <attribute side="server" code="0x0917" define="RMS_VOLTAGE_SWELL_PERIOD_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage swell period phase b</attribute>
2439     <attribute side="server" code="0x0A01" define="LINE_CURRENT_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">line current phase c</attribute>
2440     <attribute side="server" code="0x0A02" define="ACTIVE_CURRENT_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active current phase c</attribute>
2441     <attribute side="server" code="0x0A03" define="REACTIVE_CURRENT_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive current phase c</attribute>
2442     <attribute side="server" code="0x0A05" define="RMS_VOLTAGE_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage phase c</attribute>
2443     <attribute side="server" code="0x0A06" define="RMS_VOLTAGE_MIN_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage min phase c</attribute>
2444     <attribute side="server" code="0x0A07" define="RMS_VOLTAGE_MAX_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage max phase c</attribute>
2445     <attribute side="server" code="0x0A08" define="RMS_CURRENT_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current phase b</attribute>
2446     <attribute side="server" code="0x0A09" define="RMS_CURRENT_MIN_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current min phase c</attribute>
2447     <attribute side="server" code="0x0A0A" define="RMS_CURRENT_MAX_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current max phase c</attribute>
2448     <attribute side="server" code="0x0A0B" define="ACTIVE_POWER_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power phase c</attribute>
2449     <attribute side="server" code="0x0A0C" define="ACTIVE_POWER_MIN_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power min phase c</attribute>
2450     <attribute side="server" code="0x0A0D" define="ACTIVE_POWER_MAX_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power max phase c</attribute>
2451     <attribute side="server" code="0x0A0E" define="REACTIVE_POWER_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive power phase c</attribute>
2452     <attribute side="server" code="0x0A0F" define="APPARENT_POWER_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">apparent power phase c</attribute>
2453     <attribute side="server" code="0x0A10" define="POWER_FACTOR_PHASE_C" type="INT8S" min="-100" max="100" writable="false" default="0x00" optional="true">power factor phase c</attribute>
2454     <attribute side="server" code="0x0A11" define="AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms voltage measurement period phase c</attribute>
2455     <attribute side="server" code="0x0A12" define="AVERAGE_RMS_OVER_VOLTAGE_COUNTER_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms over voltage counter phase c</attribute>
2456     <attribute side="server" code="0x0A13" define="AVERAGE_RMS_UNDER_VOLTAGE_COUNTER_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms under voltage counter phase c</attribute>
2457     <attribute side="server" code="0x0A14" define="RMS_EXTREME_OVER_VOLTAGE_PERIOD_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme over voltage period phase c</attribute>
2458     <attribute side="server" code="0x0A15" define="RMS_EXTREME_UNDER_VOLTAGE_PERIOD_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme under voltage period phase c</attribute>
2459     <attribute side="server" code="0x0A16" define="RMS_VOLTAGE_SAG_PERIOD_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage sag period phase c</attribute>
2460     <attribute side="server" code="0x0A17" define="RMS_VOLTAGE_SWELL_PERIOD_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage swell period phase c</attribute>
2461     <command source="server" code="0x00" name="GetProfileInfoResponseCommand" optional="true" disableDefaultResponse="true">
2462       <description>
2463         A function which returns the power profiling information requested in the GetProfileInfo command. The power profiling information consists of a list of attributes which are profiled along with the period used to profile them.
2464       </description>
2465       <arg name="profileCount" type="INT8U"/>
2466       <arg name="profileIntervalPeriod" type="ENUM8"/>
2467       <arg name="maxNumberOfIntervals" type="INT8U"/>
2468       <arg name="listOfAttributes" type="INT16U" array="true"/>
2469     </command>
2470     <command source="server" code="0x01" name="GetMeasurementProfileResponseCommand" optional="true" disableDefaultResponse="true">
2471       <description>
2472         A function which returns the electricity measurement profile. The electricity measurement profile includes information regarding the amount of time used to capture data related to the flow of electricity as well as the intervals thes
2473       </description>
2474       <arg name="startTime" type="INT32U"/>
2475       <arg name="status" type="ENUM8"/>
2476       <arg name="profileIntervalPeriod" type="ENUM8"/>
2477       <arg name="numberOfIntervalsDelivered" type="INT8U"/>
2478       <arg name="attributeId" type="INT16U"/>
2479       <arg name="intervals" type="INT8U" array="true"/>
2480     </command>
2481     <command source="client" code="0x00" name="GetProfileInfoCommand" optional="true">
2482       <description>
2483         A function which retrieves the power profiling information from the electrical measurement server.
2484       </description>
2485     </command>
2486     <command source="client" code="0x01" name="GetMeasurementProfileCommand" optional="true">
2487       <description>
2488         A function which retrieves an electricity measurement profile from the electricity measurement server for a specific attribute Id requested.
2489       </description>
2490       <arg name="attributeId" type="INT16U"/>
2491       <arg name="startTime" type="INT32U"/>
2492       <arg name="numberOfIntervals" type="ENUM8"/>
2493     </command>
2494   </cluster>
2495   <cluster introducedIn="ha-1.2-05-3520-29">
2496     <name>Diagnostics</name>
2497     <domain>Home Automation</domain>
2498     <description>Attributes related to the gathering of diagnostic information from a stack.</description>
2499     <code>0x0B05</code>
2500     <define>DIAGNOSTICS_CLUSTER</define>
2501     <client init="false" tick="false">true</client>
2502     <server init="false" tick="false">true</server>
2503     <globalAttribute side="either" code="0xFFFD" value="3"/>
2504     <attribute side="server" code="0x0000" define="NUMBER_OF_RESETS" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">number of resets</attribute>
2505     <attribute side="server" code="0x0001" define="PERSISTENT_MEMORY_WRITES" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">persistent memory writes</attribute>
2506     <attribute side="server" code="0x0100" define="MAC_RX_BCAST" type="INT32U" min="0x0000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">mac rx broadcast</attribute>
2507     <attribute side="server" code="0x0101" define="MAC_TX_BCAST" type="INT32U" min="0x0000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">mac tx broadcast</attribute>
2508     <attribute side="server" code="0x0102" define="MAC_RX_UCAST" type="INT32U" min="0x0000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">mac rx unicast</attribute>
2509     <attribute side="server" code="0x0103" define="MAC_TX_UCAST" type="INT32U" min="0x0000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">mac tx unicast</attribute>
2510     <attribute side="server" code="0x0104" define="MAC_TX_UCAST_RETRY" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">mac tx unicast retry</attribute>
2511     <attribute side="server" code="0x0105" define="MAC_TX_UCAST_FAIL" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">mac tx unicast fail</attribute>
2512     <attribute side="server" code="0x0106" define="APS_RX_BCAST" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">aps rx broadcast</attribute>
2513     <attribute side="server" code="0x0107" define="APS_TX_BCAST" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">aps tx broadcast</attribute>
2514     <attribute side="server" code="0x0108" define="APS_RX_UCAST" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">aps rx unicast</attribute>
2515     <attribute side="server" code="0x0109" define="APS_UCAST_SUCCESS" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">aps unicast success</attribute>
2516     <attribute side="server" code="0x010A" define="APS_TX_UCAST_RETRY" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">aps tx unicast retries</attribute>
2517     <attribute side="server" code="0x010B" define="APS_TX_UCAST_FAIL" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">aps tx unicast failures</attribute>
2518     <attribute side="server" code="0x010C" define="ROUTE_DISC_INITIATED" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">route discovery initiated</attribute>
2519     <attribute side="server" code="0x010D" define="NEIGHBOR_ADDED" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">neighbor added</attribute>
2520     <attribute side="server" code="0x010E" define="NEIGHBOR_REMOVED" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">neighbor moved</attribute>
2521     <attribute side="server" code="0x010F" define="NEIGHBOR_STALE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">neighbor stale</attribute>
2522     <attribute side="server" code="0x0110" define="JOIN_INDICATION" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">join indication</attribute>
2523     <attribute side="server" code="0x0111" define="CHILD_MOVED" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">child moved</attribute>
2524     <attribute side="server" code="0x0112" define="NWK_FC_FAILURE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">network frame control failure</attribute>
2525     <attribute side="server" code="0x0113" define="APS_FC_FAILURE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">aps frame control failure</attribute>
2526     <attribute side="server" code="0x0114" define="APS_UNAUTHORIZED_KEY" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">aps unauthorized key</attribute>
2527     <attribute side="server" code="0x0115" define="NWK_DECRYPT_FAILURE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">network decryption failure</attribute>
2528     <attribute side="server" code="0x0116" define="APS_DECRYPT_FAILURE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">aps decryption failure</attribute>
2529     <attribute side="server" code="0x0117" define="PACKET_BUFFER_ALLOC_FAILURES" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">packet buffer allocation failures</attribute>
2530     <attribute side="server" code="0x0118" define="RELAYED_UNICAST" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">relayed unicasts</attribute>
2531     <attribute side="server" code="0x0119" define="PHY_TO_MAC_QUEUE_LIMIT_REACHED" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">phy to mac queue limit reached</attribute>
2532     <attribute side="server" code="0x011A" define="PACKET_VALIDATE_DROP_COUNT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">packet validate drop count</attribute>
2533     <attribute side="server" code="0x011B" define="AVERAGE_MAC_RETRY_PER_APS_MSG_SENT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">average mac retry per aps message sent</attribute>
2534     <attribute side="server" code="0x011C" define="LAST_MESSAGE_LQI" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x0000" optional="true">last message lqi</attribute>
2535     <attribute side="server" code="0x011D" define="LAST_MESSAGE_RSSI" type="INT8S" min="0x00" max="0xFF" writable="false" default="0x0000" optional="true">last message rssi</attribute>
2536   </cluster>
2537 </configurator>