Difference between revisions of "Number devices.system.totalEnergy"

From wiki.netio-products.com
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:number devices.system.totalEnergy}} Returns the total energy (in Wh) consumed by socket from last consumption restart (Function devices.system.resetCumulative...")
 
(No difference)

Latest revision as of 17:34, 19 June 2019

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)