The invention discloses an IoT based smart home
system, solves a problem that remotely control of sun shading and window closing cannot be realized in the prior art, and belongs to the field of IoT technology. The
system comprises a
peripheral equipment layer, an intermediate
service layer and a user terminal layer. The intermediate
service layer responds to a command of the user terminal layer and forwards the command to the
peripheral equipment layer. At the same time, data collected by the
peripheral equipment layer is processed and stored in a centralized manner, and the data is pushed tothe user terminal layer for display. The peripheral equipment layer includes a window in communicational connection with the intermediate
service layer. The intermediate service layer comprises a controller and a
wireless router. The window is controlled by the intermediate service layer to shield outdoor
sunlight and to open and close, and the user terminal layer comprises one or more kinds of asmartphone, a notebook computer, a
tablet computer and a desktop computer. The
system can realize remotely control of sun shading and window closing at the same time, has high intelligence degree, saves time and labor, is convenient to operate and control, and good in practicability.