We have implemented a smart home system that enables people to intelligently control rooms such as lowering the curtains according to the weather sensor or lighting the rooms and then closing them automatically, turning off the lights five minutes after leving the room.