In this paper, current technologies which can be used in the wireless home networking area are reviewed and compared. Then a solution of smart home system based on ZigBee technology is put forward and discussed. The hardware design of ZigBee wireless sensor network based on CC2430 chip and embedded home gateway based on S3C2440 is also given in detail. The software workflow of coordinator and router are discussed and user-defined frame format is further discribed. Experimental results show that the solution of smart home system mentioned above can be served as practical application reliably.