Residential micro-grid can reduce the household's electricity expense as well as shift the electricity demand from peak time to valley time. Optimal management of a typical residential smart micro-grid is conducted using a proposed model in the present study. In the optimal management, the real-time pricing mechanism, feed-in-tariff for Photovoltaics (PV) power as residential electricity generators, and residential appliances are considered. Four scenarios are studied and the result shows that the real-time pricing mechanism shifts effectively the electricity consumption from time peak time to valley time, and different feed-in-tariff of Photovoltaic (PV) can shift the energy consumption of micro-grid between periods with strong solar irradiation and weak solar irradiation.