Author

Topic: AvalonMiner 1047 Data (Read 216 times)

sr. member
Activity: 463
Merit: 309
September 12, 2019, 09:39:01 AM
#2
You'll need to take a look at the cgminer api found here: https://github.com/ckolivas/cgminer/blob/master/API-README

Easiest method is to send the command stats or estats  to the miner with a script in your preferred language some examples are here: https://github.com/ckolivas/cgminer
The examples are api-example.language file.

Alternatively you can use Avalon's FMS to monitor and administer the miners but in my opinion it's a bit flaky.
newbie
Activity: 4
Merit: 0
September 12, 2019, 04:36:58 AM
#1
Hi all

Just received an AvalonMiner 1047

Looking for help with software to pull information from the miner and record it heres a spreadsheet of data, ill also attach an API Report. All the information looks like it's in "MM ID0": under  "STATS": i hope to be able to monitor over 1000 of these units so pulling the information is key but I wouldn't know where to start.

Downloaded  https://grafana.com/ to see if that's what im after

https://docs.google.com/spreadsheets/d/1k8U_xcPK0u-rs0jqeWfdh4mv9tL1WqWIjbRsEypHlCg/edit?usp=sharing

Low Performance Mode Report
Code:
Version: 7.0.2 (2)
API command: config
{
  "STATUS": [
    {
      "STATUS": "S",
      "When": 4378,
      "Code": 33,
      "Msg": "CGMiner config",
      "Description": "cgminer 4.11.1"
    }
  ],
  "CONFIG": [
    {
      "ASC Count": 1,
      "PGA Count": 0,
      "Pool Count": 1,
      "Strategy": "Failover",
      "Log Interval": 30,
      "Device Code": "",
      "OS": "Unknown",
      "Hotplug": "None"
    }
  ],
  "id": 1
}
API command: summary
{
  "STATUS": [
    {
      "STATUS": "S",
      "When": 4378,
      "Code": 11,
      "Msg": "Summary",
      "Description": "cgminer 4.11.1"
    }
  ],
  "SUMMARY": [
    {
      "Elapsed": 4359,
      "MHS av": 31043002.33,
      "MHS 30s": 29649198.87,
      "MHS 1m": 30265015.98,
      "MHS 5m": 31022937.1,
      "MHS 15m": 31154461.42,
      "Found Blocks": 0,
      "Getworks": 130,
      "Accepted": 146,
      "Rejected": 0,
      "Hardware Errors": 1,
      "Utility": 2.01,
      "Discarded": 0,
      "Stale": 0,
      "Get Failures": 0,
      "Local Work": 62598,
      "Remote Failures": 0,
      "Network Blocks": 18,
      "Total MH": 137610471151.0,
      "Work Utility": 441060.81,
      "Difficulty Accepted": 36208640.0,
      "Difficulty Rejected": 0.0,
      "Difficulty Stale": 0.0,
      "Best Share": 45514643,
      "Device Hardware%": 0.0,
      "Device Rejected%": 0.0,
      "Pool Rejected%": 0.0,
      "Pool Stale%": 0.0,
      "Last getwork": 0
    }
  ],
  "id": 1
}
API command: privileged
{
  "STATUS": [
    {
      "STATUS": "S",
      "When": 4378,
      "Code": 46,
      "Msg": "Privileged access OK",
      "Description": "cgminer 4.11.1"
    }
  ],
  "id": 1
}
API command: devs
{
  "STATUS": [
    {
      "STATUS": "S",
      "When": 4379,
      "Code": 9,
      "Msg": "1 ASC(s)",
      "Description": "cgminer 4.11.1"
    }
  ],
  "DEVS": [
    {
      "ASC": 0,
      "Name": "AVA10",
      "ID": 0,
      "Enabled": "Y",
      "Status": "Alive",
      "Temperature": -273.0,
      "MHS av": 31939344.49,
      "MHS 30s": 29620020.48,
      "MHS 1m": 30245218.03,
      "MHS 5m": 31017711.64,
      "MHS 15m": 31152645.99,
      "Accepted": 132,
      "Rejected": 0,
      "Hardware Errors": 1,
      "Utility": 1.84,
      "Last Share Pool": 0,
      "Last Share Time": 4345,
      "Total MH": 137623665290.0,
      "Diff1 Work": 32043008,
      "Difficulty Accepted": 32538624.0,
      "Difficulty Rejected": 0.0,
      "Last Share Difficulty": 262144.0,
      "Last Valid Work": 4379,
      "Device Hardware%": 0.0,
      "Device Rejected%": 0.0,
      "Device Elapsed": 4309
    }
  ],
  "id": 1
}
API command: pools
{
  "STATUS": [
    {
      "STATUS": "S",
      "When": 4379,
      "Code": 7,
      "Msg": "1 Pool(s)",
      "Description": "cgminer 4.11.1"
    }
  ],
  "POOLS": [
    {
      "POOL": 0,
      "URL": "stratum+tcp://stratum.antpool.com:3333",
      "Status": "Alive",
      "Priority": 0,
      "Quota": 1,
      "Long Poll": "N",
      "Getworks": 130,
      "Accepted": 146,
      "Rejected": 0,
      "Works": 31293,
      "Discarded": 0,
      "Stale": 0,
      "Get Failures": 0,
      "Remote Failures": 0,
      "User": "Magicstick2.Rentals",
      "Last Share Time": 4345,
      "Diff1 Shares": 32043008,
      "Proxy Type": "",
      "Proxy": "",
      "Difficulty Accepted": 36208640.0,
      "Difficulty Rejected": 0.0,
      "Difficulty Stale": 0.0,
      "Last Share Difficulty": 262144.0,
      "Work Difficulty": 262144.0,
      "Has Stratum": true,
      "Stratum Active": true,
      "Stratum URL": "stratum.antpool.com",
      "Stratum Difficulty": 262144.0,
      "Has Vmask": true,
      "Has GBT": false,
      "Best Share": 45514643,
      "Pool Rejected%": 0.0,
      "Pool Stale%": 0.0,
      "Bad Work": 17,
      "Current Block Height": 594500,
      "Current Block Version": 536870912
    }
  ],
  "id": 1
}
API command: coin
{
  "STATUS": [
    {
      "STATUS": "S",
      "When": 4379,
      "Code": 78,
      "Msg": "CGMiner coin",
      "Description": "cgminer 4.11.1"
    }
  ],
  "COIN": [
    {
      "Hash Method": "sha256",
      "Current Block Time": 4100.468147,
      "Current Block Hash": "000000000000000000071b49ee156f053b464f114a22f5d3633fd67d5895bd5f",
      "LP": true,
      "Network Difficulty": 10771996663680.396
    }
  ],
  "id": 1
}
API command: stats
{
  "STATUS": [
    {
      "STATUS": "S",
      "When": 4379,
      "Code": 70,
      "Msg": "CGMiner stats",
      "Description": "cgminer 4.11.1"
    }
  ],
  "STATS": [
    {
      "STATS": 0,
      "ID": "AVA100",
      "Elapsed": 4359,
      "Calls": 0,
      "Wait": 0.0,
      "Max": 0.0,
      "Min": 99999999.0,
      "MM ID0": "Ver[1047-19082601_59a9515_f115e07] DNA[02010000cd0e4e8a] NETFAIL[0 0 0 0 0 0 0 0] SYSTEMSTATU[Work: In Work, Hash Board: 2] Elapsed[4361] MW[1317679 1317744] LW[2635423] MH[1 0] HW[1] DH[0.656%] Temp[32] TMax[69] TAvg[64] Fan1[4211] Fan2[4211] FanR[70%] Vo[317] PS[0 1207 1269 140 1776 1268] PLL0[1527 1127 891 3535] PLL1[1318 1079 989 3694] GHSmm[31834.32] GHSavg[31555.26] WU[440821.91] Freq[562.05] Led[0] MGHS[15632.42 15922.84] MTmax[66 69] MTavg[61 63] TA[240] ECHU[512 512] ECMM[0] SF0[500 550 575 587] SF1[500 550 575 587] PVT_T0[ 62  63  61  59  62  62  63  61  59  58  61  63  63  61  58  59  63  62  62  63  59  59  62  63  63  61  59  59  60  62  62  61  59  59  61  62  63  61  59  58  61  63  60  60  58  56  60  60  60  58  57  56  58  61  60  58  55  55  57  58  61  62  59  61  62  61  63  62  62  61  63  63  63  64  62  63  64  63  65  65  65  63  64  65  64  65  65  64  65  65  64  65  64  64  64  65  64  65  65  64  65  64  65  65  64  63  65  65  66  65  65  63  65  64  63  64  64  62  65  63] PVT_T1[ 64  63  60  60  62  64  64  63  60  59  62  63  63  62  59  59  61  63  63  62  60  62  65  65  64  65  63  62  64  65  65  64  63  62  65  65  66  64  62  61  64  65  63  63  60  58  61  63  62  61  59  58  61  62  61  61  59  59  61  61  64  63  62  63  65  66  65  65  64  64  65  65  66  65  64  65  67  66  67  68  68  68  68  67  67  69  69  69  69  68  68  68  67  67  68  68  67  68  66  65  66  65  66  66  65  64  65  66  66  66  66  64  65  65  65  66  65  62  65  66] PVT_V0[305 306 306 307 306 307 303 306 307 308 309 310 312 310 312 308 309 308 307 308 308 308 308 308 306 309 308 306 307 309 303 306 304 307 307 310 302 304 308 306 308 307 308 307 308 307 306 309 311 314 313 308 307 306 314 314 314 317 319 322 311 309 309 307 309 310 313 312 312 314 311 310 303 301 303 304 307 309 301 301 305 299 303 301 314 315 315 305 306 308 305 306 307 302 304 304 304 303 302 306 306 306 309 309 311 304 304 307 308 309 310 305 305 304 306 306 307 301 303 305] PVT_V1[304 307 309 304 304 303 308 307 307 304 303 303 314 311 311 308 309 307 306 306 307 312 313 312 304 302 302 302 303 304 306 307 307 303 304 305 310 313 314 304 305 306 308 308 309 309 308 308 302 302 303 309 309 307 314 312 312 327 329 331 325 321 319 325 324 322 311 309 309 317 317 317 307 304 305 306 303 300 304 301 300 303 305 304 305 306 307 304 305 303 307 307 305 307 307 306 303 301 304 303 303 304 310 309 310 302 302 300 314 312 312 304 302 300 307 304 301 302 301 300] MW0[105 126 139 124 144 117 132 145 141 148 130 123 124 144 138 127 121 126 142 131 123 149 103 131 134 127 144 135 120 123 130 113 145 137 137 148 131 125 132 137 134 123 118 128 123 124 127 121 142 123 115 105 138 112 123 122 136 140 148 133 120 121 129 117 139 121 126 136 137 120 120 134 107 139 128 135 122 120 115 147 126 122 105 136 135 109 146 122 131 135 121 134 136 140 118 117 138 141 130 106 128 134 161 153 131 146 131 111 138 150 124 126 134 124 121 131 121 116 132 123] MW1[154 125 135 127 120 138 130 125 121 143 151 125 130 116 132 116 126 121 125 134 148 142 112 139 126 164 101 133 114 126 146 113 105 111 124 134 125 146 127 117 101 144 132 130 141 129 124 134 147 126 148 118 136 133 121 128 123 144 130 149 152 144 147 123 143 141 139 140 139 142 124 143 97 142 124 126 132 125 120 138 134 129 113 137 139 129 139 146 137 130 116 138 149 128 150 111 111 115 139 112 135 130 111 137 148 112 145 161 128 146 141 133 145 129 124 143 130 137 155 132] CRC[0 0] POW_I2C_CONN[SUCCES] HS_RCD0[Tenv:32 Tavg:63 Fan1:4260 Fan2:4248 V12:1207 Vout:1269 P_I:140 P_P:1776] HS_RCD1[Tenv:32 Tavg:63 Fan1:4235 Fan2:4235 V12:1207 Vout:1269 P_I:140 P_P:1776] HS_RCD2[Tenv:32 Tavg:63 Fan1:4260 Fan2:4271 V12:1207 Vout:1269 P_I:140 P_P:1776] HS_RCD3[Tenv:32 Tavg:63 Fan1:4198 Fan2:4198 V12:1207 Vout:1269 P_I:140 P_P:1776] HS_RCD4[Tenv:33 Tavg:63 Fan1:4235 Fan2:4235 V12:1207 Vout:1269 P_I:140 P_P:1776] MEMFREE[271928 B] FACOPTS0[] FACOPTS1[] WORKMODE[0] ",
      "MM Count": 1,
      "Smart Speed": 1,
      "Connection Overloaded": false,
      "Voltage Level Offset": 0,
      "Nonce Mask": 25
    },
    {
      "STATS": 1,
      "ID": "POOL0",
      "Elapsed": 4359,
      "Calls": 0,
      "Wait": 0.0,
      "Max": 0.0,
      "Min": 99999999.0,
      "Pool Calls": 0,
      "Pool Attempts": 0,
      "Pool Wait": 0.0,
      "Pool Max": 0.0,
      "Pool Min": 99999999.0,
      "Pool Av": 0.0,
      "Work Had Roll Time": false,
      "Work Can Roll": false,
      "Work Had Expire": false,
      "Work Roll Time": 0,
      "Work Diff": 262144.0,
      "Min Diff": 32768.0,
      "Max Diff": 262144.0,
      "Min Diff Count": 202,
      "Max Diff Count": 30358,
      "Times Sent": 149,
      "Bytes Sent": 20745,
      "Times Recv": 281,
      "Bytes Recv": 179388,
      "Net Bytes Sent": 20745,
      "Net Bytes Recv": 179388
    }
  ],
  "id": 1
}
Jump to: