Firmware (LuxOS)
API Docs
LUXMiner commands
resetconfig

resetconfig

Description

Removes all luxminer and network configuration present on the machine, and then reboots. The end result is a luxminer instance with "stock" configuration; existing applied updates and log files are still present.

Since this clears network configuration, the machine will restart in DHCP, so be aware of this if you run a network on static IPs only.

Command

$ echo '{"command": "resetconfig", "parameter":"3BCCmZ6b"}' | nc $MINER_IP 4028 | jq

Examples

$ echo '{"command": "resetconfig", "parameter":"3BCCmZ6b"}' | nc $MINER_IP 4028 | jq
{
  "STATUS": [
    {
      "Code": 346,
      "Description": "LUXminer 2023.10.23.171340-d375718",
      "Msg": "Configuration reset scheduled",
      "STATUS": "S",
      "When": 1698153440
    }
  ],
  "id": 1
}

Parameters

ParameterNotes
session_idA valid session ID. See Session Management for details.