Post
Topic
Board Mining software (miners)
Re: Automate Your miners setup for ur S9 farm | Beta
by
Morescratch
on 08/03/2018, 23:54:02 UTC
Hi all, excellent thread. I think I am going to want to do the same thing. My issue is I want to do this using Python. I can send commands such as 'status' to a miner and get some info but what I really want to do is set the pools, assign an IP, change the root password, etc.

Any ideas on how I might do what SkyLakeMine suggests:

Code:
sed -i 's_^\("api-allow" : \).*_\1"W:your.remote.ip.address,W:192.168.0.1/16,A:0/0",_' bmminer.conf

I want to do the same but with Python... Possible?

Also, assuming I can use the API, is there any docs for it? I looked on BMMiner and I can't find anything...

Cheers,

Morton.