Difference between revisions of "NETIO Lua Reference"

From wiki.netio-products.com
Jump to navigation Jump to search
Line 1: Line 1:
devices.system
+
=== devices.system ===
 
* function [[Function devices.system.SetOut()|.SetOut()]] - turns the outlet on or off
 
* function [[Function devices.system.SetOut()|.SetOut()]] - turns the outlet on or off
 
* function [[Function devices.system.ResetOut()|.ResetOut()]] - turns the outlet off and then resets its previous state
 
* function [[Function devices.system.ResetOut()|.ResetOut()]] - turns the outlet off and then resets its previous state
 
* string [[String devices.system.output1_state|.output1_state]] - returns outlet's state
 
* string [[String devices.system.output1_state|.output1_state]] - returns outlet's state

Revision as of 22:11, 14 April 2017

devices.system

  • function .SetOut() - turns the outlet on or off
  • function .ResetOut() - turns the outlet off and then resets its previous state
  • string .output1_state - returns outlet's state