Hey guys,
Just wanted to give you a heads up of a little project i'm working on.
As a miner i sometimes need to hard reboot a miner, and as my miners are not next to me, i wanted something to be able to this this for me.
What i have for now is the following:
Raspberry pi + relay (max 16 port) or custardpi v6 relayboard
Hookup the relays to your power button header of the mainboard.
a small python client runs on the miner (windows and Linux)
and sends a hart beat to a rest api endpoint that runs on the raspberry pi.
On the raspberry pi there is a django webinterface running that shows you the results of the rest api. and shows you the status of your rigs.
And you can enable automatic reboots of your rigs if the HB fails a number of times or send reset, shutdown, and start commands to certain rigs manually.
A preview of how the interface looks for now.
This is mockup so don't mind the date values i still need to put the real values there from the db.
https://i.imgur.com/eJ1poRI.pngAPI view:
https://i.imgur.com/QIkFXDw.pngadmin backend:
https://i.imgur.com/UTYarke.pnglet me know what you think of it for now, and what features i should maybe add, and if people are interested to assist me let me know.
I'm still pretty new to programming.
the github link:
https://github.com/piwi3910/rigreset_django