NETIO Lua Reference: Difference between revisions

From wiki.netio-products.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Outlet management ==
== Outlet Management ==
=== devices.system ===
=== devices.system ===
* function [[Function devices.system.SetOut()|.SetOut()]] - turns the outlet on or off
* function [[Function devices.system.SetOut()|.SetOut()]] - turns the outlet on or off
Line 8: Line 8:
* function [[Function devices.system.resetCumulativeConsumption()|.resetCumulativeConsumption()]] - resets outlet's energy counter
* 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
* 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()|.CustomCGI()]] -
== Miscellaneous ==
* function [[Function log()|.log()]] -
* function [[Function logf()|.logf()]] -
* function [[Function delay()|.delay()]] -
* function [[Function milliDelay()|.milliDelay()]] -
* function [[Function toboolean()|.toboolean()]] -

Revision as of 22:53, 14 April 2017

Outlet Management

devices.system

Socket System Management

devices.system

Socket Communication

Miscellaneous