Function devices.system.ResetOut()

From wiki.netio-products.com
Revision as of 21:27, 14 April 2017 by Jturon (talk | contribs) (Založena nová stránka s textem „Resets the outlet: if it was off, it stays off. If it was on, it is turned off for specified time (its led blinks green), and then turned on again. Support…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Resets the outlet: if it was off, it stays off. If it was on, it is turned off for specified time (its led blinks green), and then turned on again. Supported firmware: 2.3.2+

nil devices.system.ResetOut{config}

Parameters

table config
  • number output outlet to reset (1 to 4)
  • optional number resetDelay time period (in seconds) to keep the outlet off (default 1)

Return value

nil

Usage

-- turns outlet No.1 off and resets its previous state after 10 seconds
devices.system.ResetOut{output=1,resetDelay=10}