Firmware (LuxOS)
API Docs
LUXMiner commands
profilerestore

profilerestore

Description

Restore a profile to its original value. This can only be done on profiles with the CanRestore field equals to true (check profileget or profiles to get this value), and if ATM is off.

If you restore the current profile, it will be reapplied automatically.

Command

$ echo '{"command": "profilerestore", "parameter":"DXtNqTKy,default"}' | nc $MINER_IP 4028 | jq

Examples

$ echo '{"command": "profilerestore", "parameter":"DXtNqTKy,default"}' | nc $MINER_IP 4028 | jq
{
  "PROFILE": [
    {
      "Profile": "default"
    }
  ],
  "STATUS": [
    {
      "Code": 353,
      "Description": "LUXminer 2024.2.8.154330-596105ba",
      "Msg": "Profile restored",
      "STATUS": "S",
      "When": 1707412029
    }
  ],
  "id": 1
}

Parameters

ParameterNotes
session_idA valid session ID. See Session Management for details.
profile_nameThe name of the profile to be removed.