This application is developed for SIH 2023 on Problem Statement: Air and water quality index and environment monitoring, under theme: Agriculture, FoodTech and Rural Development. This codebase is just a prototype for the idea. The semantic working diagram of this project is given below.
- Monitoring of AQI and WQI through sensors
- Advanced and easy AQI monitoring
- Realtime AQI status of various cities shown on the map
- Future prediction of AQI and WQI with the pollutant’s concentration through AI/ML
- Based on the present as well as the future predicted values of AQI, the probable sites for plantation can be proposed
- With the proposed WQI detection scheme, samples of drinking water in a particular area will be monitored through image processing/sensors and based on the results suggestions/alerts to the concern authority will be delivered
Client Side: HTML, CSS, SCSS, TailwindCSS, JavaScript, JQuery
Server Side: Python, Django, Redis
Database: SQLite (can be upgraded to MySQL/Postgress)
Integration: OpenWeather API, Leaflet
ML: Statsmodels
To run this project, you will need to add the following environment variables to your .env file
- Django settings
DEBUG = TRUE
SECRET_KEY = "django-insecure-6e8hq7rb_dy*h+ert@6w4%ju7z2k59+5r_jc)9l)%2#k)q04y5"
OPEN_WEATHER_API_KEY = "YOUR OPENWEATHER API KEY"
For the OPEN_WEATHER_API_KEY
, visit https://openweathermap.org/appid and get the API KEY
Create a folder and open terminal and install this project by command
git clone https://github.com/Mr-Atanu-Roy/Eco-Visionaries-SIH_2023
or simply download this project from https://github.com/Mr-Atanu-Roy/Eco-Visionaries-SIH_2023
In project directory Create a virtual environment of any name(say env)
virtualenv env
Activate the virtual environment
For windows:
env\Script\activate
Install dependencies
pip install -r requirements.txt
To migrate the database run migrations commands
py manage.py makemigrations
py manage.py migrate
Create a super user
py manage.py createsuperuser
To run the project in your localserver
py manage.py runserver
Note: Redis Server must be installed on your system