Difference between revisions of "Number devices.system.output1 cumulatedConsumption"

From wiki.netio-products.com
Jump to navigation Jump to search
(Založena nová stránka s textem „{{DISPLAYTITLE:Number devices.system.output1_cumulatedConsumption}} Returns the energy (U × I &times s) consumed from the outlet (in Watthours). <b>T…“)
 
Line 13: Line 13:
  
 
=== Value ===
 
=== Value ===
Actual power consumption in Watts.
+
Energy consumed in Watthourss.
  
 
=== Usage ===
 
=== Usage ===
Line 23: Line 23:
 
=== See also ===
 
=== See also ===
 
* [[Function devices.system.SetOut()|devices.system.SetOut()]] to change the state of the outlet
 
* [[Function devices.system.SetOut()|devices.system.SetOut()]] to change the state of the outlet
* [[Number devices.system.output1 consumption|.output1 consumption]]
+
* [[Number devices.system.output1 consumption|devices.system.output1 consumption]]

Revision as of 22:54, 14 April 2017

Returns the energy (U × I &times s) consumed from the outlet (in Watthours). The property is read only! Supported firmware 2.3.2+


energy consumed from outlet 1:

number devices.system.output1_cumulatedConsumption

energy consumed from outlet 2:

number devices.system.output2_cumulatedConsumption

energy consumed from outlet 3:

number devices.system.output3_cumulatedConsumption

energy consumed from outlet 4:

number devices.system.output4_cumulatedConsumption

Value

Energy consumed in Watthourss.

Usage

-- turn off outlet No.1 after it uses 1kWh.
if devices.system.output1_cumulatedConsumption>1000 then
  system.devices.SetOut(1,false)
end

See also