Team Member Nmae

Khan Khai Qian (Leader) Gunalan A/L Moorthy Adam Ashwin Tay

Project Info & Features

  1. Core Functions (What it does) 🌫 Real-time Air Quality Analysis:

Users can type any city name (e.g., "Penang", "Johor") or use the menu.

The bot fetches live AQI data via WAQI API.

AI Value Add: Gemini analyzes the risk level and provides specific health tips (e.g., "Wear an N95 mask," "Close windows") based on the severity.

🏥 Smart Medical Navigation:

Users send their Live Location via Telegram.

The bot scans a 3km radius using OpenStreetMap (Overpass API).

AI Value Add: It identifies if the user is in a "Medical Desert" (0 clinics) or a well-served area. It lists specific hospitals with direct Google Maps navigation links.

📰 Daily Eco-News Alert (The "Push" System):

An automated Cron Job runs daily to fetch the latest air pollution news via Google News RSS.

It broadcasts a summarized health alert to all subscribed users.

  1. Technical Innovations (Why it's special) 🧠 Hyper-Intelligent AI Brain:

Multi-language Support: Automatically detects if the user speaks English, Malay, Chinese, or Tamil and responds in that language.

Profanity Filter: AI "Gatekeeper" blocks rude inputs to maintain professionalism.

Smart Routing: An If-Else logic system automatically decides whether the user is sending text (to check air) or a location (to check hospitals).

📊 Data for City Planning:

Every user interaction is automatically logged into Google Sheets.

This creates a database of "Pollution Interest Hotspots" and "Medical Demand Areas" to assist government decision-making.

  1. Technology Stack Frontend: Telegram Bot API

Orchestration Logic: n8n (Workflow Automation)

Intelligence: Google Gemini Pro (LLM)

Data Sources: World Air Quality Index (WAQI) API, OpenStreetMap (Overpass API), Google News RSS.

Database: Google Sheets

🎯 Impact (SDG 3 Alignment) This project directly supports SDG Target 3.9 (Substantially reduce the number of deaths and illnesses from hazardous chemicals and air, water and soil pollution and contamination) by empowering citizens with the knowledge to protect their respiratory health.

Project Idea

The Problem: Urban residents in Malaysia face two major invisible threats:

Air Pollution: Real-time AQI data exists, but it is often technical, hard to access, and lacks actionable health advice.

Unequal Healthcare Access: In emergencies, people struggle to find the nearest clinic, and many areas suffer from being "Medical Deserts" (areas with insufficient healthcare facilities).

Data Gap: City planners lack granular, real-time data on where citizens are feeling the most health stress.

The Solution: KL EcoHealth Guardian is an AI-powered Telegram Bot that acts as a personal health bodyguard. Instead of just displaying raw numbers, it uses Generative AI (Google Gemini) to analyze real-time environmental and geospatial data to provide hyper-local, personalized health advice and navigation. It converts complex data into simple, actionable steps for the common citizen.

Built With

Share this project:

Updates