| <?xml version="1.0"?> |
| <!-- |
| Copyright (c) 2023 Project CHIP Authors |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <configurator> |
| <domain name="HVAC"/> |
| |
| <bitmap name="Feature" type="BITMAP32"> |
| <cluster code="0x0202" /> |
| <field name="Multi-Speed" mask="0x01" /> |
| <field name="Auto" mask="0x02" /> |
| <field name="Rocking" mask="0x04" /> |
| <field name="Wind" mask="0x08" /> |
| <field name="Step" mask="0x10" /> |
| <field name="Airflow Direction" mask="0x20" /> |
| </bitmap> |
| |
| <enum name="FanModeType" type="ENUM8"> |
| <cluster code="0x0202"/> |
| <item name="Off" value="0x00"/> |
| <item name="Low" value="0x01"/> |
| <item name="Medium" value="0x02"/> |
| <item name="High" value="0x03"/> |
| <item name="On" value="0x04"/> |
| <item name="Auto" value="0x05"/> |
| <item name="Smart" value="0x06"/> |
| </enum> |
| |
| <enum name="FanModeSequenceType" type="ENUM8"> |
| <cluster code="0x0202"/> |
| <item name="Off/Low/Med/High" value="0x00"/> |
| <item name="Off/Low/High" value="0x01"/> |
| <item name="Off/Low/Med/High/Auto" value="0x02"/> |
| <item name="Off/Low/High/Auto" value="0x03"/> |
| <item name="Off/On/Auto" value="0x04"/> |
| <item name="Off/On" value="0x05"/> |
| </enum> |
| |
| <bitmap name="RockSupportMask" type="BITMAP8"> |
| <cluster code="0x0202" /> |
| <field name="RockLeftRight" mask="0x01" /> |
| <field name="RockUpDown" mask="0x02" /> |
| <field name="RockRound" mask="0x04" /> |
| </bitmap> |
| |
| <bitmap name="WindSupportMask" type="BITMAP8"> |
| <cluster code="0x0202" /> |
| <field name="Sleep Wind" mask="0x01" /> |
| <field name="Natural Wind" mask="0x02" /> |
| </bitmap> |
| |
| <bitmap name="WindSettingMask" type="BITMAP8"> |
| <cluster code="0x0202" /> |
| <field name="Sleep Wind" mask="0x01" /> |
| <field name="Natural Wind" mask="0x02" /> |
| </bitmap> |
| |
| <enum name="DirectionEnum" type="ENUM8"> |
| <cluster code="0x0202"/> |
| <item name="Increase" value="0x00"/> |
| <item name="Decrease" value="0x01"/> |
| </enum> |
| |
| <enum name="AirflowDirectionEnum" type="ENUM8"> |
| <cluster code="0x0202"/> |
| <item name="Forward" value="0x00"/> |
| <item name="Reverse" value="0x01"/> |
| </enum> |
| |
| <cluster> |
| <name>Fan Control</name> |
| <domain>HVAC</domain> |
| <description>An interface for controlling a fan in a heating/cooling system.</description> |
| <code>0x0202</code> |
| <define>FAN_CONTROL_CLUSTER</define> |
| |
| <client tick="false" init="false">true</client> |
| <server tick="false" init="false">true</server> |
| |
| <attribute side="server" code="0x0000" define="FAN_MODE" type="FanModeType" min="0" max="6" writable="true" default="0" optional="false">FanMode</attribute> |
| <attribute side="server" code="0x0001" define="FAN_MODE_SEQUENCE" type="FanModeSequenceType" min="0" max="5" writable="true" default="2" optional="false">FanModeSequence</attribute> |
| <attribute side="server" code="0x0002" define="PERCENT_SETTING" type="INT8U" min="0" max="100" writable="true" default="0" isNullable="true" optional="false">PercentSetting</attribute> |
| <attribute side="server" code="0x0003" define="PERCENT_CURRENT" type="INT8U" min="0" max="100" writable="false" default="0" optional="false">PercentCurrent</attribute> |
| <attribute side="server" code="0x0004" define="SPEED_MAX" type="INT8U" min="1" max="100" writable="false" default="1" optional="true">SpeedMax</attribute> |
| <attribute side="server" code="0x0005" define="SPEED_SETTING" type="INT8U" min="0" max="100" writable="true" default="0" isNullable="true" optional="true">SpeedSetting</attribute> |
| <attribute side="server" code="0x0006" define="SPEED_CURRENT" type="INT8U" min="0" max="100" writable="false" default="0" optional="true">SpeedCurrent</attribute> |
| <attribute side="server" code="0x0007" define="ROCK_SUPPORT" type="BITMAP8" writable="false" default="0x00" optional="true">RockSupport</attribute> |
| <attribute side="server" code="0x0008" define="ROCK_SETTING" type="BITMAP8" writable="true" default="0x00" optional="true">RockSetting</attribute> |
| <attribute side="server" code="0x0009" define="WIND_SUPPORT" type="BITMAP8" writable="false" default="0x00" optional="true">WindSupport</attribute> |
| <attribute side="server" code="0x000A" define="WIND_SETTING" type="BITMAP8" writable="true" default="0x00" optional="true">WindSetting</attribute> |
| <attribute side="server" code="0x000B" define="AIRFLOW_DIRECTION" type="AirflowDirectionEnum" writable="true" default="0" optional="true">AirflowDirection</attribute> |
| |
| <command source="client" code="0x00" name="Step" optional="true"> |
| <description>The Step command speeds up or slows down the fan, in steps.</description> |
| <arg name="Direction" type="DirectionEnum"/> |
| <arg name="Wrap" type="boolean" optional="true"/> |
| <arg name="LowestOff" type="boolean" optional="true"/> |
| </command> |
| |
| </cluster> |
| </configurator> |