Table of Contents

Setting up HDS - Hotspot Discord Status tool Helium Hotspot Activity and Reward Notifications sent to your Discord Channel

Get Helium hotspot activity and reward notifications sent directly to your Discord channel with the Hotspot Discord Status (HDS) tool. The setup requires basic Linux knowledge, an Ubuntu VPS or Ubuntu VM, and a Helium Miner. The article provides step-by-step instructions on how to create the required Discord webhook, find the Helium hotspot name and address, install the required software, and set up a cron job. The article also includes a test to ensure your configuration is working properly. Keep track of your Helium blockchain rewards in real-time with HDS.

Required:

  • General Linux Knowledge
  • A Ubuntu VPS or Ubuntu VM
  • A Helium Miner
  • Copy of the HDS Software

Setting up a Linux VM:

I’m going to assume that you have some basic linux skills and know how to set up a VPS or linux vm. If you need some help, check out the following resources to create a ubuntu VPS for as little as $5/month:

Setting up the Hotspot Discord Status tool:

Creating the Required Discord Webhook:

Finding the required Helium Hotspot name and Address:

Installing the Required Software:

  • This will install the required software and files to set up your HDS deployment. Lastly it will open the config.json file that you’ll need to paste your discord webhook url and your hotspot address in.
sudo apt install git python python3-pip -y
git clone https://github.com/co8/hds
cd ~/hds
cp new-config.json config.json
cp new-activity_history.json activity_history.json
nano config.json

ex.:

{
  "hotspot": "112MWdscG3DjHTxdCrtuLk...",
  "discord_webhook": "https://discord.com/api/webhooks/87869..."
}
  • Now we need to install one dependency
#cd ~/hds
#pip install -r requirements.txt
python -m pip install discord-webhook

Setting up the Cron Job:

  • Run the following: crontab -e
  • Paste the following into your crontab file:
*/5 * * * * cd ~/hds; python3 hds.py >> cron.log 2>&1
20 4 * * 0 cd ~/hds; rm cron.log; echo "cron.log cleared (weekly)" >> cron.log 2>&1

Test to see if your configuration is working:

cd ~/hds
python3 hds.py