This paper presents an internet of thing (IoT)-based innovative real-time pH monitoring and control of municipal wastewater for agriculture and gardening application. During the past few decades after the green revolution in India, water requirement is increased exponentially in all sectors, viz., agriculture, gardening, industry, etc. The demand and supply relationship is very essential for every country in present time, and is also a big challenge to satisfy this requirement around the world. Regular change in the climate and the urbanization makes the lavish use of the available resources has exhausted the available resources. Water is necessary for the survival of the human being on the earth. So for the survival the conservation and management of the available water resource are also equally important. Moreover, for the healthier society, the access of the clean and safe water resource is also imperative. Nowadays municipal wastewater is recycled and reused for agriculture and gardening application after treatment. This paper describes a smart solution to control the water quality through its pH, thus to treat the municipal wastewater and its reuse in the agriculture and gardening purpose. The idea is to develop a low-cost electronic system and its application with such a quality of maintaining (monitoring and control) the water quality within the prescribed standard.