I've been playing with this idea too. I usually use about 1/3 of the output from the solar panels and sell 2/3. Currently, the resell price is so low that it is not even beneficial to sell it. So was thinking to hook up miner as well. But only run it during the day when it is sunny.