number devices.system.totalEnergy
Jump to navigation
Jump to search
Returns the total energy (in Wh) consumed by socket from last consumption restart (.resetCumulativeConsumption()). The property is read only!
number devices.system.totalEnergy
Value
number total energy consumed by socket (in Wh)
Usage
-- log energy consumed by the socket logf("voltage: %d", devices.system.totalEnergy)