Firmware (LuxOS)
API Docs
LUXMiner commands
logon

logon

Description

Creates a new session and returns its ID, if there is no other session active. See Session Management for details.

Command

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

Examples

$ echo '{"command": "logon"}' | nc $MINER_IP 4028 | jq
{
  "SESSION": [
    {
      "SessionID": "yJN2nlj1"
    }
  ],
  "STATUS": [
    {
      "Code": 316,
      "Description": "LUXminer 0.1.0-15436f7140",
      "Msg": "Session created",
      "STATUS": "S",
      "When": 1667917312
    }
  ],
  "id": 1
}

Field details

FieldNotes
SessionIDID of the session