|
| 1 | +<?xml version="1.0"?> |
| 2 | +<!-- |
| 3 | +Copyright (c) 2024 Project CHIP Authors |
| 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="Energy Management"/> |
| 19 | + <bitmap name="Feature" type="bitmap32"> |
| 20 | + <cluster code="0x0094"/> |
| 21 | + <field name="EnergyManagement" mask="0x01"/> |
| 22 | + <field name="TankPercent" mask="0x02"/> |
| 23 | + </bitmap> |
| 24 | + |
| 25 | + <bitmap name="WaterHeaterDemandBitmap" type="bitmap8"> |
| 26 | + <cluster code="0x0094"/> |
| 27 | + <field name="ImmersionElement1" mask="0x01"/> |
| 28 | + <field name="ImmersionElement2" mask="0x02"/> |
| 29 | + <field name="HeatPump" mask="0x04"/> |
| 30 | + <field name="Boiler" mask="0x08"/> |
| 31 | + <field name="Other" mask="0x10"/> |
| 32 | + </bitmap> |
| 33 | + |
| 34 | + <bitmap name="WaterHeaterTypeBitmap" type="bitmap8"> |
| 35 | + <cluster code="0x0094"/> |
| 36 | + <field name="ImmersionElement1" mask="0x01"/> |
| 37 | + <field name="ImmersionElement2" mask="0x02"/> |
| 38 | + <field name="HeatPump" mask="0x04"/> |
| 39 | + <field name="Boiler" mask="0x08"/> |
| 40 | + <field name="Other" mask="0x10"/> |
| 41 | + </bitmap> |
| 42 | + |
| 43 | + <enum name="BoostStateEnum" type="enum8"> |
| 44 | + <cluster code="0x0094"/> |
| 45 | + <item name="Inactive" value="0x00"/> |
| 46 | + <item name="Active" value="0x01"/> |
| 47 | + </enum> |
| 48 | + |
| 49 | + <cluster code="0x0094"> |
| 50 | + <domain>Energy Management</domain> |
| 51 | + <name>Water Heater Management</name> |
| 52 | + <code>0x0094</code> |
| 53 | + <define>WATER_HEATER_MANAGEMENT_CLUSTER</define> |
| 54 | + <description>This cluster is used to allow clients to control the operation of a hot water heating appliance so that it can be used with energy management.</description> |
| 55 | + <client init="false" tick="false">true</client> |
| 56 | + <server init="false" tick="false">true</server> |
| 57 | + <globalAttribute code="0xFFFD" side="either" value="1"/> |
| 58 | + <attribute code="0x0000" side="server" define="HEATER_TYPES" type="WaterHeaterTypeBitmap" min="0x00" max="0x1F" default="0x00">HeaterTypes</attribute> |
| 59 | + <attribute code="0x0001" side="server" define="HEAT_DEMAND" type="WaterHeaterDemandBitmap" min="0x00" max="0x1F" default="0x00">HeatDemand</attribute> |
| 60 | + <attribute code="0x0002" side="server" define="TANK_VOLUME" type="int16u" default="0" optional="true">TankVolume</attribute> |
| 61 | + <attribute code="0x0003" side="server" define="ESTIMATED_HEAT_REQUIRED" type="energy_mwh" default="0" optional="true">EstimatedHeatRequired</attribute> |
| 62 | + <attribute code="0x0004" side="server" define="TANK_PERCENTAGE" type="percent" default="0" optional="true">TankPercentage</attribute> |
| 63 | + <attribute code="0x0005" side="server" define="BOOST_STATE" type="BoostStateEnum" default="0" min="0x00" max="0x01">BoostState</attribute> |
| 64 | + <command code="0x00" source="client" name="Boost" optional="false"> |
| 65 | + <description>Allows a client to request that the water heater is put into a Boost state.</description> |
| 66 | + <arg id="0" name="Duration" type="elapsed_s"/> |
| 67 | + <arg id="1" name="OneShot" type="boolean" optional="true" default="0"/> |
| 68 | + <arg id="2" name="EmergencyBoost" type="boolean" optional="true" default="0"/> |
| 69 | + <arg id="3" name="TemporarySetpoint" type="temperature" optional="true"/> |
| 70 | + <arg id="4" name="TargetPercentage" type="percent" optional="true"/> |
| 71 | + <arg id="5" name="TargetReheat" type="percent" optional="true"/> |
| 72 | + <access op="invoke" privilege="manage"/> |
| 73 | + </command> |
| 74 | + |
| 75 | + <command code="0x01" source="client" name="CancelBoost" optional="false"> |
| 76 | + <description>Allows a client to cancel an ongoing Boost operation.</description> |
| 77 | + <access op="invoke" privilege="manage"/> |
| 78 | + </command> |
| 79 | + |
| 80 | + </cluster> |
| 81 | +</configurator> |
0 commit comments