Number devices.system.output1_cumulatedConsumption

From wiki.netio-products.com
Revision as of 23:54, 14 April 2017 by Jturon (talk | contribs)
Jump to navigation Jump to search

Returns the energy (U × I × 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