Title: Managment commands Post by: dexterov on May 15, 2019, 04:51:06 PM 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? Title: Re: Managment commands Post by: BitMaxz on May 15, 2019, 06:50:02 PM 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. Title: Re: Managment commands Post by: kano on May 16, 2019, 12:51:53 AM 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. Title: Re: Managment commands Post by: dexterov on May 16, 2019, 08:34:14 AM 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? |