Bitcoin Forum
July 15, 2024, 10:20:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Re: Antminer Monitor  (Read 130 times)
GregM123 (OP)
Copper Member
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
July 18, 2018, 07:15:01 PM
Last edit: July 18, 2018, 11:29:40 PM by frodocooper
 #1

For those interested, I just added support for the Z9 Mini. I made the changes manually using nano on my running system then once I saw it working, I forked it and manually edited the files again on github here https://github.com/millerg/antminer-monitor

The changes are very simple.

manage.py

Add the following right after the X3 in two places so it looks as follows:

Code:
    models.append(MinerModel(model='X3', chips='60,60,60',
                             temp_keys='temp2_',
                             description='CryptoNight Miner 220 KH/s'))
    models.append(MinerModel(model='Z9 Mini', chips='4,4,4',
                             temp_keys='temp2_',
                             description='Zcash Miner 10K Sol/S'))

antminermonitor/blueprints/asicminer/views/antminer.py

Add the Z9 "unit" so it looks like the following:

Code:
    total_hash_rate_per_model = {"L3+": {"value": 0, "unit": "MH/s"},
                                 "S7":  {"value": 0, "unit": "GH/s"},
                                 "S9":  {"value": 0, "unit": "GH/s"},
                                 "D3":  {"value": 0, "unit": "MH/s"},
                                 "T9":  {"value": 0, "unit": "GH/s"},
                                 "T9+": {"value": 0, "unit": "GH/s"},
                                 "A3":  {"value": 0, "unit": "GH/s"},
                                 "L3":  {"value": 0, "unit": "MH/s"},
                                 "R4":  {"value": 0, "unit": "TH/s"},
                                 "V9":  {"value": 0, "unit": "GH/s"},
                                 "X3":  {"value": 0, "unit": "KH/s"},
                                 "Z9 Mini":  {"value": 0, "unit": "KSol/s"} }

Once the changes are made the database needs to be updated by:

Code:
python manage.py update_db

Please backup your system before making any changes. I am not a coder, but know enough to be dangerous.

Cheers,

Greg

Greg Miller.
Drillbit Crypto Corp.

Coming soon, ASIC hosting in Alberta Canada at rural power generations facilities.
alimarek
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 07, 2018, 01:38:27 AM
 #2

Hi,

It doesn't work. Where do you configure the root user and password so the monitor can access the status data?

I'm getting this error, however if I click on the miner's IP address it will bring me to the correct login screen.

"Error: Check connection or IP Address"

Please advise.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!