Skip to content

jesseshieh/nicehash_alerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Adapted from https://gist.github.com/randyklein/9602cb01e1d9a58b52c9b4e162eef76c

Queries the nicehash API every 30 seconds to check profitability. If profitability is 0 or falls below a configurable threshold, trigger an IFTTT webhook. IFTTT webhook can be configured however you like.

The the script uses the IFTTT Maker/Webhook channel to do the alerting. To configure and run:

  1. Configure an IFTTT Maker/Webhook applet. Try https://platform.ifttt.com/maker/ Set the trigger as a webhook with event name "nicehash". If you want, add {{Value1}} in your body somewhere. This will contain the alert message.
  2. Setup the config.py settings. Add your BTC address and IFTTT key. See an example at config.py.example.
  3. Run python nicehash.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages