Luxor Documentation Hub Logo
Firmware/API Documentation/CGminer commands

temps

Shows per-board temperature data

temps

Description

Shows per-board temperature data with associated metadata.

Command

$ echo '{"command": "temps"}' | nc $MINER_IP 4028 | jq

Examples

The output fields change depending on the miner model. The example below shows the fields available on a Hydro model; please check the Field Details section to see the full list of available fields.

$ echo '{"command": "temps"}' | nc $MINER_IP 4028 | jq
{
  "METADATA": [
    {
      "BottomLeft": {
        "IsCritical": true,
        "Label": "Board Outlet",
        "Position": [
          0,
          0
        ]
      },
      "BottomRight": {
        "IsCritical": true,
        "Label": "Water Inlet",
        "Position": [
          1,
          1
        ]
      },
      "TopLeft": {
        "IsCritical": false,
        "Label": "Board Inlet",
        "Position": [
          0,
          1
        ]
      },
      "TopRight": {
        "IsCritical": true,
        "Label": "Water Outlet",
        "Position": [
          1,
          0
        ]
      }
    }
  ],
  "STATUS": [
    {
      "Code": 201,
      "Description": "LUXminer 2024.10.3.150831-2f8692f0",
      "Msg": "3 Temp(s)",
      "STATUS": "S",
      "When": 1728398031
    }
  ],
  "TEMPS": [
    {
      "BottomLeft": 58,
      "BottomRight": 42,
      "ID": 1,
      "TEMP": 1,
      "TopLeft": 56,
      "TopRight": 48
    },
    {
      "BottomLeft": 58,
      "BottomRight": 42,
      "ID": 2,
      "TEMP": 2,
      "TopLeft": 55,
      "TopRight": 48
    },
    {
      "BottomLeft": 59,
      "BottomRight": 43,
      "ID": 0,
      "TEMP": 0,
      "TopLeft": 56,
      "TopRight": 48
    }
  ],
  "id": 1
}

Field details

For the METADATA section:

Alongside TEMPS, the response includes a METADATA object keyed by sensor field name (e.g. TopLeft, BoardCh0). Each entry has:

FieldNotes
LabelHuman-readable name for UI display (e.g. "Board Exhaust (top)", "Chip (Max)", "Water Inlet").
Position[x, y] grid coordinates for UI layout.
IsCriticaltrue if this sensor participates in overtemp/shutdown decisions; false if it is display-only.

For the TEMPS section:

All temperatures are in °C. The set of fields present in each TEMPS entry depends on the miner's hardware — clients should iterate the entry's keys rather than assume a fixed schema.

FieldNotes
IDBoard ID. Starts at zero.
TEMPSame as ID.
BoardBoard temperature. (Whatsminer)
ChipMaximum chip on-die temperature for the hashboard. (Whatsminer)
TopLeft"Top left" board sensor. (S19, some S21 models, S19a)
TopRight"Top right" board sensor. (S19, some S21 models, S19a)
BottomLeft"Bottom left" board sensor. (S19, some S21 models, S19a)
BottomRight"Bottom right" board sensor. (S19, some S21 models, S19a)
TopLeftChipTop-left chip temperature. (S19a)
TopRightChipTop-right chip temperature. (S19a)
BottomLeftChipBottom-left chip temperature. (S19a)
BottomRightChipBottom-right chip temperature. (S19a)
BoardInletBoard inlet sensor. (some Hydro models)
BoardOutletBoard outlet sensor. (some Hydro models)
WaterInletWater inlet temperature. (some Hydro models)
WaterOutletWater outlet temperature. (some Hydro models)
BoardTopLeftTop-left board sensor. (I2C-mux models, e.g. S21 Pro, S21 XP, some Hydro models)
BoardMiddleLeftMiddle-left board sensor. (I2C-mux models)
BoardBottomLeftBottom-left board sensor. (I2C-mux models)
BoardTopRightTop-right board sensor. (I2C-mux models)
ChipTopLeftTop-left chip temperature. (I2C-mux models)
ChipMiddleLeftMiddle-left chip temperature. (I2C-mux models)
ChipBottomLeftBottom-left chip temperature. (I2C-mux models)
ChipTopRightTop-right chip temperature. (I2C-mux models)
BoardCh0BoardCh4Board sensor on channels 0–4. (I2C-mux hydro, e.g. U3 S21e XP Hydro)
ChipCh0ChipCh4Chip on-die temperature on channels 0–4. (I2C-mux hydro)

On this page