Ruby Arduino UPS manager