Lite Python based Antminer Monitor !!!
** ATTENTION **While installing Python be sure to check
Add python.exe to Pathin the step
Customize PythonIf you don't select this option you will probably face some errors while installing the requirements
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
Unzip the downloaded file in a folder of your preference
Open a windows command prompt or a terminal and navigate to the folder where you unzipped the file using the
e.g. If you unzipped the file in the folder
C:\Users\foo\Downloads\antminer-monitor-master type the following command and press <Enter>
Your command prompt or terminal should now look like
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
pip using one of the following methods:
get-pip.py from https://bootstrap.pypa.io/get-pip.py and save it inside
antminer-monitor-master. Run the following command to install it:
It will ask for the administrator password. Type it and press <Enter>. While typing your password you won't see the characters on your screen. This is only for security measures.
sudo python get_pip.py
4.2 Install pip using
easy_install. Again it may ask for the administrator password.
sudo easy_install pip
Install requirements (Mac users don't forget
python -m pip install -r requirements.txt python manage.py create-db
python manage.py create-admin
Default creadentials are
username: admin -
password: antminermonitor. You can change the password from the settings menu.
(Mac users don't forget
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.
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
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