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