This problem is already solved from a technical perspective: It is now possible to buy durable and reliable >10kWh battery packs to install in residential solar setups. The only remaining issue is volume production and cost.
We'll see what happens once Tesla's new battery plant is up and running in a few years, my money is on this being a game-changer.