This struct shall represent the times at which cumulative measurements were last zero, either due to initialization of the device, or an internal reset of the cumulative value.

MatterSpecification.v13.Cluster § 2.12.5.2

interface CumulativeEnergyReset {
    exportedResetSystime?: null | number | bigint;
    exportedResetTimestamp?: null | number;
    importedResetSystime?: null | number | bigint;
    importedResetTimestamp?: null | number;
}

Hierarchy (view full)

Properties

exportedResetSystime?: null | number | bigint

This field shall indicate the seconds since boot when the value of the Energy field on the CumulativeEnergyExported attribute was most recently zero.

If the server had not yet determined the time in UTC when the value of the Energy field on the CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining the time in UTC, this field shall be indicated.

Otherwise, if the server had determined the time in UTC when the value of the Energy field on the CumulativeEnergyExported attribute was most recently zero, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.

MatterSpecification.v13.Cluster § 2.12.5.2.4

exportedResetTimestamp?: null | number

This field shall indicate the timestamp in UTC when the value of the Energy field on the CumulativeEnergyExported attribute was most recently zero.

If the server had determined the time in UTC when the value of the Energy field on the Cumula

tiveEnergyExported attribute was most recently zero, this field shall be indicated.

Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining the time in UTC, this field shall be omitted.

If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyExported attribute was most recently zero cannot currently be determined, a value of null shall be returned.

MatterSpecification.v13.Cluster § 2.12.5.2.2

importedResetSystime?: null | number | bigint

This field shall indicate the seconds since boot when the value of the Energy field on the CumulativeEnergyImported attribute was most recently zero.

If the server had not yet determined the time in UTC when the value of the Energy field on the CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining the time in UTC, this field shall be indicated.

Otherwise, if the server had determined the time in UTC when the value of the Energy field on the CumulativeEnergyImported attribute was most recently zero, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.

MatterSpecification.v13.Cluster § 2.12.5.2.3

importedResetTimestamp?: null | number

This field shall indicate the timestamp in UTC when the value of the Energy field on the CumulativeEnergyImported attribute was most recently zero.

If the server had determined the time in UTC when the value of the Energy field on the CumulativeEnergyImported attribute was most recently zero, this field shall be indicated.

Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining the time in UTC, this field shall be omitted.

If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyImported attribute was most recently zero cannot currently be determined, a value of null shall be returned.

MatterSpecification.v13.Cluster § 2.12.5.2.1