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

From wiki.netio-products.com
Jump to navigation Jump to search
(Value)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:String devices.system.output1_consumption}}
+
{{DISPLAYTITLE:number devices.system.output1_consumption}}
Returns the power (U &times; I) consumed from the outlet (in Watts). <b>The property is read only!</b> Supported firmware 2.3.2+
+
Returns the power (U &times; I) consumed from the outlet (in Watts). <b>The property is read only!</b>  
  
  
electric power of outlet 1:
+
<b>electric power of outlet 1</b><br><i>number</i> <code>devices.system.output1_consumption</code>
<i>number</i> devices.system.output1_consumption
+
 
electric power of outlet 2:
+
 
<i>number</i> devices.system.output2_consumption
+
<b>electric power of outlet 2</b><br><i>number</i> <code>devices.system.output2_consumption</code>
electric power of outlet 3:
+
 
<i>number</i> devices.system.output3_consumption
+
 
electric power of outlet 4:
+
<b>electric power of outlet 3</b><br><i>number</i> <code>devices.system.output3_consumption</code>
<i>number</i> devices.system.output4_consumption
+
 
 +
 
 +
<b>electric power of outlet 4</b><br><i>number</i> <code>devices.system.output4_consumption</code>
 +
 
  
 
=== Value ===
 
=== Value ===
Line 17: Line 20:
 
=== Usage ===
 
=== Usage ===
 
  -- turn off outlet No.1 if the current in 240 V grid exceeds 4 A.
 
  -- turn off outlet No.1 if the current in 240 V grid exceeds 4 A.
  if devices.system.output1_stateconsumption>980 then
+
  if devices.system.output1_consumption>980 then
 
   system.devices.SetOut(1,false)
 
   system.devices.SetOut(1,false)
 
  end
 
  end

Latest revision as of 19:29, 18 April 2017

Returns the power (U × I) consumed from the outlet (in Watts). The property is read only!


electric power of outlet 1
number devices.system.output1_consumption


electric power of outlet 2
number devices.system.output2_consumption


electric power of outlet 3
number devices.system.output3_consumption


electric power of outlet 4
number devices.system.output4_consumption


Value

Actual power consumption in Watts.

Usage

-- turn off outlet No.1 if the current in 240 V grid exceeds 4 A.
if devices.system.output1_consumption>980 then
  system.devices.SetOut(1,false)
end

See also