dom5684 (OP)
Newbie
Offline
Activity: 22
Merit: 20
|
|
January 17, 2022, 09:09:07 PM Merited by NotATether (2) |
|
I hope everybody’s doing well Thank you for your time and expertise, this forum is a blessing Anybody have the goodness to tell me where I can find a list of the Commands for the Avalon FMS application Thank you
|
|
|
|
BitMaxz
Legendary
Offline
Activity: 3374
Merit: 3095
BTC price road to $80k
|
|
January 17, 2022, 10:57:07 PM Last edit: January 17, 2022, 11:23:08 PM by BitMaxz |
|
I can't find a list of commands for FMS tool but I collected few commands that you can use for FMS check this below If you forgot the password before the change, you can click the Diagnose button and enter the command to display the current password [{"command":"ascset",�"parameter":"0,password,private"}]
The commonly used API instructions are the following: View version :[{"command":"version"}] Re-aging : [{"command":"ascset","parameter":"0,aging-set,1"}] [{"command":"ascset","parameter":"0,aging-parame- ter,60-537:562:587:612"}] Display LCD information : echo -n "lcd|" | socat -t 300 stdio tcp:10.100.227.139:4028,shut-none && echo Aging: [{"command":"ascset", "parameter":"0,aging-set,1"}] Restart: [{"command":"ascset", "parameter":"0,reboot,0"}] Set voltage : [{"command":"ascset", "parameter":"0,hashpower,1260"}]
13. Batch aging of mining machines Select a machine to be aged in status, click the Aging button to start aging
And adding this someone share it here on how to adjust fan speed [{"command":"ascset","parameter":"0,fan-spd,90"}] I got that commands from this source https://www.yunzhan365.com/basic/51-80/83039562.html?mode=pcAlso adding these API commands you can use them and use the above format to use the API commands from this link below - https://github.com/Canaan-Creative/avalon10-docs/blob/master/Universal%20API/Avalon%20A10%20API%20manual-EN.md
|
|
|
|
dom5684 (OP)
Newbie
Offline
Activity: 22
Merit: 20
|
You're always very kind BitMaxz, thank you for helping us, god bless you brother. We are very much grateful if anybody else would like to share any other FMS commands; Canaan is not responding to our emails Thank you for your time I can't find a list of commands for FMS tool but I collected few commands that you can use for FMS check this below If you forgot the password before the change, you can click the Diagnose button and enter the command to display the current password [{"command":"ascset",�"parameter":"0,password,private"}]
The commonly used API instructions are the following: View version :[{"command":"version"}] Re-aging : [{"command":"ascset","parameter":"0,aging-set,1"}] [{"command":"ascset","parameter":"0,aging-parame- ter,60-537:562:587:612"}] Display LCD information : echo -n "lcd|" | socat -t 300 stdio tcp:10.100.227.139:4028,shut-none && echo Aging: [{"command":"ascset", "parameter":"0,aging-set,1"}] Restart: [{"command":"ascset", "parameter":"0,reboot,0"}] Set voltage : [{"command":"ascset", "parameter":"0,hashpower,1260"}]
13. Batch aging of mining machines Select a machine to be aged in status, click the Aging button to start aging
And adding this someone share it here on how to adjust fan speed [{"command":"ascset","parameter":"0,fan-spd,90"}] I got that commands from this source https://www.yunzhan365.com/basic/51-80/83039562.html?mode=pcAlso adding these API commands you can use them and use the above format to use the API commands from this link below - https://github.com/Canaan-Creative/avalon10-docs/blob/master/Universal%20API/Avalon%20A10%20API%20manual-EN.md
|
|
|
|
philipma1957
Legendary
Offline
Activity: 4256
Merit: 8545
'The right to privacy matters'
|
|
January 18, 2023, 12:34:19 AM |
|
It is a shame this list has not been filled out.
|
|
|
|
unicornmangle
Jr. Member
Offline
Activity: 49
Merit: 11
|
|
January 25, 2023, 10:23:39 PM |
|
It is a shame this list has not been filled out.
Is it not the same list of api commands that are in cgminer and bfgminer and every other miner that all use the exact same api? or am i mistaken? when i looked at their python scripts for api commands they were all exactly the same as cgminer.
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
|
January 26, 2023, 05:49:46 AM |
|
I designed and wrote the API Anyway, ascset is a command to allow a driver to accept 'options', of the developer's choice, in the driver code via the API. So whatever 'options' they implement in the 'ascset' function that the API calls, is whatever is available. The norm is also to accept "ascset|0,help" to return the list of ascset options available. However, what they implement is up to them. e.g. in my Gekko driver if you look at the code, it reports the list of options when you pass it 'help' If Canaan wasn't violating the cgminer license like they are doing and hiding the source code, it would be the .set_device defined function in the driver code. But again, it is possible, but not guaranteed, that 'help' may tell you what the options are - but you'd need to see the code to be sure what they do.
|
|
|
|
Cerobug
Newbie
Offline
Activity: 5
Merit: 1
|
|
January 30, 2023, 08:01:24 PM |
|
I designed and wrote the API Anyway, ascset is a command to allow a driver to accept 'options', of the developer's choice, in the driver code via the API. So whatever 'options' they implement in the 'ascset' function that the API calls, is whatever is available. The norm is also to accept "ascset|0,help" to return the list of ascset options available. However, what they implement is up to them. e.g. in my Gekko driver if you look at the code, it reports the list of options when you pass it 'help' If Canaan wasn't violating the cgminer license like they are doing and hiding the source code, it would be the .set_device defined function in the driver code. But again, it is possible, but not guaranteed, that 'help' may tell you what the options are - but you'd need to see the code to be sure what they do. This is what I get when I run that command success: {'session': 1675108800, 'success': [{'ip': '10.138.23.226'}], 'error': [], 'results': [{'node': {'ip': '10.138.23.226'}, 'result': [{'result': "{'STATUS': [{'STATUS': 'I', 'When': 426204, 'Code': 118, 'Msg': 'ASC 0 set info: fan-spd|frequency|hashpower|led|pdelay|reboot|voltage|workmode', 'Description': 'cgminer 4.11.1'}], 'id': 1}"}], 'error': False}]}
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
|
January 31, 2023, 07:46:47 AM |
|
Right, so that is 'suggesting' that the list of commands available to ascset are: fan-spd, frequency, hashpower, led, pdelay, reboot, voltage, workmode Of course that list 'may' be correct or 'may' be incomplete since it's whatever text line they wrote in the code to print out. Alas they've not stated the actual parameters to each so you'd have just try and see. Again, source code solves all this, coz then you just read the code and it tells you exactly what it's doing. Alas canaan doesn't give a shit
|
|
|
|
fabinhomattos
Newbie
Offline
Activity: 6
Merit: 0
|
|
December 30, 2023, 03:02:40 AM |
|
good evening to all.
Sorry if the writing isn't perfect. I don't speak English.
I've been researching a lot on this subject, and I haven't found anything as simple as that, and it's very sad for us to realize that even nowadays, with so much information on the internet, that companies don't care about promoting and explaining their own products, services and derivatives.
I managed to use these codes, for example: " [{"command":"ascset", "parameter":"0,hashpower,1295"}] " but there is a problem. when the equipment is restarted, the settings return to their original state.
I researched and studied the cgminer settings to put in "CGMiner Configuration / More Options", but it seems that nothing runs as it should...
My question is simple and objective and I would appreciate anyone who can solve my question and help other people who, from what I researched, have the same problem:
HOW TO SAVE THESE SETTINGS SO THAT EVEN IF THE AVALON 1066 PRO (IN MY CASE) SHUTS OFF, WHEN IT TURNES ON AGAIN, THE SETTINGS COME BACK AUTOMATICALLY.
Thanks
|
|
|
|
SimplyEverything
Member
Offline
Activity: 126
Merit: 16
Escrow
|
|
March 25, 2024, 06:24:18 PM Last edit: March 26, 2024, 04:31:03 AM by SimplyEverything Merited by NotFuzzyWarm (1) |
|
I emailed them and gotten the unPrivileged API [Edited from quote > code] Thank you @NotFuzzyWarm 1. Working mode query 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,<SPEED> 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,<VOLT>-<0>-<0> 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,<PLL0>:<PLL1>:<PLL2>:<PLL3>-<0>-<MINER_ID>-<ASIC_ID> Parameter Description : -<PLL0>:<PLL1>:<PLL2>:<PLL3> The values represent four frequency points respectively -<MINER_ID> represent hashboard Number -<ASIC_ID> represent the chip number 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,<n> Parameter Description : -<n> n It can be any integer greater than 0. When the miner's when is less than this n, it will 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,<n> Parameter Description : -<n> can be 0 or a positive integer to flip the LED light 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,<ip>,<mask>,<gw> #allocate static ip ascset|0,ip,dhcp #dynamic obtain ip ascset|0,dns,<dns1>,<dns2> #set DNS Parameter Description : -<ip> ip address -<mask>subnetwork mask -<gw>gateway -<dns1>-<dns2>set backup dns [{"command":"ascset","0,ip,static,<ip>,<mask>,<gw>"}] [{"command":"ascset","0,ip,dhcp "}] [{"command":"ascset","0,dns,<dns1>,<dns2> "}] FMS Diagnose :
11. Configure pool information ascset|0,setpool,<username>,<password>,<poolnum>,<pooladdr>,<worker>,<workerpass wd> Parameter Description : -<username>web login username default:root -<password>web login password default:root -<poolnum>Scope 0-2 to set pool number -<pooladdr>pool address -<worker>Worker name -<workerpasswd>Worker password 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,<num1>,<num2> Parameter Description: -<num1> original password -<num2> new password 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}]}
|
-Peace-
|
|
|
NotFuzzyWarm
Legendary
Offline
Activity: 3752
Merit: 2667
Evil beware: We have waffles!
|
|
March 25, 2024, 08:07:47 PM Last edit: March 26, 2024, 01:34:26 PM by NotFuzzyWarm |
|
Excellent and Merit given for that. 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. 1. Working mode query 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,<SPEED> 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,<VOLT>-<0>-<0> 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,<PLL0>:<PLL1>:<PLL2>:<PLL3>-<0>-<MINER_ID>-<ASIC_ID> Parameter Description : -<PLL0>:<PLL1>:<PLL2>:<PLL3> The values represent four frequency points respectively -<MINER_ID> represent hashboard Number -<ASIC_ID> represent the chip number 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,<n> Parameter Description : -<n> n It can be any integer greater than 0. When the miner's when is less than this n, it will 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,<n> Parameter Description : -<n> can be 0 or a positive integer to flip the LED light 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,<ip>,<mask>,<gw> #allocate static ip ascset|0,ip,dhcp #dynamic obtain ip ascset|0,dns,<dns1>,<dns2> #set DNS Parameter Description : -<ip> ip address -<mask>subnetwork mask -<gw>gateway -<dns1>-<dns2>set backup dns [{"command":"ascset","0,ip,static,<ip>,<mask>,<gw>"}] [{"command":"ascset","0,ip,dhcp "}] [{"command":"ascset","0,dns,<dns1>,<dns2> "}] FMS Diagnose :
11. Configure pool information ascset|0,setpool,<username>,<password>,<poolnum>,<pooladdr>,<worker>,<workerpass wd> Parameter Description : -<username>web login username default:root -<password>web login password default:root -<poolnum>Scope 0-2 to set pool number -<pooladdr>pool address -<worker>Worker name -<workerpasswd>Worker password 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,<num1>,<num2> Parameter Description: -<num1> original password -<num2> new password 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}]}
|
|
|
|
|