powertargetset
Set the power target, power limit, and power minimum
powertargetset
Description
Sets the power-targeting values tracked by the miner. When power targeting is active, the AutoTuner figures out the best voltage and frequency combination to land on the configured target, within the configured limit and minimum.
The parameters are the session_id, followed by a comma-separated list of key-value pairs, in the format key=value. The available keys are:
- power_target: the wattage the AutoTuner ramps to and actively maintains.
- power_limit: the ceiling the AutoTuner will not exceed, in watts.
- power_min: the floor the AutoTuner will not underclock below, in watts.
- power: Legacy syntax sugar that sets both
power_targetandpower_limitto the same value. Preserved for backwards compatibility.
You can mix and match these fields in a single call — for example, to set the target without touching the limit or minimum. Setting power_min=0 "unbounds" the minimum (no floor enforced). Setting power_min=default restores the firmware default minimum for the current hardware.
This command will fail if you try to set a value outside the hardware-supported bounds (see limits) or if your miner hardware does not support power targeting.
The current values can be read with powertargetget.
Command
$ echo '{"command": "powertargetset", "parameter":"izbuwYn4,power_target=3320,power_limit=3500,power_min=2800"}' | nc $MINER_IP 4028 | jqExamples
Setting all three fields at once
$ echo '{"command": "powertargetset", "parameter":"em766Ujf,power_target=3320,power_limit=3500,power_min=2800"}' | nc $MINER_IP 4028 | jq
{
"POWER": [
{
"Limit": 3500,
"Min": 2800,
"Target": 3320
}
],
"STATUS": [
{
"Code": 360,
"Description": "LUXminer 2026.5.22.201758-9e148a7",
"Msg": "Power target set.",
"STATUS": "S",
"When": 1779705652
}
],
"id": 1
}Using the legacy power field
The legacy power field is still supported and sets both power_target and power_limit to the same value:
$ echo '{"command": "powertargetset", "parameter":"em766Ujf,power=3500"}' | nc $MINER_IP 4028 | jq
{
"POWER": [
{
"Limit": 3500,
"Min": 0,
"Target": 3500
}
],
"STATUS": [
{
"Code": 360,
"Description": "LUXminer 2026.5.22.201758-9e148a7",
"Msg": "Power target set.",
"STATUS": "S",
"When": 1779705608
}
],
"id": 1
}Unbounding the minimum
Setting power_min=0 removes the lower bound — the AutoTuner can underclock all the way down:
$ echo '{"command": "powertargetset", "parameter":"hNZCujHj,power_min=0"}' | nc $MINER_IP 4028 | jqRestoring the default minimum
To go back to the firmware default minimum for the current hardware, pass default:
$ echo '{"command": "powertargetset", "parameter":"hNZCujHj,power_min=default"}' | nc $MINER_IP 4028 | jq
{
"POWER": [
{
"Limit": 3500,
"Min": 1658,
"Target": 3320
}
],
"STATUS": [
{
"Code": 360,
"Description": "LUXminer 2026.5.27.171141-2a1eb85a9",
"Msg": "Power target set.",
"STATUS": "S",
"When": 1779991356
}
],
"id": 1
}Parameters
| Parameter | Notes |
|---|---|
session_id | A valid session ID. See Session Management for details. |
params | List of key-value parameters to change. |
Field details
The response includes a POWER block with the resulting values:
| Field | Notes |
|---|---|
Limit | The active power limit (ceiling), in watts. |
Min | The active power minimum (floor), in watts. 0 means the minimum is unbounded. |
Target | The active power target the AutoTuner is ramping to or maintaining, in watts. |