Difference between revisions of "Power measurements changed"

From wiki.netio-products.com
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:Script trigger Power measurements changed}} Triggered by any change of measured variable on any output. Values in arguments are only for changed output. Argumen...")
 
(No difference)

Latest revision as of 16:49, 11 July 2019

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