Devices.system.SetOut(): Difference between revisions

From wiki.netio-products.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== devices.system.SetOut() ==
Changes state of specified outlet. Supported firmware: 2.3.2+
Changes state of specified outlet. Supported firmware: 2.3.2+
  <i>nil</i> devices.system.SetOut{<u>config</u>}
  <i>nil</i> devices.system.SetOut{<u>config</u>}
Line 16: Line 15:


__NOTOC__
__NOTOC__
{{lowercase}}

Latest revision as of 18:23, 14 April 2017

Changes state of specified outlet. Supported firmware: 2.3.2+

nil devices.system.SetOut{config}

Parameters

table config
  • number output outlet to change (1 to 4)
  • boolean value true = on, false = off

Return value

nil

Usage

-- turns outlet No.1 on
devices.system.SetOut{output=1,value=true}


Template:Lowercase