Simple Python scripts to monitor mining pools and send alerts to Pushover if thresholds are met. Created this to run on a Raspberry Pi but should work on any Linux distro with Python 2.7.
-
Login to Pushover.net or create an account if you don't have one
-
Install the IOS or Android app and login to Pushover
-
Click on "Create a new application/API token"
Name: Name of mining pool
Upload a logo if you'd like. These ones work well
Ethermine: https://play-lh.googleusercontent.com/yJuGQgN-K7Kyk0Vb_aO1Fz2F-i-pIon86JP1DqfBhzMz1Qnbg-OPuTdRdOVXXDvtTd4
Hiveon: https://cdn-images-1.medium.com/max/1200/1*FcfR0dcdGWBDhtyW2tu86g.pngCheck the checkbox to agree to Terms of Service
-
Download the appropriate script for your mining pool
-
Copy the Token and paste it into the script after PUSHOVER_APP_TOKEN
-
Copy User Key the the main page https://pushover.net/ and paste it into the script after PUSHOVER_USER_TOKEN
-
Paste your ETH wallet address after ETH_ADDRESS
-
Set your minimum MH and worker count
-
Save the Python script and make sure it's set to executable by entering: chmod + x name_of_script.py
-
Run the script: ./name_of_script.py
If you want to run the script as a scheduled task you can use cron to do it.
-
crontab -e
-
Add the following to the bottom to run it every 10 minutes
*/10 * * * * /home/pi/name_of_script.py
-
Save with CTRL+X and then enter Y to save