Power measurements changed

From wiki.netio-products.com
Revision as of 15:49, 11 July 2019 by Phrych (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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