ReferenceDevice capabilities
meter
A monotonic total between resets.
A monotonic total between resets. Energy uses power-meter.energy so dashboards keep one series; every other instantaneous reading lands here. value is the time integral in the source quantity's accumulated base (base-unit seconds, or kWh on the power meter). null is a gap, never zero.
At a glance
| Capability | meter |
| Provided by | The device's own driver provides it: each device registers its own provider. |
| Active providers per device | one |
| Device types | sensor |
| Source | packages/types/src/capabilities/meter.cap.ts |
Methods
This capability declares no methods.
Runtime state
The state Dominevo keeps for each device with this capability, readable without calling the provider.
| Field | Type | Required | Description |
|---|---|---|---|
value | number | null | yes | Total |
lastFetchedAt | number | yes |