psuset
Sets PSU configuration
psuset
Description
Sets the PSU (Power Supply Unit) configuration. 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:
Bypass Configuration
- bypass_enabled: either
trueorfalseto enable or disable PSU bypass mode. - bypass_voltage: the bypass voltage value. See limits for the allowed range (
BypassVoltageMintoBypassVoltageMax).
Fan Control
- fan_enabled: either
trueorfalseto enable or disable the PSU fan. - fan_duty_cycle: the fan duty cycle percentage (0-100). Also accepts the alias
fan_speed.
Fault Management
- clear_faults: clears all PSU fault flags. No value is required (e.g.
clear_faults=1).
Protection Thresholds
These parameters set PMBus protection thresholds directly on the PSU hardware. Not all PSUs support all thresholds — if a threshold is not supported by the PSU firmware, the command will return error code 434. The current threshold values can be seen in the PSUCONFIGLIMITS section of the psuget response.
Each threshold has a short name and a long alias:
| Short Name | Alias | Description |
|---|---|---|
vout_uv_warn | output_voltage_undervoltage_warning_threshold | Output voltage undervoltage warning |
vout_uv_fault | output_voltage_undervoltage_fault_threshold | Output voltage undervoltage fault |
iout_oc_fault | output_current_fault_threshold | Output current overcurrent fault |
iout_oc_warn | output_current_warning_threshold | Output current overcurrent warning |
ot_fault | temperature_fault_threshold_c | Overtemperature fault (°C) |
ot_warn | temperature_warning_threshold_c | Overtemperature warning (°C) |
vin_ov_warn | input_voltage_overvoltage_warning_threshold | Input voltage overvoltage warning |
vin_uv_warn | input_voltage_undervoltage_warning_threshold | Input voltage undervoltage warning |
iin_oc_warn | input_current_warning_threshold | Input current overcurrent warning |
pin_op_warn | input_power_warning_threshold | Input power overpower warning |
You can specify only the keys you want to change, and it can be done in any order.
The current PSU configuration can be seen on the psuget command.
Note: Bypass configuration changes (bypass_enabled, bypass_voltage) are persisted to the miner config. After changing bypass_enabled, the setting will only be applied after a system reboot. If autosave is disabled, the changes will be lost after a reboot.
Note: Fan control and protection threshold changes are written directly to the PSU hardware and are not persisted to the miner config. They may be reset if the PSU is power-cycled.
Command
Examples
Setting bypass configuration
In this example, we enable bypass mode and set a bypass voltage of 13.5:
Setting a protection threshold
In this example, we set the overtemperature warning threshold to 55°C:
Unsupported threshold error
If the PSU firmware does not support a given threshold, an error is returned:
Setting fan duty cycle
Parameters
| Parameter | Notes |
|---|---|
session_id | A valid session ID. See Session Management for details. |
params | List of key-value parameters to change. |