Bitcoin Forum

Bitcoin => Hardware => Topic started by: Cryptomorpher on November 25, 2022, 04:24:11 PM



Title: S19 Pro pause hashing API
Post by: Cryptomorpher on November 25, 2022, 04:24:11 PM
Hey

Are there any API to PAUSE mining on S19 PRO?
And Start/unpause mining later.

AFAIK we dont have SSH access but maybe some RPC.
Avalon e.g. has such functionality

Thanks


Title: Re: S19 Pro pause hashing API
Post by: BitMaxz on November 25, 2022, 06:19:21 PM
There is a sleep mode option in the mining configuration it stops mining but the fan would still be running at low speed. So what do you want to achieve?
Do you want to automate it for solar power?

I can't seem to find an API command yet but I guess it uses Cgminer API check the APIs below

- https://github.com/ckolivas/cgminer/blob/master/API-README

Or instead, try to check awesomeminer managing tool and I think they do have feature to auto sleep and start the miner when needed.


Title: Re: S19 Pro pause hashing API
Post by: Cryptomorpher on November 29, 2022, 06:45:29 PM
Thanks mate for reply
I try to turn off mining when electricity price is too high.


Title: Re: S19 Pro pause hashing API
Post by: BitMaxz on November 30, 2022, 11:18:44 AM
Thanks mate for reply
I try to turn off mining when electricity price is too high.

The only problem is if you are going to use Awesomeminer you will need to use their modded firmware and flash it to your unit to enable SSH and Privilege API.

Another option is by flashing your unit with Braiins OS to get more features like schedule shutdown/power off the miner and schedule when you need to run it again.


Title: Re: S19 Pro pause hashing API
Post by: Artemis3 on December 09, 2022, 07:20:47 PM
We do have API pause resume (https://docs.braiins.com/os/plus-en/Development/1_api.html).


Title: Re: S19 Pro pause hashing API
Post by: Gabrics on December 11, 2022, 09:52:20 AM
Which state and what's the source of power cost?
We do have an in-house solution for ERCOT power cost for Bitmain S19 running factory firmware.

PM me if interested.