๐ŸŒ EcoSentinel AI โ€“ Cognitive Digital Twin for Smart Cities

๐Ÿ’ก Inspiration

As cities grow faster, environmental risks like air pollution and water contamination are becoming harder to predict and manage. Most smart city systems only show data โ€” they donโ€™t act on it.
EcoSentinel AI was created to change that by making cities not just smart, but intelligent and proactive.

โš™๏ธ What It Does

EcoSentinel AI acts like a digital brain for cities:

  • ๐Ÿ—บ๏ธ Real-time city monitoring with an interactive map
  • ๐Ÿ“Š Live tracking of air and water quality
  • โš ๏ธ Simulates threats like smog spikes or contamination
  • ๐Ÿ“‰ Instantly calculates risk, population impact, and cost
  • ๐Ÿ” Maintains a transparent audit log
  • ๐Ÿ“„ Generates reports in one click
  • ๐Ÿค– Built-in AI assistant for instant technical insights

๐Ÿ› ๏ธ How Itโ€™s Built

  • Frontend: HTML, CSS (glassmorphism UI)
  • Logic: Vanilla JavaScript simulation engine
  • Charts: Chart.js
  • Maps: Leaflet.js + OpenStreetMap
  • Reports: jsPDF
  • AI Chatbot: Custom-built NLP (no external APIs)

๐Ÿšง Challenges

  • Fixing UI overlaps between maps and headers
  • Keeping simulations, charts, and reports in sync
  • Building a fast chatbot without external services

๐Ÿ† Achievements

  • Fully client-side AI system with zero latency
  • Real-time simulation + reporting working seamlessly
  • Functional edge AI chatbot
  • Transparent event logging system

๐Ÿ“š What We Learned

  • Managing real-time data efficiently
  • Optimizing frontend performance
  • Handling spatial map data dynamically
  • Building lightweight AI logic from scratch

๐Ÿ”ฎ Whatโ€™s Next

  • ๐Ÿ”Œ IoT integration (Raspberry Pi + sensors)
  • โ˜๏ธ Cloud backend (FastAPI)
  • ๐Ÿ“ˆ Predictive AI models (LSTM, ARIMA)

๐ŸŒฑ Vision

EcoSentinel AI aims to evolve into a fully autonomous urban intelligence system โ€” one that can predict, analyze, and act to protect cities in real time.

Built With

Share this project:

Updates