FirmwareAPI DocumentationLUXminer commands
tempctrlset
Sets the temperature control values
tempctrlset
Description
Sets the temperature control values. The order must be target, hot and dangerous, and a later value cannot be lower than an earlier one, and they are all related to the board temperature.
To be able to set chip temperatures, you need to use a comma-separated list of key-value pairs, in the format key=value. Using his format, the following keys are available:
- target_temp: The target board temperature.
- hot_temp: The "hot" temperature for the boards.
- dangerous_temp: The "dangerous" board temperature; reaching it will trigger overtemp.
- chip_target_temp: The target chip die temperature.
- chip_hot_temp: The "hot" temperature for the chips.
- chip_dangerous_temp: The "dangerous" chip temperature; reaching it will trigger overtemp.
- water_inlet_dangerous_temp: The "dangerous" temperature for the inlet water; reaching it will trigger overtemp.
- water_inlet_startup_temp: The startup temperature for the inlet water.
- water_inlet_hot_temp: The "hot" temperature for the inlet water.
Note: If autosave is disabled, the changes will be lost after a reboot.
Example (key-value format)
$ echo '{"command": "tempctrlset", "parameter":""yJN2nlj1,target_temp=65,hot_temp=70,dangerous_temp=75,chip_hot_temp=80,chip_dangerous_temp=85,water_inlet_dangerous_temp=55,water_inlet_startup_temp=5,water_inlet_hot_temp=40"}' | nc $MINER_IP 4028 | jq
{
"STATUS": [
{
"Code": 330,
"Description": "LUXminer 2023.9.28.220144-66be080",
"Msg": "Set temperature control",
"STATUS": "S",
"When": 1667917473
}
],
"TEMPCTRL": [
{
"ChipDangerous": 85,
"ChipHot": 80,
"ChipTarget": 87,
"Dangerous": 75,
"Hot": 70,
"Target": 65,
"WaterInletDangerous": 55,
"WaterInletHot": 40.0,
"WaterInletStartup": 5
}
],
"id": 1
}Example (legacy format)
$ echo '{"command": "tempctrlset", "parameter":""yJN2nlj1,65,70,75"}' | nc $MINER_IP 4028 | jq
{
"STATUS": [
{
"Code": 330,
"Description": "LUXminer 2023.9.28.220144-66be080",
"Msg": "Set temperature control",
"STATUS": "S",
"When": 1667917473
}
],
"TEMPCTRL": [
{
"Dangerous": 75,
"Hot": 70,
"Target": 65
}
],
"id": 1
}Parameters
| Parameter | Notes |
|---|---|
session_id | A valid session ID. See Session Management for details. |
target_temp | The target temperature that the automatic control strives to reach. |
hot_temp | The board temperature considered "hot", when the system turns the fans to 100% in an attempt to cool it down. |
dangerous_temp | The board temperature considered "dangerous"; if reached, voltage of the boards is cut and the application shuts down. |
chip_hot_temp | The chip temperature considered "hot"; can only be set in the key-value format. |
chip_dangerous_temp | The chip temperature considered "dangerous"; can only be set in the key-value format. |
water_inlet_dangerous_temp | The chip temperature considered "dangerous"; if reached, voltage of the boards is cut and the application shuts down. |
water_inlet_startup_temp | The minimum water inlet temperature required for the system to start up. Only set in key-value format. |
water_inlet_hot_temp | The water inlet temperature considered "hot"; can only be set in the key-value format. |
chip_target_temp | The target chip die temperature; can only be set in the key-value format. |