Skip to content

Cryptocurrency ASIC mining hardware monitor using a simple web interface

License

Notifications You must be signed in to change notification settings

lejacobroy/antminer-monitor

 
 

Repository files navigation

Features:

  • Add as many miners as you want
  • Supports miners S9, S11, S17, S17 Pro, S17+, T9, T9+, T17
  • Check their hashrate, temperatures, fan speed, chip condition, HW Error Rate, Uptime
  • Log errors to file
  • Display total hashrate grouped by Model
  • Password protected login page

TODO:

  • scan network and detect machines
  • per subnet/models
  • reports of underperforming machines (simple TH check)
  • Deep analysis (check logs of every machines)
  • hourly, daily, weekly, monthly logs and stats
  • cost of operation and profits
  • machines to replace (log faults, underperforming TH)
  • simple batch machines configurator
  • machine locator (flashing light)
  • simple dashboard with graphs (5min our 1hr logs)
  • Add support for newer machines (x19)
  • support BraiinsOS
  • Auto-select the model when adding miners

Screenshot

Alt text

Requirements

  • Antminer Monitor requires Python 3

Fresh Installation

  1. Install requirements (Mac users don't forget sudo)
  2. create the empty database
  3. create the admin user
pip3 install -r requirements.txt
python3 app.py create-db

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)

python3 app.py run -h 0.0.0.0 -p 8000

Fire up a browser and point it to http://localhost:8000 if you are running the app on the same machine.

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

Development vs. Production mode

AntminerMonitor runs by default in development mode, using Flask's development server. In development mode, this server provides an interactive debugger and will reload when code is changed.

To switch to production mode, edit .flaskenv and set FLASK_ENV="production"

Run AntminerMonitor as a service (systemd) (rapsberrypi)

Edit antminermonitor.service and adjust it properly to your environment

As root, run the following:

# Copy file service file to systemd's system folder
cp antminermonitor.service /etc/systemd/system/
# reload the daemon to apply changes
systemctl daemon-reload
# That’s it. We can now start the service:
systemctl start antminermonitor
# And automatically get it to start on boot
systemctl enable antminermonitor

About

Cryptocurrency ASIC mining hardware monitor using a simple web interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.1%
  • HTML 23.5%
  • CSS 5.5%
  • Other 1.9%