Inspiration 🔆

With depleting water levels around the globe at an alarming rate, a sustainable solution like this is the need of the hour. Not only does it prevent from access water being wasted but it also makes sure that your soil is not getting eroded due to over-irrigation. This subsequently helps in retaining the nutrients of the soil thus keeping it fertile for a very long time.

What it does ❓❗

This Smart Irrigation System allows you to automate the process of watering your gardens, intelligently. It predicts whether you need to switch your water pump on/off with 100% accuracy. The app is deployed on Heroku so it's accessible to all.

How I built it 💻

This flask app uses Machine Learning for carefully analyzing the details entered by you, which are moisture content of soil and surrounding temperature of your garden area and makes use of Random Forest Algorithm to predict the results.

Challenges I ran into 😱

I had no idea of creating any kind of app. It was a totally new experience. Till now I only had experience of working with backend. I learnt it the hard way that flask apps cannot directly run from GitHub. 😢 Faced a lot of issues in deployment as well. The results were not getting displayed satisfactorily. And doing this all just over the weekend was in itself a very challenging experience.

Accomplishments that I'm proud of 😎

  1. Successfully built a beautiful web app.
  2. Did all sorts of designing in it.
  3. Was able to finally deploy it on Heroku.
  4. Also took up a catchy domain name with the help of GoDaddy: 'garden-ramsay-24hours-to-smart-irrigation-and-back/study'

What I learned 👨🏻‍🎓

  1. Learned how to build an app using flask.
  2. Learned how to associate various html pages with the app file.
  3. Learned to create virtual environments and run the app.
  4. Learned to deploy apps on Heroku via GitHub.
  5. Worked with GitHub pages.
  6. Learned to resolve various kinds of application errors.
  7. Learned about Procfile.
  8. Learned to carefully read logs on Heroku and making changes accordingly.
  9. Learned the process of associating domain names with the my app and also the process of linking apps like Porkbun to GitHub.
  10. All in all, learned a lot about working with frontend. Can finally work on building fullstack projects now.

What's next for Smart Irrigation System 💦

I can enter some more informative pages in the web app. I'm also looking forward to trying to build a mobile app out of it.

Share this project:

Updates