IoT Gateway in Water Resource Management