Link Search Menu Expand Document

Power

These custom features relate to power and power management. They are meant for devices such as smart sockets/plugs.

Table of contents

  1. currentAmpere
  2. currentVoltage
  3. currentPower
  4. totalEnergy

currentAmpere

Read-only

The current power draw in Amperes.

Attribute Value
min 0
max 255
step 1
type float
unit Ampere

currentVoltage

Read-only

The current power draw in Volts.

Attribute Value
min 0
max 10000
step 1
type float
unit Volt

currentPower

Required

Read-only

The current power draw in Watts.

Attribute Value
min 0
max 10000
step 1
type float
unit Watt

totalEnergy

Read-only

Total energy usage so far, in kilowatt hour. This value can reset to zero if the device is reset but otherwise must only increment.

Attribute Value
min 0
max 1.7976931348623157 × e^308
step 1
type float
unit Kilowatt hour