Firmware (LuxOS)
API Docs
LUXMiner commands
session

session

Description

Returns the ID of the active session, or a blank value if there is no active session.

Command

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

Examples

$ echo '{"command": "session"}' | nc $MINER_IP 4028 | jq
{
  "SESSION": [
    {
      "SessionID": ""
    }
  ],
  "STATUS": [
    {
      "Code": 319,
      "Description": "LUXminer 0.1.0-15436f7140",
      "Msg": "Session information",
      "STATUS": "S",
      "When": 1667917088
    }
  ],
  "id": 1
}

Field details

FieldNotes
SessionIDID of the active session, or "" if there is no active session.