Firmware (LuxOS)
API Docs
CGminer commands
version

version

Description

Returns the version information. To make integration with existing tools more straightforward, LUXminer spoof some of these fields so that if an existing tool does not have explicit LUxminer support, you can still use it "as if" it was a different firmware product (for example, stock Bitmain firmware).

Command

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

Examples

$ echo '{"command": "version"}' | nc $MINER_IP 4028 | jq
{
  "STATUS": [
    {
      "Code": 22,
      "Description": "LUXminer 2024.2.19.131822-ef17c0c4",
      "Msg": "LUXminer versions",
      "STATUS": "S",
      "When": 1672770089
    }
  ],
  "VERSION": [
    {
      "API": "3.7",
      "CompileTime": "Mon Feb 19 13:19:55 UTC 2024",
      "LUXminer": "2024.2.19.131822-ef17c0c4",
      "Miner": "2024.2.19.131822",
      "Type": "Antminer S9"
    }
  ],
  "id": 1
}

Field details

FieldNotes
APIAlways "3.7". This is the same number as the Github published CGMiner API, and is used for compatibility.
BMMinerAlways "1.0.0". Used to spoof BMMiner for compatibility reasons.
MinerAlways "uart_trans.1.3". Used to spoof stock Bitmain firmware.
CompileTimeActual timestamp of when this version was compiled.
LUXminerThe actual LUXminer version.
TypeDisplay name of the miner model.