API Docs
LUXMiner commands
ledset

ledset

Description

Sets the led state. This is useful to, for example, physically locate a mining unit in the warehouse.

Command

$ echo '{"command": "ledset", "parameter":"yJN2nlj1,red,blink"}' | nc $MINER_IP 4028 | jq

Examples

Setting all chips to the same frequency.

$ echo '{"command": "ledset", "parameter":"yJN2nlj1,red,blink"}' | nc $MINER_IP 4028 | jq
{
  "STATUS": [
    {
      "Code": 320,
      "Description": "LUXminer 0.1.0-15436f7140",
      "Msg": "LED state set",
      "STATUS": "S",
      "When": 1667918080
    }
  ],
  "id": 1
}

Parameters

ParameterNotes
session_idA valid session ID. See Session Management for details.
ledWhich led to set. Currently, the only supported value is "red".
stateThe desired state. Can be "on", "off" or "blink".