API Docs
LuxMiner commands
voltageset

voltageset

Description

Set the voltage of a board. On more recent machines (e. g. Antminer S19 variants) it is not possible to have boards with different voltage values; in this case, setting any board will propagate the value to them all.

Note: This command will always fails if the curtailment mode is sleep. See the curtail command for details.

Command

$ echo '{"command": "voltageset", "parameter":"yJN2nlj1,1,8.9"}' | nc $MINER_IP 4028 | jq

Examples

$ echo '{"command": "voltageset", "parameter":"yJN2nlj1,1,8.9"}' | nc $MINER_IP 4028 | jq
{
  "STATUS": [
    {
      "Code": 306,
      "Description": "LUXminer 0.1.0-15436f7140",
      "Msg": "Set Voltage",
      "STATUS": "S",
      "When": 1667917794
    }
  ],
  "VOLTAGE": [
    {
      "Board": 1,
      "Voltage": 8.899999618530273,
      "VoltageStep": 0.05
    }
  ],
  "id": 1

If the optional step parameter is provided, the value will be used instead of the normal ramping step. This can be used to quickly apply a configuration change, throwing safety over the window.

️🚫

Do not use this option unless you know what you're doing; this can cause permanent damage to the rig/board, as well as a decrease in hashrate over time.

Use at your own risk.

In the example below, we change the step to 0.5 volts:

$ echo '{"command": "voltageset", "parameter":"yJN2nlj1,1,8.9,0.5"}' | nc $MINER_IP 4028 | jq
{
  "STATUS": [
    {
      "Code": 306,
      "Description": "LUXminer 0.1.0-15436f7140",
      "Msg": "Set Voltage",
      "STATUS": "S",
      "When": 1667917794
    }
  ],
  "VOLTAGE": [
    {
      "Board": 1,
      "Voltage": 8.899999618530273,
      "VoltageStep": 0.5
    }
  ],
  "id": 1

Parameters

ParameterNotes
session_idA valid session ID. See Session Management for details.
board_idBoard ID, starting from zero.
voltageThe desired voltage value.
stepOptional. The step size of the ramping. The default value is 0.05, and the max is 10.0.

Field details

FieldNotes
BoardThe board ID, starting from zero.
VoltageThe new voltage value.
VoltageStepThe step of the voltage ramp.