Text this: An Adaptive Energy-Aware Clustering Algorithm for Lifetime Maximization in Homogeneous Wireless Sensor Networks