Bitcoin Forum
May 21, 2024, 11:07:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Managment commands  (Read 247 times)
dexterov (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
May 15, 2019, 04:51:06 PM
Last edit: May 15, 2019, 11:48:12 PM by frodocooper
 #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?
BitMaxz
Legendary
*
Offline Offline

Activity: 3262
Merit: 2974


Block halving is coming.


View Profile WWW
May 15, 2019, 06:50:02 PM
Last edit: May 15, 2019, 11:48:35 PM by frodocooper
 #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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
kano
Legendary
*
Offline Offline

Activity: 4508
Merit: 1815


Linux since 1997 RedHat 4


View Profile
May 16, 2019, 12:51:53 AM
 #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.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
dexterov (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
May 16, 2019, 08:34:14 AM
Last edit: May 20, 2019, 12:07:03 PM by dexterov
 #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?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!