Difference between revisions of "NETIO Lua Reference"

From wiki.netio-products.com
Jump to navigation Jump to search
(Redirected page to NETIO Specific Reference manual)
(Tag: New redirect)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Outlet Management ==
+
#REDIRECT [[NETIO Specific Reference manual]]
=== devices.system ===
 
* 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
 
* string [[String devices.system.output1_state|.output1_state]] - outlet's state
 
* 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)
 
* function [[Function devices.system.resetCumulativeConsumption()|.resetCumulativeConsumption()]] - resets outlet's energy counter
 
* string [[String devices.system.output1_consumptionStart|.output1_consumptionStart]] - date and time since the last energy counter reset
 
 
 
== Socket System Management ==
 
=== devices.system ===
 
* function [[Function devices.system.averageLoad()|.averageLoad()]] - CPU load in last 5 minutes
 
* function [[Function devices.system.Reboot()|.Reboot()]] - reboot socket's system
 
* number [[Number devices.system.sessionCount|.sessionCount]] - number of connected users
 
* number [[Number devices.system.freeSpace|.freeSpace]] - free disk space
 
* number [[Number devices.system.totalSpace|.totalSpace]] - total disk space
 
 
 
== Socket Communication ==
 
* function [[Function ping()|ping()]] - tests socket's network responsivity
 
* function [[Function mail()|mail()]] - sends e-mail
 
* function [[Function cgiGet()|cgiGet()]] -
 
* function [[Function devices.system.CustomCGI()|devices.system.CustomCGI()]] -
 
 
 
== Miscellaneous ==
 
* function [[Function log()|log()]] -
 
* function [[Function logf()|logf()]] -
 
* function [[Function delay()|delay()]] -
 
* function [[Function milliDelay()|milliDelay()]] -
 
* function [[Function toboolean()|toboolean()]] -
 

Latest revision as of 17:51, 11 July 2019