Just one thing: it is better to use the Code tag # vs the quote tag. As you see below the code tag makes things much neater.
ascset|0,workmode,255 Query the current mode
FMS Diagnose :
[{"command":"ascset","parameter":"0,workmode,255"}]
2. Set the fixed speed of the miner fan
ascset|0,fan-spd,
eg:ascset|0,fan-spd,100
ps:SPEED represent the expected fan rotate precentage,range:0-100
Parameter Description :
-The value of < speed > represents the expected percentage of fan speed, range: 0-100. If
speed is - 1, it means that automatic speed control is restored (version after 2020-02-12
only)
Give an example:ascset|0,fan-spd,100
FMS Diagnose :
[{"command":"ascset","parameter":"0,fan-spd,100"}]
3.Set working voltage of miner
ascset|0,voltage-level,
Parameter Description :
The value of < volt > represents the voltage level, the first level represents 40mv (the same
for subsequent voltage levels), and the voltage (MV) = volt × 40 + 11000, the last two
parameters are 0 by default
Give an example:ascset|0,voltage-level,65-0-0
FMS Diagnose :
[{"command":"ascset","parameter":"0,voltage-level,65-0-0"}]
4.Set the hashboard PLL
ascset|0,frequency,
Parameter Description :
-
MINER_ ID and ASIC_ ID set to 0 represents all chips in the current range
For example:ascset|0,frequency,0:0:525:575-0-2-1 represent set hash 2 No 1 IC PLL to 0,0,
525,572
FMS Diagnose :
[{"command":"ascset","parameter":"0,frequency,0:0:525:575-0-2-1"}]
5.Comprehensive version query
version
Response example:echo -n "version" | socat -t 300 stdio tcp:10.100.227.152:4028,shut-none
&& echo
Return:STATUS=S,When=10047,Code=22,Msg=CGMiner
versions,Description=cgminer4.11.1|VERSION,CGMiner=4.11.1,API=3.7,STM8=20.08.01,PRO
D=AvalonMiner1246Nxx,MODEL=1246Nxx,HWTYPE=MM3v2_X3,SWTYPE=MM315,VERSIO
N=21092801_4ec6bb0t_59ba312t,LOADER=d0d779de.00,DNA=020100004f55fa20,MAC=b
4a2eb3767a7,UPAPI=2|
FMS Diagnose :
[{"command":"version"}]
6.Restore factory settings
ascset|0,restore
FMS Diagnose :
[{"command":"ascset","parameter":"0,restore"}]
7.Query the reason for the last reboot
ascset|0,bootby
FMS Diagnose :
[{"command":"ascset","parameter":"0,bootby"}]
8.Reboot miner
ascset|0,reboot,
Parameter Description :
-
not restart and return an error (used to realize lax idempotence, allowing repeated calls to
reboot without repeated restart); When when is greater than N, it will restart. When n value is 0, it means forced unconditional restart. For example:ascset|0,reboot,0
FMS Diagnose :
[{"command":"ascset","parameter":"0,reboot,0"}]
9,Control LED
ascset|0,led,
Parameter Description : -
ascset|0,led,n-0 # n is Non-negative integer,it used to turn off LED
ascset|0,led,n-1 # n is Non-negative integer,it used to turn on LED
For example:ascset|0,led,0
FMS Diagnose :
[{"command":"ascset","parameter":"0,led,0"}]
10.Change network setting
ascset|0,ip,static,
ascset|0,ip,dhcp #dynamic obtain ip
ascset|0,dns,
Parameter Description : -
[{"command":"ascset","0,ip,static,
[{"command":"ascset","0,ip,dhcp "}]
[{"command":"ascset","0,dns,
FMS Diagnose :
11. Configure pool information
ascset|0,setpool,
Parameter Description : -
-
For example :ascset|0,setpool,root,root,2,stratum+tcp://btc.ss.poolin.com:443,cctrix.001,123
FMS Diagnose :
[{"command":"ascset","parameter":"0,softoff"}]
12.Set miner soft shutdown
ascset|0,softoff
FMS Diagnose :
[{"command":"ascset","parameter":"0,softoff"}]
13.Restore the current user and password to the default values
ascset|0,password,default
FMS Diagnose :
[{"command":"ascset","parameter":"0,password,default"}]
14.Change password
ascset|0,password,
Parameter Description:
-
-
For example:ascset|0,password,root,123
FMS Diagnose :
[{"command":"ascset","parameter":"0,password,root,123"}]
15.Read pool information
Pools
Response example:echo -n "pools" | socat -t 300 stdio tcp:10.100.232.117:4028,shut-none
&& echo
Return :
STATUS=S,When=121,Code=7,Msg=3Pool(s),Description=cgminer4.11.1|POOL=0,URL=stra
tum+tcp://btc.ss.poolin.com:443,Status=Alive,Priority=0,Quota=1,Long
Poll=N,Getworks=5,Accepted=0,Rejected=0,Works=0,Discarded=0,Stale=0,Get
Failures=0,Remote Failures=0,User=cctrix.001,Last Share Time=0,Diff1 Shares=0,Proxy
Type=,Proxy=,Difficulty Accepted=0.00000000,Difficulty Rejected=0.00000000,Difficulty
Stale=0.00000000,Last Share Difficulty=0.00000000,Work Difficulty=65536.00000000,Has
Stratum=true,Stratum Active=true,Stratum URL=btc.ss.poolin.com,Stratum
Difficulty=16384.00000000,Has Vmask=true,Has GBT=false,Best Share=0,Pool
Rejected%=0.0000,Pool Stale%=0.0000,Bad Work=0,Current Block Height=653809,Current
BlockVersion=536870912|POOL=1,URL=stratum+tcp://btc.ss.poolin.com:25,Status=Alive,Pri
ority=1,Quota=1,LongPoll=N,Getworks=1,Accepted=0,Rejected=0,Works=0,Discarded=0,St
ale=0,Get Failures=0,Remote Failures=0,User=cctrix.001,Last Share Time=0,Diff1
Shares=0,Proxy Type=,Proxy=,Difficulty Accepted=0.00000000,Difficulty
Rejected=0.00000000,Difficulty Stale=0.00000000,Last Share Difficulty=0.00000000,Work
Difficulty=65536.00000000,Has Stratum=true,Stratum Active=false,Stratum URL=,Stratum
Difficulty=0.00000000,Has Vmask=true,Has GBT=false,Best Share=0,Pool
Rejected%=0.0000,Pool Stale%=0.0000,Bad Work=0,Current Block Height=653809,Current
BlockVersion=536870912|POOL=2,URL=stratum+tcp://btc.ss.poolin.com:1883,Status=Alive, Priority=2,Quota=1,LongPoll=N,Getworks=1,Accepted=0,Rejected=0,Works=0,Discarded=0, Stale=0,Get Failures=0,Remote Failures=0,User=cctrix.001,Last Share Time=0,Diff1
Shares=0,Proxy Type=,Proxy=,Difficulty Accepted=0.00000000,Difficulty
Rejected=0.00000000,Difficulty Stale=0.00000000,Last Share Difficulty=0.00000000,Work
Difficulty=65536.00000000,Has Stratum=true,Stratum Active=false,Stratum URL=,Stratum
Difficulty=0.00000000,Has Vmask=true,Has GBT=false,Best Share=0,Pool
Rejected%=0.0000,Pool Stale%=0.0000,Bad Work=0,Current Block Height=653809,Current
Block Version=536870912|
FMS Diagnose :
[{"command":"Pools"}]
16.Read summary information
Summry
Response example : echo -n "summary" | socat -t 300 stdio
tcp:10.100.232.117:4028,shut-none && echo
Return :
STATUS=S,When=173,Code=11,Msg=Summary,Description=cgminer
4.11.1|SUMMARY,Elapsed=134,MHS av=0.00,MHS 30s=0.00,MHS 1m=0.00,MHS
5m=0.00,MHS 15m=0.00,Found Blocks=0,Getworks=9,Accepted=0,Rejected=0,Hardware
Errors=0,Utility=0.00,Discarded=2501222,Stale=0,Get Failures=0,Local Work=3,Remote
Failures=0,Network Blocks=1,Total MH=0.0000,Work Utility=0.00,Difficulty
Accepted=0.00000000,Difficulty Rejected=0.00000000,Difficulty Stale=0.00000000,Best
Share=0,Device Hardware%=0.0000,Device Rejected%=0.0000,Pool Rejected%=0.0000,Pool
Stale%=0.0000,Last getwork=0|
FMS Diagnose:
[{"command":"Summary"}]
17.Read log Information
Estats
For example:echo -n "estats" | socat -t 300 stdio tcp:10.100.232.117:4028,shut-none &&
echo
FMS Diagnose:
[{"command":"Estats"}]
18.Read Fan Information
ascset|0,setpool, fan-global
Return information:
success: {'session': 1632395154, 'success': [{'ip': '10.100.231.239'}], 'error': [], 'results': [{'node':
{'ip': '10.100.231.239'}, 'result': [{'result': "{'STATUS': [{'STATUS': 'I', 'When': 30, 'Code': 118, 'Msg': 'ASC 0 set info: Fan0[0] Fan1[0] Fan2[0] Fan3[0] ', 'Description': 'cgminer 4.11.1'}], 'id':
1}"}], 'error': False}]}