Text this: Energy-accuracy aware active node selection in wireless sensor networks