Wireless sensor network for home monitoring