Function devices.system.SetOut()

From wiki.netio-products.com
Revision as of 19:34, 14 April 2017 by Jturon (talk | contribs) (Založena nová stránka s textem „Changes state of specified outlet. Supported firmware: 2.3.2+ <i>nil</i> devices.system.SetOut{<u>config</u>} === Parameters === <i>table</i> <u>config<…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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}