A Study on the Rice growing water-management System based on IoT