number devices.system.totalEnergy

From wiki.netio-products.com
Revision as of 16:34, 19 June 2019 by Phrych (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)