Difference between revisions of "Number devices.system.output1 consumption"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Number devices.system.output1_consumption}} | {{DISPLAYTITLE:Number devices.system.output1_consumption}} | ||
− | Returns the power (U × I) consumed from the outlet (in Watts). <b>The property is read only!</b> | + | Returns the power (U × I) consumed from the outlet (in Watts). <b>The property is read only!</b> |
Revision as of 10:09, 15 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
- devices.system.SetOut() to change the state of the outlet