Firmware (LuxOS)
API Docs
CGminer commands
addpool

addpool

Description

Adds a new pool to a group. By default, the pool is added in the curent group, at the bottom of the list. You can change this behavior with the optional group_id parameter.

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

Command

$ echo '{"command": "addpool", "parameter": "stratum+tcp://btc.global.luxor.tech:700,account.worker,"}' | nc $MINER_IP 4028 | jq

Examples

$ echo '{"command": "addpool", "parameter": "stratum+tcp://btc.global.luxor.tech:700,account.worker,"}' | nc $MINER_IP 4028 | jq
{
  "STATUS": [
    {
      "Code": 55,
      "Description": "LUXminer 2024.2.19.131822-ef17c0c4",
      "Msg": "Added pool 2: 'btc.global.luxor.tech:700'",
      "STATUS": "S",
      "When": 1672770090
    }
  ],
  "id": 1
}

Parameters

ParameterNotes
urlURL of the stratum server.
userUser for the stratum connection.
passwordPassword for the stratum connection. Since this parameter is required, you still need to provide the comma (,) separator even if you don't have a password.
group_idOptional. The ID of the group, as shown in the groups command.