This is a smart home energy system consisting of home energy storage and rooftop photovoltaics. It efficiently converts solar energy into electricity and stores it, providing a continuous supply of clean power for the home. The system is equipped with intelligent management functions, allowing real-time monitoring of electricity production and consumption. It intelligently adjusts based on electricity costs and appliance characteristics, maximizing energy utilization efficiency. Additionally, it can generate extra income by selling surplus electricity back to the grid.