Location-Based Self-Adaptive Routing Algorithm for Wireless Sensor Networks in Home Automation. (7th February 2011)