Luxor Documentation Hub Logo
Firmware/API Docs/LUXminer 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_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.

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"}' | 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,
      "Dangerous": 75,
      "Hot": 70,
      "Target": 65,
      "WaterInletDangerous": 55
    }
  ],
  "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

ParameterNotes
session_idA valid session ID. See Session Management for details.
target_tempThe target temperature that the automatic control strives to reach.
hot_tempThe board temperature considered "hot", when the system turns the fans to 100% in an attempt to cool it down.
dangerous_tempThe board temperature considered "dangerous"; if reached, voltage of the boards is cut and the application shuts down.
chip_hot_tempThe chip temperature considered "hot"; can only be set in the key-value format.
chip_dangerous_tempThe chip temperature considered "dangerous"; can only be set in the key-value format.
water_inlet_dangerous_tempThe chip temperature considered "dangerous"; if reached, voltage of the boards is cut and the application shuts down.

On this page