A new scheme of the home control system based on ZigBee wireless sensor networks is presented. The design and development of the software and hardware of the proposed system are given. In addition to the basic data acquisition and processing functions, the gateway supports the Bluetooth-based local interface and the general packet radio service (GPRS)-based remote interface. Users on the client service side can use a pocket PC or notebook PC to achieve real-time data acquisition and control instruction implementation, or remotely control the home control system through a mobile phone by sending a short message. The Labview graphical development environment is adopted to create PDA applications running on pocket PCs and monitoring platform established on notebook PCs. Except for the gateway, other nodes in the system work in sleep mode most of the time on the system, and thus it improves the lifetime of the whole system efficiently.