anselal / antminer-monitor

Cryptocurrency ASIC mining hardware monitor using a simple web interface
GNU General Public License v3.0
228 stars 145 forks source link

add support for BW21 #182

Open HMCmin opened 3 years ago

HMCmin commented 3 years ago

Add support for bw21 litecoin miner

BW.com BW-L21

Hash rate: 550 Mh/s +/- 10% Power consumption: 950 W +/- 10% Power efficiency: 1.727 J / Mh/s DC voltage input: 12 VDC +/- 5% ASIC chip type: 28nm LTC ASIC chip by BW.com ASIC chip quantity per unit (miner): 144 chips Number of hash boards per unit: 4 hash boards Cooling: 2x 120mm x 38mm fan, 3000rpm (front and back, in a push-pull configuration). Weight: 4.8 kg Dimensions: 329mm (L) x 127mm (W) x 159mm (H)

https://bitcointalk.org/index.php?topic=2118409.0

Best Regards

anselal commented 3 years ago

@HMCmin thanks for using my software. Do you know if this BW21 has an API ?

HMCmin commented 3 years ago

sorry for late reply. teoretical bw21 run on cgminer but I don't know witch version

anselal commented 3 years ago

You can try and add it as S9 or another model and there if it is running on cgminer and has the same api there 2 options you will face:

  1. The model you will add the miner as will not work so you would have to delete your database and start from scratch
  2. If it actually works you can navigate to localhost:5000//summary, localhost:5000//stats and post the jsons here so I can add it
HMCmin commented 2 years ago

/summary

{ "IP": "10.0.0.110", "STATUS": [ { "Code": 11, "Description": "cpuminer 2.3.2", "Msg": "Summary", "STATUS": "S", "When": 1636059211 } ], "SUMMARY": [ { "Accepted": 1655589633525809, "Best Share": 0, "Device Hardware%": 1.0, "Device Rejected%": 1.0, "Difficulty Accepted": 0.0, "Difficulty Rejected": 0.0, "Difficulty Stale": 0.0, "Discarded": 0, "Elapsed": 59273, "Found Blocks": 0, "Get Failures": 0, "Getworks": 0, "Hardware Errors": 0, "Last getwork": 1636059211, "Local Work": 0, "MHS 15m": 0.0, "MHS 1m": 0.0, "MHS 5m": 0.0, "MHS 5s": 0.0, "MHS av": 0.0, "Network Blocks": 0, "Pool Rejected%": 1.0, "Pool Stale%": 1.0, "Rejected": 101, "Remote Failures": 0, "Stale": 0, "Total MH": 0.0, "Utility": 0.0, "Work Utility": 0.0, "inputCurrent1": 30.12, "inputCurrent2": 32.23, "inputCurrent3": 32.1, "inputVolt1": 12.0, "inputVolt2": 12.0, "inputVolt3": 12.0, "outputVolt1": 5.6, "outputVolt2": 5.6, "outputVolt3": 5.6, "temper1": 0.0, "temper2": 0.0, "temper3": 0.0 } ], "id": 1 }

/stats

{ "IP": "10.0.0.110", "STATUS": [ { "Code": 14, "Description": "cpuminer 2.3.2", "Msg": "Invalid command", "STATUS": "E", "When": 1636059243 } ], "id": 1 }