Development of an Adaptive Rainwater-Harvesting System for Intelligent Selective Redistribution | IEEE Conference Publication | IEEE Xplore