i have made an auto resetter out of an esp8266, has a wifi chip and only needs 3 wires coming from the motherboard, one to 5v,gnd and the power switch. It checks to see if there is a ping to the mining rig, if not then sends a signal to the power pin. Cost is around £3 ($5)
If you have 1 machine is a good option, like arduino. But for 20 machines you will need to buy a lot of them. I have worked with esp8266 but it's just a micro controller. I will use them (arduinos & esp8266) for some of the devices (vents & etc) but I prefer to use the RPi like the computer-brain which controls all devices and micro-controllers.
....
you might want to check out openhab for such things, or just implement them yourself

Thank you. I'm familiar with OpenHAB, Home-automation.io & etc but probably I will do it by myself. I recently started learning a new language - Go, so it's a good project for practice
