Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
amcharts
ConsoleLogger.py
README
bitcoin_cost.py
config.py
export_stats.py
graph_stats.py
save_stats.py

README

Mining Monitor for Bitcoin

With the default config, it will display GPU load, temperature and fanspeed.
Using the patched ConsoleLogger from phoenix, it will also display your hashrate.

For an example how it looks like, go to 
http://mononofus-dreambox.dyndns.org:8081/

To get the GPU infos, you need pyADL:
https://forum.bitcoin.org/index.php?topic=8451.0

Put the python files of this monitor (config.py, save_stats.py and 
export_stats.py) in the pyADL directory, so they can use it. graph_stats.py 
will export the graphs directly to .png files and uses more CPU time than 
amcharts. Also, its less shiny ;)

All the files in the amcharts dir should go into some dir of your webserver - 
I recommend nginx. You may need to adjust some paths.

To get the hashrate info, put ConsoleLogger.py into your phoenix miner dir and
replace the existing version.

Finally, add the python scripts to your crontab:

# m    h  dom mon dow   command
  *    *  *   *   *     cd /home/mononofu/pyADL && DISPLAY=:0.0 python save_stats.py > /dev/null
  *    *  *   *   *     cd /home/mononofu/pyADL && python export_stats.py -t 4 -r 20 > /var/www/stats/04hour.csv
  */10 *  *   *   *     cd /home/mononofu/pyADL && python export_stats.py -t 24 -r 120 > /var/www/stats/24hour.csv


Of course, change the paths so they fit your system. All paths and settings for the python scripts are in config.py

If you like this program, please consider donating: 
12hRVCNM3jHeZ9h1oThUmSKHsnBcVimsaa
I'm a poor student and need to eat too :\


bitcoin_cost.py is an unrelated utility which simplifies some calculations
for you. It grabs current bitcoin prices from Mt. Gox and calculates profits
in euros.
Something went wrong with that request. Please try again.