Power measurements changed

From wiki.netio-products.com
Jump to navigation Jump to search

Triggered by any change of measured variable on any output. Values in arguments are only for changed output. Arguments are stored in table event.args

Arguments

  • outputX_powerFactor output power factor [-] * 100
  • totalLoad NETIO load [W]
  • outputX_cumulatedConsumption cumulated consumption of output [Wh]
  • outputX_consumption output load [W]
  • overallPowerFactor NETIO power factor [-] * 100
  • outputX_current current in output [mA]
  • totalEnergy total energy consumed by NETIO [Wh]
  • totalCurrent current in NETIO [mA]

Print arguments

-- print all arguments
for i, v in pairs(event.args) do
  logf("%s: %s",tostring(i),tostring(v))
end