Millions of people are using their solar panels and batteries to generate energy and sell excess back to the grid.