One would be better off installing proper solar panels on the roof, if one can afford it, and use it to power your mining rig. Batteries would need to be deep cycle marine batteries as they last longer. Any surplus energy can be fed back into the grid or used to heat up water.