Firmware (LuxOS)
API Docs
LUXMiner commands
profilenew

profilenew

Description

Creates a new custom profile, with your desired frequency and voltage values, applicable to all boards. It is also possible to override the frequency of any board, in order, by appending more values at the end of the parameter list, or using * to skip a board (see examples below).

Profile names must contain only ascii alphanumeric characters, plus a subset of special characters: _ (underscore), - (minus), + (plus), ' ' (space) and . (dot). Note that the name cannot start or end with any of the special characters.

Command

$ echo '{"command": "profilenew", "parameter":"yJN2nlj1,myprofile,500,8.9"}' | nc $MINER_IP 4028 | jq

Examples

In this example, the profile myprofile will apply voltage of 8.9V and frequency of 500MHz on all boards.

$ echo '{"command": "profilenew", "parameter":"yJN2nlj1,myprofile,500,8.9"}' | nc $MINER_IP 4028 | jq
{
  "STATUS": [
    {
      "Code": 337,
      "Description": "LUXminer 2023.5.26.175704-7b81bde",
      "Msg": "Profile 'myprofile' created",
      "STATUS": "S",
      "When": 1685457474
    }
  ],
  "id": 1
}

The following example creates a profile that defaults to 8.9V and 650MHz, but overrides the frequency to 500MHz for board 0 and 550MHz for board 2. Note how * was used to skip board 1, which will use the default value of the profile (650MHz, in this example).

$ echo '{"command": "profilenew", "parameter":"ieFPuel8,myprofile,650,8.9,500,*,550"}' | nc $MINER_IP 4028 | jq
{
  "STATUS": [
    {
      "Code": 337,
      "Description": "LUXminer 2023.11.14.160913-341fb20",
      "Msg": "Profile 'myprofile' created",
      "STATUS": "S",
      "When": 1700058603
    }
  ],
  "id": 1
}

Parameters

ParameterNotes
session_idA valid session ID. See Session Management for details.
profile_nameThe name to be used for the new profile.
frequencyFrequency of the new profile.
voltageVoltage of the new profile.
overridesOptional. For each value provided, a frequency override will be added for the boards, in order. The value * can be used to skip a specific board