Skip to content

spardue/mining-rig-watchdog

Repository files navigation

mining-rig-watchdog

Cryptocurrency Mining Rig Physical Watchdog. Uses a Raspberry Pi hard wired onto the motherboard of a mining rig and a switch to reset if communication is lost with Claymore. Also includes a TUI to do manual resets.

Prerequisites

Hardware

  • Raspberry Pi 2 Model B
    • Any Raspberri Pi will do, although the GPIO pin numbers may be different.
  • 4 Channel DC 5V Relay Module
    • This allows the Pi to safely "press" the power button on a motherboard.
  • Iot Relay
    • Enables the Pi to powercycle all the hardware components (basically, lets the Pi "flip" the surge protector switch).

Software

Install

Software

  1. Login to the pi using the pi user.
  2. Add the pi user to the crontab group.
  3. Clone/or extract zip this repo under /home/pi.
git clone https://github.com/spardue/mining-rig-watchdog.git
  1. Run the setup script to setup variables.
cd mining-rig-watchdog
./setup.sh
  1. Add the following cron jobs by running crontab -e:
*/15 * * * * /home/pi/mining-rig-watchdog/watchdog
* 0 0 * * * /home/pi/mining-rig-watchdog/reset

Releases

No releases published

Packages

No packages published

Languages