Skip to content
Dhuaan

Search ward, school, village, city

Search ward, school, village, city

How it works

From a satellite fire pixel to a parent notice, every three hours.

Architecture

Dhuaan architecture on AWSEventBridge Scheduler starts a Step Functions state machine every three hours. Its four Lambda steps are Ingest, Model, Advise and Notify. Ingest reads NASA FIRMS, LSA SAF, Open-Meteo and OpenAQ. Model writes forecast artifacts to Amazon S3, which this app on Amplify Hosting reads directly. CloudWatch keeps the logs and the dhuaan-ops dashboard. Notify sends the school alert to Telegram. Questions from the app go to a Lambda Function URL, which runs a Strands agent on Gemini or Amazon Bedrock Nova; the agent reads the forecast from S3, and DynamoDB holds rate limits and an answer cache.AWS Step Functionsone run ≈ 5 transitions, retries per stepstartswritespublic JSON · CORSAsk Dhuaanreads forecastNASA FIRMSVIIRS · MODIS firesLSA SAFMSG-IODC evening FRPOpen-MeteoGFS winds · BLHOpenAQCPCB PM2.5EventBridge Schedulerevery 3 hIngestLambdaModelLambda · numpyAdviseLambda · rulesNotifyLambdaTelegram06:30 school alertAmazon S3latest/ artifactsAmazon CloudWatchlogs · dhuaan-ops dashboardAmplify Hostingthis app · Next.js staticGemini / Bedrock NovaMODEL_PROVIDER switchStrands agenttools · number checkLambda Function URL/api/ask · search · advisoryDynamoDBrate limits · answer cache
AWS service External data or channel This appRegion ap-south-1 · one SAM template · AWS Free plan

Method in four steps

  1. 01

    Detect

    Fire pixels from the 13:30 VIIRS/MODIS passes, plus evening detections from the geostationary Meteosat-IODC, clustered into burning fields and labelled by sensor.

  2. 02

    Transport

    Each cluster releases particles weighted by fire power. They ride hourly winds inside the mixed layer for 72 hours, five times over with perturbed winds, so the spread becomes the uncertainty band.

  3. 03

    Score

    Smoke is summed at every village, school and ward, divided by the boundary-layer depth, which is why nights get worse. Each particle remembers its fire, so every place gets an exact source split and every fire gets a people × hours exposure score.

  4. 04

    Advise

    Deterministic rules turn forecast PM2.5 into a school-day go/no-go. An agent writes the parent notice in Punjabi, Hindi and English, and every number it states is checked against its tool results.