API Docs
CGminer commands
enablepool

enablepool

Description

Enables a specific pool. This has no effect if the pool is already enabled. If the enabled pool has a higher priority within the group (i. e. it is "on top" of the currently active pool), the current pool connection will be closed and a connection attempt will be made to this pool.

See Groups and Pools for details.

Note: If autosave is disabled, the changes will be lost after a reboot.

Command

$ echo '{"command": "enablepool", "parameter": "1"}' | nc $MINER_IP 4028 | jq

Examples

$ echo '{"command": "enablepool", "parameter": "1"}' | nc $MINER_IP 4028 | jq
{
  "STATUS": [
    {
      "Code": 47,
      "Description": "LUXminer 2024.2.19.131822-ef17c0c4",
      "Msg": "Enabling pool 1: 'btc.global.luxor.tech:700'",
      "STATUS": "S",
      "When": 1672770090
    }
  ],
  "id": 1
}

Parameters

ParameterNotes
pool_idNumeric ID of the pool. It is the same value as returned on pools command.