Smart Home System is an intelligent home system implemented by different sensors and components with Raspberry Pi. It can be divided into monitoring, smart control and security modules. Monitoring module allows users to read the data from the environment, like temperature, humidity, lightness and image from camera. Smart control module allows users remotely control appliances at home automatically or manually. Security module allows users to know the current status of the home, by receiving notification if any unexpected condition is detected. By Apple HomeKit, users could integrate the system and use the above functions with their Apple devices.