NETIO Lua Reference: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
* 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]] - | * string [[String devices.system.output1_state|.output1_state]] - outlet's state | ||
* number [[Number devices.system.output1_consumption]] - outlet's consumption (in Watts) | |||
Revision as of 21:23, 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 - outlet's state
- number Number devices.system.output1_consumption - outlet's consumption (in Watts)