Firmware/API Docs/LUXminer commands
voltageget
Gets the board voltage
voltageget
Description
Returns the current voltage of a board. This can be either the PSU voltage or the "on-board voltage" for PIC miners.
Command
Reading the PSU voltage
To get the real voltage, according to the PSU, simply ask for it:
Reading the On-board voltage
To get the on-board voltage, according to the PIC, you need to specify the second (optional) parameter as true
.
Please note that this value will be zero if the miner has no support for on-board voltage reading.
Parameters
Parameter | Notes |
---|---|
board_id | Board ID, starting from zero. |
on_board | Optional. If true, returns the PIC voltage reading, if available. |
Field details
Field | Notes |
---|---|
Board | The board_id , same as the input parameter. |
IsOnBoard | true in case the reading is from the on-board voltage. |
Voltage | The voltage value of that board. |