number devices.system.voltage
Returns the voltage (in millivolts) on the socket. The property is read only!
number devices.system.voltage
Value
number voltage on socket (in millivolts)
Usage
-- log voltage of the socket
logf("voltage: %d", devices.system.voltage)