blob: aae07641398eebb0fdc5a17bc144bbe2cc81e5cc [file] [log] [blame]
<?xml version="1.0"?>
<!--
Copyright (C) Connectivity Standards Alliance (2023). All rights reserved.
The information within this document is the property of the Connectivity
Standards Alliance and its use and disclosure are restricted, except as
expressly set forth herein.
Connectivity Standards Alliance hereby grants you a fully-paid, non-exclusive,
nontransferable, worldwide, limited and revocable license (without the right to
sublicense), under Connectivity Standards Alliance's applicable copyright
rights, to view, download, save, reproduce and use the document solely for your
own internal purposes and in accordance with the terms of the license set forth
herein. This license does not authorize you to, and you expressly warrant that
you shall not: (a) permit others (outside your organization) to use this
document; (b) post or publish this document; (c) modify, adapt, translate, or
otherwise change this document in any manner or create any derivative work
based on this document; (d) remove or modify any notice or label on this
document, including this Copyright Notice, License and Disclaimer. The
Connectivity Standards Alliance does not grant you any license hereunder other
than as expressly stated herein.
Elements of this document may be subject to third party intellectual property
rights, including without limitation, patent, copyright or trademark rights,
and any such third party may or may not be a member of the Connectivity
Standards Alliance. Connectivity Standards Alliance members grant other
Connectivity Standards Alliance members certain intellectual property rights as
set forth in the Connectivity Standards Alliance IPR Policy. Connectivity
Standards Alliance members do not grant you any rights under this license. The
Connectivity Standards Alliance is not responsible for, and shall not be held
responsible in any manner for, identifying or failing to identify any or all
such third party intellectual property rights. Please visit www.csa-iot.org for
more information on how to become a member of the Connectivity Standards
Alliance.
This document and the information contained herein are provided on an “AS IS”
basis and the Connectivity Standards Alliance DISCLAIMS ALL WARRANTIES EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO (A) ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OF THIRD PARTIES (INCLUDING
WITHOUT LIMITATION ANY INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENT, COPYRIGHT
OR TRADEMARK RIGHTS); OR (B) ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, TITLE OR NONINFRINGEMENT. IN NO EVENT WILL THE
CONNECTIVITY STANDARDS ALLIANCE BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF
BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF BUSINESS, OR FOR ANY OTHER
DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL
DAMAGES OF ANY KIND, IN CONTRACT OR IN TORT, IN CONNECTION WITH THIS DOCUMENT
OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
LOSS OR DAMAGE.
All company, brand and product names in this document may be trademarks that
are the sole property of their respective owners.
This notice and disclaimer must be included on all copies of this document.
Connectivity Standards Alliance
508 Second Street, Suite 206
Davis, CA 95616, USA
:xrefstyle: short
-->
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x0095" name="Energy Price Cluster" revision="4">
<revisionHistory>
<revision revision="1" summary="Mandatory global ClusterRevision attribute added"/>
<revision revision="2" summary="Updated from SE1.4 version; CCB 1447 2964 2965"/>
<revision revision="3" summary="CCBs 2043 2706 2810 2912 3566"/>
<revision revision="4" summary="Initial Matter revision"/>
</revisionHistory>
<clusterIds>
<clusterId id="0x0095" name="Energy Price"/>
</clusterIds>
<classification hierarchy="base" role="application" picsCode="SEPR" scope="Endpoint"/>
<features>
<feature bit="0" code="FORE" name="Forecasting" summary="Forecasts upcoming pricing">
<optionalConform/>
</feature>
</features>
<dataTypes>
<enum name="PriceComponentSourceEnum">
<item value="0" name="Tariff" summary="Tariff">
<mandatoryConform/>
</item>
<item value="1" name="IncentiveSignal" summary="Incentive Signal">
<mandatoryConform/>
</item>
</enum>
<enum name="UnitOfMeasureEnum">
<item value="0" name="kWh" summary="Kilowatt Hours">
<mandatoryConform/>
</item>
<item value="1" name="m" summary="Cubic meters">
<mandatoryConform/>
</item>
<item value="2" name="ft" summary="Cubic feet">
<mandatoryConform/>
</item>
<item value="3" name="CCF" summary="Centum Cubic feet">
<mandatoryConform/>
</item>
<item value="4" name="US" summary="US Gallons">
<mandatoryConform/>
</item>
<item value="5" name="IMP" summary="Imperial Gallons">
<mandatoryConform/>
</item>
<item value="6" name="L" summary="Liters">
<mandatoryConform/>
</item>
<item value="7" name="BTUs" summary="British Thermal Units">
<mandatoryConform/>
</item>
</enum>
<bitmap name="PriceDetailBitmap">
<bitfield name="Description" bit="0" summary="A textual description of a price; e.g. the name of a rate plan.">
<mandatoryConform/>
</bitfield>
<bitfield name="Components" bit="1" summary="A breakdown of the component parts of a price; e.g. generation, delivery, etc.">
<mandatoryConform/>
</bitfield>
</bitmap>
<struct name="PriceComponentStruct">
<field id="0" name="Price" type="int32">
<mandatoryConform/>
</field>
<field id="1" name="Source" type="PriceComponentSourceEnum" default="Tariff">
<mandatoryConform/>
</field>
<field id="2" name="Description" type="string">
<optionalConform/>
<constraint type="maxLength" value="32"/>
</field>
<access fabricScoped="true"/>
</struct>
<struct name="PriceStruct">
<field id="0" name="PeriodStart" type="epoch-s">
<mandatoryConform/>
</field>
<field id="1" name="PeriodEnd" type="epoch-s" default="null">
<quality nullable="true"/>
<mandatoryConform/>
</field>
<field id="2" name="Price" type="int32">
<mandatoryConform/>
</field>
<field id="3" name="DecimalPoints" type="uint8" default="0">
<mandatoryConform/>
</field>
<field id="4" name="Currency" type="uint16">
<mandatoryConform/>
<constraint type="max" value="999"/>
</field>
<field id="5" name="Description" type="string">
<optionalConform/>
<constraint type="maxLength" value="32"/>
</field>
<field id="6" name="Components" type="list" default="empty">
<entry type="PriceComponentStruct"/>
<optionalConform/>
<constraint type="maxCount" value="10"/>
</field>
<access fabricScoped="true"/>
</struct>
</dataTypes>
<attributes>
<attribute id="0x0000" name="UnitOfMeasure" type="UnitOfMeasureEnum" default="null">
<access read="true" readPrivilege="view"/>
<mandatoryConform/>
</attribute>
<attribute id="0x0001" name="CurrentPrice" type="PriceStruct" default="null">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="false" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform/>
</attribute>
<attribute id="0x0002" name="PriceForecast" type="list" default="empty">
<entry type="PriceStruct"/>
<access read="true" readPrivilege="view"/>
<mandatoryConform>
<feature name="FORE"/>
</mandatoryConform>
</attribute>
</attributes>
<commands>
<command id="0x00" name="GetDetailedPriceRequest" direction="commandToServer" response="GetDetailedPriceResponse">
<access invokePrivilege="operate"/>
<optionalConform/>
<field id="0" name="Details" type="PriceDetailBitmap" default="0">
<mandatoryConform/>
</field>
</command>
<command id="0x01" name="GetDetailedPriceResponse" direction="responseFromServer">
<mandatoryConform>
<command name="GetDetailedPriceRequest"/>
</mandatoryConform>
<field id="0" name="Price" type="PriceStruct" default="null">
<quality nullable="true"/>
<mandatoryConform/>
</field>
</command>
<command id="0x02" name="GetDetailedForecastRequest" direction="commandToServer" response="GetDetailedForecastResponse">
<access invokePrivilege="operate"/>
<optionalConform>
<feature name="FORE"/>
</optionalConform>
<field id="0" name="Details" type="PriceDetailBitmap" default="0">
<mandatoryConform/>
</field>
</command>
<command id="0x03" name="GetDetailedForecastResponse" direction="responseFromServer">
<mandatoryConform>
<command name="GetDetailedForecastRequest"/>
</mandatoryConform>
<field id="0" name="Price" type="list" default="empty">
<entry type="PriceStruct"/>
<mandatoryConform/>
</field>
</command>
</commands>
<events>
<event id="0x00" name="PriceChange" priority="info">
<access readPrivilege="view"/>
<optionalConform/>
<field id="0" name="Price" type="PriceStruct">
<mandatoryConform/>
</field>
</event>
<event id="0x01" name="ForecastChange" priority="info">
<access readPrivilege="view"/>
<optionalConform/>
<field id="0" name="Forecast" type="list">
<entry type="PriceStruct"/>
<mandatoryConform/>
</field>
</event>
</events>
</cluster>