Millions of people are using solar panels and batteries to generate electricity and sell surplus power back to the grid. The trend is opening a potential income stream for households with the right equipment. Artificial intelligence can help coordinate generation, storage and sales, making participation more accessible. Revenue depends on local market rules and electricity prices.