Difference between revisions of "NETIO Lua Reference"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* number [[Number devices.system.output1_consumption|.output1_consumption]] - outlet's consumption (in Watts) | * number [[Number devices.system.output1_consumption|.output1_consumption]] - outlet's consumption (in Watts) | ||
* number [[Number devices.system.output1_cumulatedConsumption|.output1_cumulatedConsumption]] - outlet's consumed energy (in Watthours) | * number [[Number devices.system.output1_cumulatedConsumption|.output1_cumulatedConsumption]] - outlet's consumed energy (in Watthours) | ||
+ | * function [[Function devices.system.output1_resetCumulativeConsumption|.output1_resetCumulativeConsumption]] - resets outlet's energy counter |
Revision as of 23:10, 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 .output1_consumption - outlet's consumption (in Watts)
- number .output1_cumulatedConsumption - outlet's consumed energy (in Watthours)
- function .output1_resetCumulativeConsumption - resets outlet's energy counter