Firmware (LuxOS)
API Docs
CGminer commands
temps

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": {
        "Label": "Board Outlet",
        "Position": [
          0,
          0
        ]
      },
      "BottomRight": {
        "Label": "Water Inlet",
        "Position": [
          1,
          1
        ]
      },
      "TopLeft": {
        "Label": "Board Inlet",
        "Position": [
          0,
          1
        ]
      },
      "TopRight": {
        "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:

FieldNotes
LabelA descriptive name for the associated temperature sensor.
PositionA matrix-based position for UI display purposes.

For the TEMPS section:

FieldNotes
BoardThe "local" temperature measured. (S9 models only)
ChipThe "remote" temperature measured. (S9 models only)
TopLeftThe "top left" temperature measured. (S19/S21 models)
TopRightThe "top right" temperature measured. (S19/S21 models)
BottomRightThe "bottom right" temperature measured. (S19/S21 models)
BottomLeftThe "bottom left" temperature measured. (S19/S21 models)
IDBoard ID. Starts at zero.
TEMPSame as ID.