Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: Aralus on May 03, 2018, 06:50:22 AM



Title: RaspberryPi watchdog
Post by: Aralus on May 03, 2018, 06:50:22 AM
Hi,

here is my first topic on this forum, so I hope I'm into the right section.

I'm mining for about one year, and I met a problem because I never found any watchdog working properly, and my rigs are not easily accessible. So I decided to develop my own Watchdog for my miners and I wanted to share it with the community.

For my project I used a RaspberryPi zero (but any Raspberry or GPIO supported motherboard can be used), one state relay for each rigs, and different electronics accessories.
It cost me less than 20euros I think.

the idea is to control the power button of the rig with the GPIO ports of the Raspberry. When the state relay is off, power button is released, and when it's on button is pressed.

Like that I can control the power button remotely, and developed a python3 script to regularly ping the rigs, and automatically restart them if they do not respond.

Actually the script is sending an alert email, writing logs every time it met a problem and rebooting rigs automatically.


So I wanted to have your  opinion of this idea, and if you wish I will post my script and tutorials.

Thanks you in advance


Title: Re: RaspberryPi watchdog
Post by: HagssFIN on May 03, 2018, 07:02:26 AM
You can use this with gpu rigs --> altcoin section


Title: Re: RaspberryPi watchdog
Post by: Kranzratte on May 03, 2018, 09:12:29 AM
Hi,

I'm interested in your source code.
Could you please share it?