hashboardctrlset
Sets a hashboard's own controls
hashboardctrlset
Description
Sets the controls of a single hashboard at runtime, on miners that have a voltage regulator on each hashboard. Today
that is the Antminer Z15 series: the Z15 Pro has one regulator per board, and the Z15 has three (one per ASIC
chip). On every other model the command returns error 438.
The parameters are the session_id, followed by the board_id, followed by a comma-separated list of key-value pairs
in the format key=value. The available keys are:
- voltage: the hashboard's core voltage, in volts. It must be within the
HashboardVoltageMinandHashboardVoltageMaxvalues reported by limits (2.00to2.75on the Z15 Pro,0.666to0.916on the Z15, inclusive). - regulator: (optional) which of the board's regulators to set, 0-based. On the Z15 this is
0,1or2; on the one-regulator Z15 Pro it may be omitted or given as0. Omit it to set every regulator on the board to the same voltage (the reply then carries one entry per regulator).
The reply carries the value actually requested of the regulator; use hashboardctrlget to see it
once it has been applied. On the Z15 Pro the voltage is snapped down to the regulator's 10 mV step, so 2.459 is
applied as 2.45; on the Z15 it is taken in whole millivolts. On a board with several regulators the reply also
includes a Regulator field naming the one that was set.
The board must be detected and running. On the Z15 series the board IDs are the connector IDs 0 to 3: the miner
has three boards on any three of its four connectors, so the IDs are not always 0, 1 and 2. Use
hashboardctrlget or devs to list them.
The change is live only. It is not written to the profile or the configuration, and autosave does not apply. The board goes back to its profile voltage on a profile change (including one made by ATM), on a board restart and on a reboot. A frequencyset keeps the voltage you set.
On the Antminer Z15 Pro, voltageset moves only the PSU's 12 V output, inside a narrow 11.9–12.3 V
window; on the Z15 the PSU is an external, fixed 12 V supply that cannot be adjusted, so voltageset returns 434.
Either way, this command is how you change a hashboard's own voltage on those models.
Command
$ echo '{"command": "hashboardctrlset", "parameter":"yJN2nlj1,1,voltage=2.53"}' | nc $MINER_IP 4028 | jqExamples
In this example, we set the voltage of board 1 to 2.53 V:
$ echo '{"command": "hashboardctrlset", "parameter":"yJN2nlj1,1,voltage=2.53"}' | nc $MINER_IP 4028 | jq
{
"HASHBOARDCTRL": [
{
"Board": 1,
"HashboardVoltage": 2.53
}
],
"STATUS": [
{
"Code": 385,
"Description": "LUXminer 2026.9.28.204000-ecdf06e",
"Msg": "Hashboard Control Set",
"STATUS": "S",
"When": 1790628000
}
],
"id": 1
}On a Z15, set one of a board's three regulators by naming it with regulator. Here we set regulator 1 of board
0 to 0.78 V:
$ echo '{"command": "hashboardctrlset", "parameter":"yJN2nlj1,0,regulator=1,voltage=0.78"}' | nc $MINER_IP 4028 | jq
{
"HASHBOARDCTRL": [
{
"Board": 0,
"HashboardVoltage": 0.78,
"Regulator": 1
}
],
...
}Omitting regulator on a Z15 sets all three regulators of the board to the same voltage, and the reply carries one
HASHBOARDCTRL entry per regulator.
Parameters
| Parameter | Notes |
|---|---|
session_id | A valid session ID. See Session Management for details. |
board_id | ID of a detected, running board. |
voltage | Hashboard voltage in volts, within HashboardVoltageMin..HashboardVoltageMax. |
regulator | Optional. Which regulator to set, 0-based: 0–2 on the Z15, 0 (or omitted) on the one-regulator Z15 Pro. Omit to set every regulator. |
Field details
| Field | Notes |
|---|---|
Board | ID of the board that was changed. |
HashboardVoltage | The voltage requested of the regulator, in volts (snapped down to the 10 mV step on the Z15 Pro, whole millivolts on the Z15). |
Regulator | Multi-regulator boards (Z15) only. The 0-based index of the regulator that was set. |
Errors
As always, check the STATUS field rather than the Code to decide whether a command succeeded. The most common
reasons a hashboardctrlset call is rejected are:
| Code | Reason |
|---|---|
400 | Missing board_id, or no voltage was sent. |
401 | Invalid session_id; a board_id that does not exist or is not running; a bad voltage, either not a number or outside the limits; or a regulator that is not a number or is not one of the board's regulators. |
406 | A parameter after board_id had no = in it. |
408 | Unknown key. Only voltage and regulator are accepted, and keys are case-sensitive. |
410 | The miner is curtailed to idle or sleep. |
416 | ATM is running. |
438 | This miner has no voltage regulator on each hashboard. |