@Phil to your solar idea, i think most time you would "only" get 90% of your max solar watt/panel. And if it drops because of the short? cloud it always fall down, and miner stops hard. Doesn't cool down, could be much cycles/day. Isn't it there where you are, you could get the same rate for solar, as from the grid? Even if only in short times of clouding, you could get lets say 30-60% power from solar, and the rest from grid. And after sun is down, stop mining. Or is it to much expensiver if grid is avaible? How long miners need for startup?
You can always incorporate a small battery pack for a bit of "ride through" capability; it's not like there are only two choices in solar: no battery or a massive battery. One caveat is that a small battery - say, under 1-2 kW-h of capacity - will need to be a lithium-ion type as they have much higher peak power output than lead-acid. Used battery modules from Chevy Volts, Nissan Leafs, Teslas, etc., are especially popular among the DIY solar crowd.