Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.82 KB

File metadata and controls

50 lines (31 loc) · 1.82 KB

FlexGrid

Horizontally scalable data analysis on a vertically integrated energy pipeline for EV charging.

FlexGrid is a distributed monitoring and analytics platform designed to bridge the gap between physical IoT hardware and grid stability. By leveraging a multi-node sensor network, FlexGrid detects infrastructure strain, predicts hardware failure, and provides real-time feedback to grid operators and EV owners.


🏗️ System Architecture

FlexGrid operates across a distributed hardware stack to ensure resilience and scalability:

  • Central Brain (Raspberry Pi 5): Handles heavy lifting, anomaly detection (Python/ML), and acts as the MQTT Broker.
  • Edge Gateways (Raspberry Pi 4): Manages regional clusters and local data persistence.
  • Sensor Nodes (ESP32 / M5Stack): Collects high-frequency metrics (Voltage, Temp, Humidity, IMU, Motion).
  • Economic & Voice Layer: Integrated with Solana (DePIN incentives) and ElevenLabs (AI Voice Alerts).

🚀 Getting Started

Option 1: Local Development

Best for rapid UI iteration and frontend testing. Make sure you have the latest Node.js version.

# Navigate to the dashboard directory
cd front/ev-charging-dashboard

# Install dependencies
npm install

# Start the development server
npm run dev

Option 2: Containerized Execution (For edge deployment or on computers with other projects)

Use Docker to ensure environment consistency across your Raspberry Pi, Linux laptop, and dev machines. This package includes all system-level dependencies for Solana and ElevenLabs.

1. Build the image

Build the container image from the root directory. This process compiles the necessary Rust and Node.js dependencies:

docker build -t flexgrid .
docker run -it -p 3000:3000 --env-file .env.local flexgrid