Difference between revisions of "DO state changed"

From wiki.netio-products.com
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:Script trigger DO state changed}} Triggered when output state is changed. Arguments are stored in table <code>event.args</code> === Arguments === * <code>outpu...")
 
(No difference)

Latest revision as of 17:29, 11 July 2019

Triggered when output state is changed. Arguments are stored in table event.args

Arguments

  • outputX_state current state of changed output (on/off)

Print arguments

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