Portfolio / AgriSense Monitoring Dashboard
๐Ÿ“Š Climate-Tech ยท Dashboard

AgriSense Monitoring Dashboard

A real-time IoT monitoring dashboard built with React 17 and Vite, featuring Recharts and Chart.js data visualizations, Firebase Firestore real-time sync, device health monitoring, inventory movement tracking, batch-level cold-chain analytics, and Tailwind CSS responsive design โ€” the operational brain of the AgriSense ecosystem.

Role Frontend Lead
Duration Ongoing
Category Climate-Tech / Dashboard
Status Active Development

The operational command center.

โšก
Real-Time Sync
๐Ÿ“ˆ
Recharts + Chart.js
๐Ÿ”ง
Device Health Monitoring
๐Ÿ“ฆ
Batch-Level Tracking

Cold-chain data without actionable visibility.

The AgriSense IoT platform generates thousands of temperature, humidity, and location data points from sensors deployed across cold-chain storage facilities. Without a dashboard, this data exists only in database tables โ€” invisible to the warehouse managers, logistics coordinators, and quality control teams who need it most.

Existing IoT dashboards are generic โ€” they show graphs but don't understand the cold-chain context. They can't distinguish between a normal cooling cycle and a spoilage-risk event. They don't track batches, don't predict maintenance needs, and don't correlate device health with data quality.

Domain-specific dashboard with real-time intelligence.

A React-based dashboard purpose-built for cold-chain operations. Firebase Firestore provides real-time data sync โ€” temperature readings, alerts, and device status updates appear within seconds of sensor transmission. Recharts handles time-series visualizations (temperature over time, humidity trends) while Chart.js powers aggregate analytics (spoilage rates, energy consumption).

The dashboard understands cold-chain context: threshold-based alerts color-coded by severity, batch-level tracking from farm to shelf, device health scores that predict maintenance windows, and inventory movement timelines that identify bottlenecks. Every screen is designed for the specific role consuming it.

Built for cold-chain operators.

  • ๐ŸŒก๏ธ Real-time sensor data โ€” Temperature, humidity, and gas concentration readings streamed from IoT devices via Firebase Firestore onSnapshot listeners. Sub-second update latency.
  • ๐Ÿ“ˆ Dual charting engine โ€” Recharts for interactive time-series (zoom, pan, tooltip) and Chart.js for summary analytics (pie charts, bar graphs, gauges). Best of both libraries.
  • ๐Ÿ”ง Device health monitoring โ€” Battery levels, signal strength, last ping time, firmware version, and predictive maintenance scoring. Automated alerts when devices need attention.
  • ๐Ÿ“ฆ Batch tracking โ€” Follow individual produce batches from storage intake to dispatch. Temperature exposure history, handling events, and quality grade at each checkpoint.
  • ๐Ÿšจ Threshold-based alerts โ€” Configurable alert rules: if temperature exceeds XยฐC for Y minutes, escalate to severity level Z. Visual and audio notifications with acknowledgment workflow.
  • ๐Ÿ“Š Inventory movements โ€” Track stock levels across facilities. Inbound/outbound movements, transfer requests, and capacity utilization charts for each cold room.
  • ๐Ÿ—‚๏ธ Role-based views โ€” Warehouse Manager sees facility overview. QC Inspector sees batch details. Logistics sees movement timelines. Admin sees everything plus user management.
  • ๐Ÿ“ฑ Responsive layout โ€” Tailwind CSS responsive grid. Dashboard works on tablets used on the warehouse floor. Critical alerts visible even on mobile for on-call managers.

Modern React ecosystem.

โš›๏ธ React 17 + Vite

Functional components with hooks. Vite for instant HMR during development and optimized production builds. Code splitting by route for fast initial load.

React 17 Vite Hooks

๐Ÿ“Š Recharts + Chart.js

Recharts for composable, interactive time-series charts (LineChart, AreaChart, Brush). Chart.js for aggregate analytics (Doughnut, Radar, Bar). Two libraries, zero overlap.

Recharts Chart.js D3 (via Recharts)

๐Ÿ”ฅ Firebase

Firestore real-time listeners for sensor data. Authentication for role-based access. Cloud Messaging for push alerts. Hosting for static dashboard deployment.

Firestore Auth Messaging

๐ŸŽจ Tailwind CSS

Utility-first styling for rapid layout iteration. Custom theme colors matching AgriSense brand. Dark mode support via Tailwind's dark: variant.

Tailwind CSS Utility-First Dark Mode

Real-time data pipeline.

IoT Sensors

Temperature, humidity, and gas sensors transmit readings via MQTT to the AgriSense middleware, which writes to Firebase Firestore

Firebase Firestore

Real-time document database with onSnapshot listeners. Collections: devices, readings, batches, alerts, inventory. Sub-second propagation to dashboard

React Dashboard

Custom hooks (useFirestore, useDeviceHealth, useBatchTracker) manage subscriptions. Recharts + Chart.js render visualizations. Context API for global state

Alert Engine

Cloud Functions evaluate threshold rules on each reading. Triggers in-app notifications (Firestore), push alerts (FCM), and email escalations for critical events

Part of the AgriSense platform.

AgriSense Cold-Chain Platform

The backend ML/IoT engine that powers sensor data collection, spoilage prediction, and digital twin simulations. This dashboard is the visual layer for that platform.

AgriSense Middleware

FastAPI middleware that processes sensor data, applies ML predictions, and writes results to Firebase. The dashboard reads from the same Firestore collections the middleware populates.

Mobile Companion App

React Native app for field workers โ€” scan QR codes on batches, log observations, receive push alerts. Data syncs with the same Firebase backend the dashboard uses.

ML Prediction Engine

Python-based spoilage prediction and anomaly detection. Results surfaced on the dashboard as risk scores, predicted shelf life, and recommended actions for each batch.

Need a real-time monitoring dashboard?

Let's build data visualization tools that turn sensor data into actionable intelligence.

Start a Conversation โ†—