fanset
Sets fan speed
fanset
Description
Updates the fan control options. 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:
- speed: set the power sent to the fans; 0-100 integer value for a fixed speed, or -1 to let luxminer control the fan speed automatically.
- min_fans: a zero or positive value indicating the minimum required number of fans.
- power_off_speed: is the fan power when the PSU is powered off because of curtailment or a power-off event.
- min_speed: is the minimum speed that the automatic fans can use (can't go lower than 20). Using
-1
will set it to the default value. - max_speed: is the maximum speed that the automatic fans can use (can't go lower than 50). Using
-1
will set it to the default value.
Notes:
- If autosave is disabled, the changes will be lost after a reboot.
- This command will return an error for machines that do not natively have fans (i.e. Hydro and Immersion models).
- The command will fail if
min_speed
is greater thanmax_speed
. Please use the limits command to check the valid values.
Manual fan speed can cause overtemp shutdown / risk to hardware if not propery adjusted.
Command
Note: In previous luxminer versions, this command required speed and min fans as sequential unnamed parameters.
However, for compatibility reasons, if the second parameter can be interpreted as a number, the command will be handled as the old approach so this way we are fully backward-compatible.
Most of the examples on this page use the new format.
Examples
In this example, we set the parameters using the legacy format, which allows setting only the speed and the minimum number of fans.
In this example, we use the new format to change the bounds of the automatic fans:
Parameters
Parameter | Notes |
---|---|
session_id | A valid session ID. See Session Management for details. |
speed | Optional. A 0-100 value for a fixed speed, or -1 to let luxminer control the fan speed. |
min_fans | Optional. A zero or positive value indicating the minimum required number of fans. |
power_off_speed | Optional. A 0-100 value that defines the fan speed when miner goes in power-off. |
min_speed | The minimum speed to be used by automatic fans. Setting to -1 will use the default limit. |
max_speed | The maximum speed to be used by automatic fans. Setting to -1 will use the default limit. |