number devices.system.totalCurrent

From wiki.netio-products.com
Jump to navigation Jump to search

Returns the current (in milliamperes) on the socket. The property is read only!


number devices.system.totalCurrent


Value

number total current on socket (in milliamperes)

Usage

-- log current of the socket
logf("total current: %d", devices.system.totalCurrent)