Energy and metering2823 — Commodity Metering

Matter Cluster 2823 — Commodity Metering

Matter Cluster 2823 (0x0B07) Commodity Metering: attributes, commands, events, data types, shadow paths and bridge payload examples.

Matter Cluster 2823 — Commodity Metering Cluster

Matter Cluster 2823, also written as 0x0B07, is the Commodity Metering Cluster. The Commodity Metering Cluster provides the mechanism for communicating commodity consumption information within a premises.

Cluster Identity

FieldValue
Cluster ID decimal2823
Cluster ID hex0x0B07
Cluster nameCommodity Metering
Cluster revision (Matter 1.6.1)1
Roleapplication
ScopeEndpoint
PICS codeCOMMTR
Typical endpoint1

Revision history

RevisionChange
1Initial Release

Shadow Path Format

Cluster 2823 values in the device shadow use this format:

endpoint_id / 2823 / attribute_id

Example:

{
  "1/2823/1": 0
}
PartMeaning
1Endpoint ID
2823Commodity Metering cluster
1MeteredQuantityTimestamp attribute

Data Types

MeteredQuantityStruct (struct)

Provides access to the Electric Metering device's readings.

FieldNameTypeConformanceConstraintMeaning
0TariffComponentIDslist of uint32Mmax 128 entries—
1Quantityint64M—This field indicates the amount of a commodity metered during the associated TariffComponentStructs.

Cluster 2823 Attributes

Cluster 2823 defines 4 attributes plus the global attributes. Conformance: M mandatory, O optional, a feature code means "mandatory when that feature is present", square brackets mean "optional when …".

IDHexAttributeTypeConformanceAccessQualitiesDefault
00x0000MeteredQuantitylist of MeteredQuantityStructMR (read: view)nullable—
10x0001MeteredQuantityTimestampepoch-sMR (read: view)nullable—
20x0002TariffUnitTariffUnitEnumMR (read: view)nullable—
30x0003MaximumMeteredQuantitiesuint16MR (read: view)nullable—

Global attributes

IDHexAttributeMeaning
655280xFFF8GeneratedCommandListResponse command IDs this server generates.
655290xFFF9AcceptedCommandListCommand IDs this server accepts.
655310xFFFBAttributeListAttribute IDs implemented.
655320xFFFCFeatureMapImplemented optional features (see above).
655330xFFFDClusterRevisionCluster revision implemented; 1 for a Matter 1.6.1 device.

Attribute Details

Attribute 0 / 0x0000 — MeteredQuantity

Path example:

1/2823/0

The most recent summed value of a commodity delivered to and consumed in the premises. A null value indicates that metering data is currently unavailable.

PropertyValue
Typelist of MeteredQuantityStruct
ConformanceM
AccessR (read: view)
Qualitiesnullable
Constraintmax MaximumMeteredQuantities entries

Each entry is a MeteredQuantityStruct (see Data Types).

Example:

{
  "1/2823/0": []
}

Attribute 1 / 0x0001 — MeteredQuantityTimestamp

Path example:

1/2823/1

The timestamp in UTC for when the value of the MeteredQuantity attribute was last updated. A null value indicates that metering data is currently unavailable.

PropertyValue
Typeepoch-s
ConformanceM
AccessR (read: view)
Qualitiesnullable

Example:

{
  "1/2823/1": 0
}

Attribute 2 / 0x0002 — TariffUnit

Path example:

1/2823/2

Indicates the unit for the Quantity field on all MeteredQuantityStructs in the MeteredQuantity attribute. A null value indicates that metering data is currently unavailable.

PropertyValue
TypeTariffUnitEnum
ConformanceM
AccessR (read: view)
Qualitiesnullable

Example:

{
  "1/2823/2": 0
}

Attribute 3 / 0x0003 — MaximumMeteredQuantities

Path example:

1/2823/3

Indicates the maximum number of MeteredQuantityStructs in the MeteredQuantity attribute. A null value indicates that metering data is currently unavailable.

PropertyValue
Typeuint16
ConformanceM
AccessR (read: view)
Qualitiesnullable
Constraintmin 1

Example:

{
  "1/2823/3": 1
}

Cluster 2823 Commands

Cluster 2823 defines no commands. It is read (and, for writable attributes, written) through attribute access only.

Cluster 2823 Events

Cluster 2823 defines no events.


SmartphoneKey Notes

  • Cluster 2823 is not currently exposed by SmartphoneKey devices. This page documents the Matter 1.6.1 specification so that future devices can be interpreted without changes to the backend.
  • Shadow paths follow endpoint/2823/attribute; attribute values that the device reports as unreadable are written as n/a.
  • Attribute IDs, command IDs and enum values on this page come from the CSA Matter 1.6.1 data model; descriptions are condensed from the specification text.