
Vayurakshak
VayuRakshak: Transforming Passive Air Quality Monitoring into Proactive Civic Defense on AWS
Every winter, a familiar haze blankets the Indo-Gangetic Plains. Across Delhi-NCR and northern India, atmospheric boundary layers drop, wind speeds stall, and agricultural stubble fire plumes ride the north-westerly winds directly into the urban corridor. The Air Quality Index (AQI) surges past 400—into territory euphemistically labelled “Severe.”
Yet for millions of citizens, parents, and school administrators, the digital response has remained fundamentally broken.
Standard weather apps and government dashboards present passive numbers: “AQI 422: Hazardous.” But a number does not tell an asthmatic child whether it is safe to walk to class. It does not calculate how many minutes an outdoor laborer can endure before alveoli inflammation begins. And it does not automatically order schools to activate sealed HEPA filtration or transition primary grades to remote learning before the nocturnal inversion peaks.
VayuRakshak is an open-source, real-time civic air defense and school safety intelligence platform deployed on AWS. Instead of merely displaying air toxicity after it occurs, VayuRakshak synthesizes satellite thermal fire detection, hyperlocal ground monitoring, and machine learning to change what happens on the bad days.
1. The Core Problem: The “Passive Monitoring” Trap
Most environmental applications suffer from three critical flaws:
- Rearview Mirror Telemetry: They report what the air was like two hours ago, rather than projecting when nocturnal smog will trap particulate matter at ground level.
- Context-Blind Metrics: An AQI of 380 means something very different for a healthy adult in an air-conditioned office than for an 8-year-old in an unsealed classroom.
- Absence of Action Protocols: Regulatory bodies publish complex Graded Response Action Plans (GRAP Stages I through IV), but enforcement remains manual, delayed, and reactive.
VayuRakshak transforms environmental observations into an active command center designed around human physiology and institutional safety.
2. Key Pillars of VayuRakshak
I. Hyperlocal Ground Observatory with Location Search & Saved Zones
VayuRakshak tracks real-time telemetry across continuous ambient air stations (Anand Vihar, Punjabi Bagh, ITO, Rohini, Gurugram, Noida, and Punjab agricultural nodes). Users can:
- Search any neighborhood, colony, or city with instant live filtering.
- Bookmark their frequent routes and school zones into Saved Favorites (persisted via
localStorage).
- Generate Microclimate Estimations for arbitrary unmonitored localities using spatial interpolation and atmospheric boundary metrics.
II. Satellite Stubble Plume Radar (VIIRS/MODIS)
Rather than treating pollution as an invisible surprise, VayuRakshak tracks satellite-verified fire radiative power (FRP) and fire cluster counts across Punjab and Haryana. By modeling the 315° North-West wind vector and atmospheric transit lag, it visualizes the exact trajectory of incoming biomass smoke plumes hours before they impact urban centers.
III. Amazon SageMaker 12-Hour Atmospheric Dispersion Forecast
Using DeepAR time-series modeling concepts on Amazon SageMaker AI, VayuRakshak projects 12-hour air trajectories. It calculates:
- Peak nocturnal inversion windows (typically between 2:00 AM and 6:00 AM).
- Anticipated GRAP regulatory stages before government notifications are officially declared.
- Executive action briefs automatically compiled for school headmasters and civic officials.
IV. School Safety Gazette & Automated GRAP Enforcement
School sanctuaries should be the safest environments for children, yet classroom air often mirrors outdoor toxicity. VayuRakshak monitors:
- Outdoor vs. Indoor Classroom AQI differential.
- Filtration Status: Auditing whether active HEPA air scrubbers are running.
- Mandated Protocols: Automatically prescribing stage-specific mandates—such as immediate cancellation of morning sports assemblies or shifting primary grades (1 to 8) to online classes under GRAP Stage IV.
V. Clinical Exposure Budget Calculator
Air toxicity affects vulnerable cohorts dis-proportionately. VayuRakshak provides an interactive clinical calculator tailored for:
- Asthmatics & Respiratory Patients
- Children & Developing Lungs
- Senior Citizens
- Outdoor Gig & Construction Workers
It converts raw AQI into a concrete, actionable budget: “Safe outdoor window: 14 minutes. Mandatory N95 respirator required. Seal indoor living spaces.”
VI. Emergency Multi-Channel SMS Alerts via Amazon SNS
When emergency thresholds cross hazardous levels, administrators can dispatch broadcast directives. Powered by Amazon SNS (Simple Notification Service), VayuRakshak sends instant SMS and email broadcasts to registered parent registries and school staff within seconds.
3. Under the Hood: AWS Cloud Architecture
VayuRakshak was architected from the ground up for high reliability, zero idle costs, and low latency using the AWS Serverless ecosystem:
Plain text
[ Client: React + Vite ] │ (Global CDN via AWS Amplify / CloudFront) ▼[ Amazon API Gateway (HTTP API) ] │ ▼[ AWS Lambda (Node.js 20 ESM) ] ◄── [ Amazon EventBridge (15-min Cron) ] │ ├─► [ Amazon DynamoDB (On-Demand + Native TTL) ] ├─► [ Amazon SageMaker AI (Inference & Dispersion Engine) ] └─► [ Amazon SNS (Emergency Civic SMS Broadcasts) ]
- AWS SAM (Serverless Application Model): The entire infrastructure is codified in a single
template.yamlfile, provisioning IAM policies, Lambda functions, and tables in a declarative Infrastructure-as-Code pipeline.
- AWS Lambda & API Gateway: Serverless compute handlers scale instantaneously with zero server maintenance, running clinical algorithms and telemetry parsing in sub-20ms execution windows.
- Amazon DynamoDB: Stores telemetry records, station states, and broadcast audit logs with native Time-to-Live (TTL) auto-pruning.
- Amazon EventBridge: Executes scheduled cron events every 15 minutes to evaluate atmospheric drift without running a persistent background daemon.
- Amazon SNS: Decouples emergency notification fan-out across telecommunications networks.
4. Design Philosophy: Anti-"AI Slop", Pro-Craft
Rather than relying on generic dashboard cards or dark-mode neon gradients, VayuRakshak features an editorial architectural aesthetic.
Inspired by classic letterpress printing and fine architectural journals, the interface pairs Cormorant Garamond headlines with tracked Jost typography, antique brass accents (
#816B0E ), and terracotta alert states ( #7A3226 ). High-density data tables and bespoke vector plaques replace generic stock imagery, ensuring that life-critical information is legible, calm, and authoritative.
5. What's Next for VayuRakshak
- IoT Sensor Ingestion Gateways: Direct MQTT ingestion for low-cost particulate monitors in classroom air ducts via AWS IoT Core.
- Automated GRAP Smart Contract Verifications: Auditable school compliance logs on immutable storage.
- Expanded Airshed Coverage: Scaling beyond Delhi-NCR to monitor urban smog corridors across Kolkata, Mumbai, and Lucknow.
Open Source & Getting Started
VayuRakshak was developed for the Bharat Builds Tour: Environmental Hacks Hackathon (Track 01: Air). The complete codebase—including SAM templates, backend APIs, and React frontend—is open source.
- GitHub Repository: https://github.com/Akshat-mohanty/Environmental-Hacks-Hackathon
- Found a bug or want to contribute? Open an issue on our repository.
Clean air is a fundamental human right. Until our skies are clear, VayuRakshak shields the communities breathing beneath them.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article