FirmwareAPI DocumentationCGminer commands
config
Basic configuration info
config
Description
Lists basic runtime configuration information. This command exists mostly for CGMiner compatibility; if you are interested in changing the runtime configuration, it is better to look into luxminer-specific commands.
Command
$ echo '{"command": "config"}' | nc $MINER_IP 4028 | jqExamples
$ echo '{"command": "config"}' | nc $MINER_IP 4028 | jq
{
"CONFIG": [
{
"ASC Count": 3,
"ActualPowerTarget": 2308,
"BcastAddr": "192.168.255.255",
"ControlBoardType": "xilinx",
"Cooling": "Hydro",
"CurtailMode": "Sleep",
"DHCP": true,
"DNS Servers": "",
"Device Code": "",
"FPGABuildIdHex": "0x22111417",
"FPGABuildIdStr": "2022-11-14 17:00",
"FeeStatus": "Ok",
"Gateway": "192.168.0.1",
"GreenLed": "auto",
"HasDieTempOverheatCoverage": false,
"Hostname": "LuxOS",
"Hotplug": "None",
"IPAddr": "192.168.121.52",
"IdealPowerTarget": 3462,
"ImmersionMode": false,
"IsAtmEnabled": false,
"IsPowerSupplyOn": false,
"IsPowerTargetEnabled": true,
"IsPowerTargetSupported": true,
"IsSingleVoltage": true,
"IsTuning": true,
"Log Interval": 0,
"LogFileLevel": "info",
"MACAddr": "d4:33:b2:5d:e0:56",
"Model": "Antminer S19 XP Hydro",
"NameplateTHS": 259.8,
"Netmask": "255.255.0.0",
"OS": "LuxOS",
"PGA Count": 0,
"PIC": "PIC",
"PSUHwVersion": "65",
"PSULabel": "APW111721c",
"Pool Count": 1,
"PowerLimit": 3462,
"Profile": "250MHz",
"ProfileStep": "-5",
"RampMode": "PowerTarget",
"RedLed": "auto",
"SerialNumber": "HKYWSHFKSB76K900DG",
"Strategy": "Failover",
"SystemStatus": "Normal",
"UpdateOnStartup": "off",
"UpdateOnTimeout": "off",
"UpdateOnUser": "full",
"UpdateSource": "https://storage.googleapis.com/luxor-firmware/stable",
"UpdateTimeout": 60
}
],
"STATUS": [
{
"Code": 33,
"Description": "LUXminer 2024.10.3.150831-2f8692f0",
"Msg": "LUXminer config",
"STATUS": "S",
"When": 1728343340
}
],
"id": 1
}Field details
| Field | Notes |
|---|---|
ASC Count | Number of boards, as defined in luxminer.toml. |
ActualPowerTarget | Actual power target that is being chased (only if using power targeting). |
BcastAddr | Miner broadcast address. |
ControlBoardType | Returns control board model, i.e. beaglebone, amlogic, xilinx or cvitek |
Cooling | Returns the machines cooling architecture Air, Hydro or Immersion |
CurtailMode | Either None, Sleep or WakeUp. |
DHCP | true if the miner is using a dynamic IP address. |
DNS Servers | Comma-separated list of DNS servers. |
Device Code | Always "". |
FPGABuildIdHex | FPGA build ID, in hex. |
FPGABuildIdStr | FPGA build ID, as string. |
FeeStatus | Fee connection status, either Ok or Failure |
Gateway | Network gateway. |
HasDieTempOverheatCoverage | true if the miner has ASIC chips with on die-temperature sensors that can be used for overheat protection |
Hostname | Machine host name. |
Hotplug | Always "None". |
IPAddr | Miner IP address. |
IdealPowerTarget | Ideal power target to be chased, when the miner is fully functional (only if using power targeting) |
ImmersionMode | true if immersion mode is enabled. |
IsAtmEnabled | true if ATM is enabled. |
IsPowerSupplyOn | true if the power supply is on. |
IsPowerTargetEnabled | true if power targeting is being used. |
IsPowerTargetSupported | true if the connected miner hardware supports power targeting. |
IsSingleVoltage | true if the machine supports only a single voltage value. |
IsTuning | true if the autotuner is running. |
Log Interval | Always zero. |
LogFileLevel | Log level to be used for the log files |
MACAddr | Miner MAC address. |
Model | Miner model. |
NameplateTHS | The nameplate hashrate, in TH/s, assuming 3 boards in the default configuration. |
Netmask | Network mask. |
OS | Always "LuxOS". |
PGA Count | Always zero. |
PIC | Either PIC for miners with PIC or NoPIC if the miner has no PIC. May return Unknown if the hardware detection fails. |
PSUHwVersion | Hardware version of the PSU. |
PSULabel | Label of the PSU. Can be classified as Unknown, even if the PSU is supported. |
Pool Count | Number of pools, as defined on luxminer.toml. |
PowerLimit | Maximum allowed power target. |
SerialNumber | Control board serial number. Might be empty. |
Profile | Name of the current profile. |
ProfileStep | The relative position of this profile, considering 'default' as zero. For user-created profiles, the value is always empty. |
RampMode | The ramping strategy the miner is actively using: Standard, PowerTarget, or Bist. When PowerTarget or Bist, IsPowerTargetEnabled will be true. |
RedLed | The red front panel LED, can be either "off", "on", "blink" or "auto". |
GreenLed | The green front panel LED, can be either "off", "on", "blink" or "auto". |
Strategy | Always "Failover". |
SystemStatus | Either Normal or Initializing. |
UpdateOnStartup | Either off, download, apply or full. |
UpdateOnTimeout | Either off, download, apply or full. |
UpdateOnUser | Either off, download, apply or full. |
UpdateSource | The source location of the updates. |
UpdateTimeout | The timeout to trigger auto updates. Used only if UpdateOnTimeout is not off. |