1

I am helping a friend set up his Antminer S19 Pro+ miner and due to fluctuating power availability, he needs to control the hash rate, or ideally power usage (in wattage) remotely.

Is it possible to remotely control the hash rate or power limit on the S19 Pro+ using the stock firmware?

I looked around and could find no official documentation on how to do this. There exists commercial firmware that charge pool commission, which seem to tune power usage by controlling the hash rate in a feedback loop. However, this seems like a basic configuration setting that should be modifiable by an API, or low-level interface.

I am a professional programmer and can interface with any socket, websocket or API that the Antminer exposes, even if it means reverse-engineering their web interface.

Any help would be appreciated :).

2

1 Answer 1

0

No, stock Antminer firmware offers a sleep and normal state. They introduced a low power state a couple of years ago on the S19 fleet. They've finally introduced a high power state in the new 21 series. Programmatically, just POST to the config cgi endpoint, it does reboot the miner though.

Somewhere on the miner's configs there is a voltage/frequency combination. It leaks through on one of the cgi endpoints, I've never tried messing with it. Its also available over SSH, I believe its writable with the default miner:miner SSH user/pass.

Frankly, just go with aftermarket firmware if you require any more granularity than sleep/low/normal/high.

Bitmain's firmware is also just a fork of cgminer. The raw TCP port 4028 still applies, albeit the data returned is vastly different. https://github.com/ckolivas/cgminer/blob/master/API-README

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.