API Docs
LuxMiner commands
profileset

profileset

Description

Sets the current profile for a given board. For single-voltage models, setting a profile for any board will set for them all. You can also make the profile application faster by specifying the size of the frequency and voltage steps (see example below).

Command

$ echo '{"command": "profileset", "parameter":"yJN2nlj1,0,default"}' | nc $MINER_IP 4028 | jq

Examples

$ echo '{"command": "profileset", "parameter":"yJN2nlj1,0,default"}' | nc $MINER_IP 4028 | jq
{
  "PROFILE": [
    {
      "Board": 0,
      "FrequencyStep": 5,
      "Profile": "default",
      "VoltageStep": 0.05
    }
  ],
  "STATUS": [
    {
      "Code": 321,
      "Description": "LUXminer 0.1.0-15436f7140",
      "Msg": "Profile Set",
      "STATUS": "S",
      "When": 1667918305
    }
  ],
  "id": 1
}

To customize the ramping speed, you can provide the values for the optional parameters frequency_step and voltage_step:

$ echo '{"command": "profileset", "parameter":"yJN2nlj1,0,default,25,1.0"}' | nc $MINER_IP 4028 | jq
{
  "PROFILE": [
    {
      "Board": 0,
      "FrequencyStep": 25,
      "Profile": "default",
      "VoltageStep": 0.05
    }
  ],
  "STATUS": [
    {
      "Code": 321,
      "Description": "LUXminer 0.1.0-15436f7140",
      "Msg": "Profile Set",
      "STATUS": "S",
      "When": 1667918305
    }
  ],
  "id": 1
}
️🚫

Changing the default ramping steps is considered a dangerous feature, intended only for advanced users. It can cause permanent damage to the chips and/or board, as well as a decrease in hashrate over time.

Use at your own risk.

Parameters

ParameterNotes
session_idA valid session ID. See Session Management for details.
board_idBoard ID, starting from zero.
profileThe profile name, as shown in the profiles command.
frequency_stepOptional. The step size of the frequency ramping. The default value is 5, and the max is 1000.
voltage_stepOptional. The step size of the voltage ramping. The default value is 0.05, and the max is 10.0.

Field details

FieldNotes
BoardBoard ID, starting from zero.
FrequencyStepThe step of the frequency ramp.
ProfileThe new profile.
VoltageStepThe step of the voltage ramp.