Author

Topic: Managment commands (Read 263 times)

newbie
Activity: 14
Merit: 0
May 16, 2019, 03:34:14 AM
#4
Can you try this command

Code:
echo {"command":"lcd"} | nc 192.168.1.218 4028

Yes thank you, here a little statistics, i found more by command "stats".

The documented API readme (I wrote) is the commands available on all miners.
https://github.com/kanoi/cgminer/blob/master/API-README...

See the 'ascset' command...

I guess you'd just have to update the config file and restart the miner to access any specific S9 settings that they allow you change at run time.

Yes i read this documentation, thank you!  My parameter ASC mining is disabled. How is possible to enable it?

For request

Code:
echo {"command":"asccount"} | nc 192.168.70.195 4028

i have this answer

Code:
{"STATUS":[{"STATUS":"S","When":1557992969,"Code":104,"Msg":"ASC count","Description":"bmminer 1.0.0"}],"ASCS":[{"Count":0}],"id":1}

And can not use "ascset" command.
How to enable ASC mining parameter?
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
May 15, 2019, 07:51:53 PM
#3
The documented API readme (I wrote) is the commands available on all miners.
https://github.com/kanoi/cgminer/blob/master/API-README

However, the person who adds the specific miner driver must add commands to change miner settings when it's running.
You'll see that in their driver file in the git where their driver is.
See the 'ascset' command.

So you'll have to find the source for the S9 driver (that Bitmain call bmminer) and check if they added any API commands to change the miner settings
(which I doubt they did)

I guess you'd just have to update the config file and restart the miner to access any specific S9 settings that they allow you change at run time.
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
May 15, 2019, 01:50:02 PM
#2
Did you already check this https://github.com/ckolivas/cgminer/blob/master/API-README you can see some API commands that you can use for getting the miner stats of your miner like temp but for fan speed seems I can't find API command from the link above?

Can you try this command

Code:
echo {"command":"lcd"} | nc 192.168.1.218 4028

It should result with "short status summary of the miner" including the temp.
newbie
Activity: 14
Merit: 0
May 15, 2019, 11:51:06 AM
#1
I found out how is possible to get some information from Antminer S9 by API commands and even some managment commands like

Code:
echo {"command":"disablepool", "parameter":"0"} | nc 192.168.X.X 4028

But i didnt find API commands how is possible to manage some phisical parameters like fan speed or get temperature. How is it possible? I tried command

Code:
quit

with success returned but server still worked. Is it possible to turn off the power of Antminer S9?
Jump to: