BOSminer API
Usage
Braiins is currently concentrating on the development of a new Public API based on gRPC/REST technology. All new features and future developments are centered around this API, which implies that the BOSminer API will be deprecated in the future.
Basic subset of the upstream CGMiner API as well as several new commands are implemented.
To test API, you can use nc in the following way (replace the IP_ADDRESS placeholder with your miner's IP address):
List of all supported commands
Commands from the CGMiner API
We provide only brief description of the commands below. If interested in additional details, please read the official documentation.
asccount- The details of a single ASC numberNin the same format and details as forDEVSasc|N- The number of ASCsconfig- Some miner configuration informationdevdetails- Report per chain configurationdevs- Each available ASC with their detailsedevs[|old]- The same asdevs, except it ignores blacklisted devices and zombie devices (unless theoldparameter is used)pools- Report pool configuration and statisticssummary- The status summary of the minerstats- Each device or pool that has 1 or more getworks with a list of stats regarding getwork timesversion- Print API and BOSminer versionestats- the same as stats, except it ignores blacklisted devices and zombie devicescheck- checks, whether the API command exists and is accessiblecoin- coin mining informationlcd- short status summary of the minerswitchpool|N- switches the selected pool to the highest priorityenablepool|N- enables the selected pooldisablepool|N- disables the selected pooladdpool|URL,USR,PASS- adds poolremovepool|N- removes pool
Note: the commands switchpool, enablepool, disablepool, addpool and removepool are not fully implemented in Braiins OS. The outcome of these commands is reset after restart and they do not activate the pools. This is a known issue and is being fixed.
New commands
fans- Report fans statisticstempctrl- Report temperature control configurationtemps- Report temperature datatunerstatus- Report tuning statisticspause- Immediately pause mining and stop power consumption, prepare for resumeresume- Resume mining after miner has been paused
Examples
fans - Report fans statistics
tempctrl - Report temperature control configuration
temps - Report temperature data
tunerstatus - Report tuning statistics
devdetails - Report device details
pause - Pause Bosminer Log Output
resume Resume Bosminer Log Output