anselal / antminer-monitor

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

Support for Antminer B3 #100

Closed ghost closed 4 years ago

ghost commented 6 years ago

Is it possible to add the B3?

I've attached API output..

This one is kind of different. There are only 3 physical boards, but it shows 6 chains, each with 2 chips. It also shows 6 temperatures for those chains. I imagine this will be addressed in another firmware, but the webpage the miner shows the fans always at "0" but they are spinning. The API shows 30600 so I'm not really sure what to say about that! I assume the divisor just isn't in place. Maybe 6 would work, that would be 5100 RPM which feels about like what they are running at. But I can't really verify this for sure, just taking a guess.

ghost commented 6 years ago

Added support temporarily for myself except for of course fans showing correctly, but this is due to the miner itself.

create_db.py: models.append(MinerModel(model='B3', chips='2,2,2,2,2,2', tempkeys='temp2', description='Tensority Miner 780 H/s'))

app/views/antminer.py: add B3 to total_hash_rate_per_model =

app/templates/myminers.html: add 'B3': 'H/s' to mapping

Once Bitmain fixes fan reporting it will work perfect.

anselal commented 6 years ago

Your gist is unreadable. Can you paste it in json format ? Also did bitmain fix the issue with the boards showing as 6 instead of 3 ?

anselal commented 6 years ago

I think that the number of boards are indeed 3 but the chains are 6. That means that every board has 2 chains...