Skip to content

Cryptocurrency mining hardware monitor using a simple web interface

License

Notifications You must be signed in to change notification settings

millerg/antminer-monitor

 
 

Repository files navigation

follow on Twitter

Antminer Monitor

Lite Python based Antminer Monitor !!!

  • Add as many miners as you want
  • Supports miners S7, S9, T9, T9+, L3, L3+, D3, A3, R4, V9, X3, Z9 mini, E3
  • Check their hashrate, temperatures, fan speed, chip condition, HW Error Rate, Uptime
  • Get in-app notifications about miner errors (needs refresh)
  • Log errors to file
  • Display total hashrate grouped by Model
  • Password protected login page

Screenshot

Alt text

Requirements

  • Antminer Monitor requires Python to run. Both Python2 and Python3 are supported !!!
  • Mac and Linux users have Python installed by default on their system
  • Windows users can download Python from https://www.python.org ** ATTENTION ** While installing Python be sure to check Add python.exe to Path in the step Customize Python If you don't select this option you will probably face some errors while installing the requirements

Fresh Installation

  1. Download the latest official release of #AntminerMonitor from https://github.com/anselal/antminer-monitor/releases or the latest unofficial release from https://github.com/anselal/antminer-monitor/archive/master.zip
  2. Unzip the downloaded file in a folder of your preference
  3. Open a windows command prompt or a terminal and navigate to the folder where you unzipped the file using the cd command e.g. If you unzipped the file in the folder C:\Users\foo\Downloads\antminer-monitor-master type the following command and press
cd C:\Users\foo\Downloads\antminer-monitor-master

Your command prompt or terminal should now look like C:\Users\foo\Downloads\antminer-monitor-master>

  1. This step apply only to Mac users. If you are a Windows or Linux user continue to step 5.

Mac users should run all the commands with sudo eg. sudo python get_pip.py

Install pip using one of the following methods:

It will ask for the administrator password. Type it and press . While typing your password you won't see the characters on your screen. This is only for security measures.

sudo python get_pip.py

or

  • Install pip using easy_install. Again it may ask for the administrator password.
sudo easy_install pip
  1. Install requirements (Mac users don't forget sudo)
python -m pip install -r requirements.txt
python manage.py create_db

Login Page

  1. Create admin user
python manage.py create_admin

Default creadentials are username: admin - password: antminermonitor. You can change the password from the settings menu.

Run the app

(Mac users don't forget sudo)

python manage.py run -h 0.0.0.0 -p 5000

Fire up a browser and point it to http://localhost:5000 if you are running the app on the same machine OR http://<ip>:5000 if you are accesing the app from another machine on the same network, by replacing <ip> with the machine's ip running AntminerMonitor.

Feel free to change the host (-h) and port (-p) parameters as needed by your setup.

You can set the host (-h) and port (-p) parameters in your .flaskenv file to avoid typing them when starting the app.

Upgrade

BEFORE YOU BEGIN: You can always do a fresh install to upgrade to a newer version but you will have to add your miners again

To upgrade AntminerMonitor to a newer version follow the steps below:

  • Do a backup of your database (file: antminermonitor/db/app.db) in case something goes wrong
  • Download the latest version of #AntminerMonitor from https://github.com/anselal/antminer-monitor/archive/master.zip
  • Unzip and replace all the files in your current installation
  • Install requirements in case we added something new:
python -m pip install -r requirements.txt
  • Update your database. This ensures that your installed version supports the latest miner models and configuration settings, while keeping your added miners in the Database.
python manage.py update_db

In case you didn't already do so, please follow the "Login" guide above to create the admin user.

Donations

  • BTC: 1HYCBovF6mqqKMyG4m2DQxXpdKmogK4Wuw
  • LTC: LLrjq6nRokS74yPMspitHkXv4nLtEyebNW
  • DASH: XuEnZtsCmWcDwKVe82wQddsfwUifXyeRoQ
  • ETH: 0x5bD8813Da5148fbc841bB18b9411fF72EdC8e10a

Referral

  • Get a Ledger Nano S and protect your cryptocurrencies Ledger Nano S - The secure hardware wallet

  • Listen to your favorite radio stations and earn BRO cryptocurrency !!!

About

Cryptocurrency mining hardware monitor using a simple web interface

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 65.7%
  • HTML 24.1%
  • CSS 5.8%
  • JavaScript 3.5%
  • Mako 0.9%