Skip to content

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โš™๏ธ TechnoExpand โ€” Industrial Predictive Maintenance Platform

Real-time machine health monitoring & AI-powered failure prediction for industrial environments

React FastAPI TailwindCSS Python Vite


๐Ÿ“‹ Table of Contents


๐Ÿ” About the Project

TechnoExpand is a full-stack industrial predictive maintenance platform that monitors 15 industrial machines in real-time using simulated IoT sensor data. It combines WebSocket-based live streaming, Machine Learning predictions, and a modern React dashboard to provide actionable insights about machine health, failure probability, and remaining useful life (RUL).

The platform is designed to replicate production-level monitoring workflows used in manufacturing, power plants, and industrial automation environments.


โœจ Key Features

Feature Description
๐Ÿ“Š Real-Time Dashboard Live pie charts and line graphs showing overall machine fleet health
๐Ÿญ 15 Industrial Machines CNC Mills, Compressors, Pumps, Boilers, Robot Arms, Turbines & more
๐Ÿ”„ Live WebSocket Streaming 9 sensor metrics streamed every 2 seconds via WebSocket
๐Ÿค– ML Failure Prediction Pre-trained model (Random Forest) predicts machine condition: Healthy / Medium / Fail
๐Ÿ“ˆ 9 Sensor Metrics Temperature, Pressure, Vibration, Humidity, Current, Voltage, RPM, Load, Noise
โฑ๏ธ RUL Estimation Remaining Useful Life countdown in days for each machine
๐Ÿ“… Maintenance Timeline Visual timeline of past maintenance events with engineer notes
๐Ÿ“ฅ Excel Export One-click export of machine data & sensor history to .xlsx
๐Ÿ” Authentication Login/Signup with localStorage-based session management
๐ŸŽจ Animated UI Smooth Framer Motion page transitions and micro-interactions
๐Ÿ“ฑ Responsive Layout Sidebar navigation + top navbar with glassmorphism styling

๐Ÿ› ๏ธ Tech Stack

Frontend

Technology Purpose
React 19 UI library
Vite 7 Build tool & dev server
Tailwind CSS 4 Utility-first styling
Framer Motion Animations & page transitions
Chart.js + react-chartjs-2 Pie charts & line graphs
React Router DOM 7 Client-side routing
Lottie React Animated illustrations (Login/Signup)
SheetJS (xlsx) Excel file generation
file-saver Client-side file downloads
react-icons Icon library

Backend

Technology Purpose
FastAPI Python web framework
WebSocket Real-time bidirectional data streaming
scikit-learn (joblib) ML model loading & inference
NumPy Numerical computations
Uvicorn ASGI server

ML / Data Science

Technology Purpose
Random Forest Classifier Pre-trained condition prediction model
StandardScaler Feature normalization (saved as scaler.pkl)
joblib Model serialization

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                        FRONTEND                             โ”‚
โ”‚  React 19 + Vite + Tailwind CSS + Framer Motion             โ”‚
โ”‚                                                             โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”             โ”‚
โ”‚  โ”‚Dashboard โ”‚  โ”‚ Machines โ”‚  โ”‚MachineDetails โ”‚             โ”‚
โ”‚  โ”‚(Charts)  โ”‚  โ”‚ (Grid)   โ”‚  โ”‚(Deep Dive)    โ”‚             โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜             โ”‚
โ”‚       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                      โ”‚
โ”‚                      โ”‚ WebSocket                            โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                       โ”‚ ws://localhost:8000/ws/data
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                  BACKEND (FastAPI)                           โ”‚
โ”‚                      โ”‚                                      โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”               โ”‚
โ”‚  โ”‚        WebSocket Handler                 โ”‚               โ”‚
โ”‚  โ”‚  โ€ข Generates sensor data per condition   โ”‚               โ”‚
โ”‚  โ”‚  โ€ข Streams 15 machines every 2s          โ”‚               โ”‚
โ”‚  โ”‚  โ€ข Calculates RUL, health %, failure %   โ”‚               โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜               โ”‚
โ”‚                      โ”‚                                      โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”               โ”‚
โ”‚  โ”‚   ML Model (model.pkl + scaler.pkl)      โ”‚               โ”‚
โ”‚  โ”‚   Random Forest โ†’ Healthy/Medium/Fail    โ”‚               โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜               โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿš€ Getting Started

Prerequisites

  • Node.js โ‰ฅ 18
  • Python โ‰ฅ 3.10
  • pip (Python package manager)

1. Clone the Repository

git clone https://github.com/HariomAcharya17/Techno-Expand.git
cd Techno-Expand

2. Backend Setup

cd backend

# Install Python dependencies
pip install fastapi uvicorn joblib numpy scikit-learn websockets

# Start the backend server
uvicorn main:app --reload --port 8000

The WebSocket server will be available at ws://localhost:8000/ws/data

3. Frontend Setup

cd frontend

# Install dependencies
npm install

# Start the development server
npm run dev

The app will open at http://localhost:5173

4. Access the Application

  1. Open http://localhost:5173 in your browser
  2. Sign up with a new account (stored in localStorage)
  3. Log in with your credentials
  4. Explore the Dashboard, Machines, and individual machine detail pages

๐Ÿ“ Project Structure

Techno-Expand/
โ”œโ”€โ”€ backend/
โ”‚   โ”œโ”€โ”€ main.py                    # FastAPI app with WebSocket handler
โ”‚   โ”œโ”€โ”€ package.json               # Node.js deps (Express, WS โ€” legacy)
โ”‚   โ””โ”€โ”€ python/
โ”‚       โ”œโ”€โ”€ model.pkl              # Pre-trained Random Forest model
โ”‚       โ”œโ”€โ”€ scaler.pkl             # StandardScaler for feature normalization
โ”‚       โ””โ”€โ”€ predict.py             # Standalone prediction script
โ”‚
โ”œโ”€โ”€ frontend/
โ”‚   โ”œโ”€โ”€ public/
โ”‚   โ”‚   โ”œโ”€โ”€ machines/              # Machine images (M1.jpg โ€“ M15.jpg)
โ”‚   โ”‚   โ””โ”€โ”€ team/                  # Team member photos
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ assets/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Login.json         # Lottie animation for login page
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ Chart.json         # Lottie animation for charts
โ”‚   โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Sidebar.jsx        # Fixed sidebar navigation
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Navbar.jsx         # Top navigation bar
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ BackButton.jsx     # Reusable back button
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ProtectedRoute.jsx # Auth guard for protected pages
โ”‚   โ”‚   โ”œโ”€โ”€ pages/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Dashboard.jsx      # Main dashboard with stats & charts
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Machines.jsx       # Machine grid with live status cards
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ MachineDetails.jsx # Deep dive: sensors, history, export
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Predict.jsx        # Manual ML prediction form
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Login.jsx          # Login page with Lottie animation
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Signup.jsx         # Registration page
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ MyAccount.jsx      # User profile page
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ OurMission.jsx     # Project mission & vision
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ OurApproach.jsx    # Technical approach timeline
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ FutureUses.jsx     # Future roadmap
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ OurTeam.jsx        # Team member profiles
โ”‚   โ”‚   โ”œโ”€โ”€ App.jsx                # Root component with routing
โ”‚   โ”‚   โ”œโ”€โ”€ App.css                # Global styles
โ”‚   โ”‚   โ”œโ”€โ”€ main.jsx               # React entry point
โ”‚   โ”‚   โ””โ”€โ”€ index.css              # Tailwind imports
โ”‚   โ”œโ”€โ”€ index.html                 # HTML entry point
โ”‚   โ”œโ”€โ”€ vite.config.js             # Vite + React + Tailwind config
โ”‚   โ””โ”€โ”€ package.json               # Frontend dependencies
โ”‚
โ””โ”€โ”€ package.json                   # Root-level Supabase dependency

๐Ÿค– Machine Learning Model

Model Details

Property Value
Algorithm Random Forest Classifier
Input Features 9 sensor metrics (temperature, pressure, vibration, humidity, current, voltage, RPM, load, noise)
Output Classes 0 = Healthy, 1 = Medium, 2 = Fail
Preprocessing StandardScaler normalization
Serialization joblib (.pkl files)

Prediction Flow

User Input (9 metrics) โ†’ StandardScaler โ†’ Random Forest โ†’ Condition Class
                                                          โ”œโ”€โ”€ Healthy (80-100% health)
                                                          โ”œโ”€โ”€ Medium  (40-75% health)
                                                          โ””โ”€โ”€ Fail    (0-30% health)

๐Ÿ”„ WebSocket Data Flow

The backend streams data for all 15 machines every 2 seconds via a single WebSocket connection:

{
  "M1": {
    "name": "CNC Milling Machine",
    "condition": "Healthy",
    "health": 95,
    "failure": 5,
    "sensor": {
      "temperature": 42.3,
      "pressure": 1.5,
      "vibration": 4.2,
      "humidity": 52.1,
      "current": 11.8,
      "voltage": 382.5,
      "rpm": 1200,
      "load": 45.3,
      "noise": 55.2
    },
    "workingHours": 5432.1,
    "rlu": 650.2,
    "last_checked": "2026-08-15",
    "next_service": "2028-05-27",
    "maintenanceHistory": [...]
  }
}

Monitored Machines

ID Machine Condition
M1 CNC Milling Machine ๐ŸŸข Healthy
M2 Air Compressor ๐ŸŸข Healthy
M3 Centrifugal Pump ๐ŸŸก Medium
M4 Injection Molding Machine ๐ŸŸข Healthy
M5 Industrial Boiler ๐ŸŸข Healthy
M6 Conveyor System ๐Ÿ”ด Fail
M7 Hydraulic Press ๐ŸŸข Healthy
M8 Cooling Tower ๐Ÿ”ด Fail
M9 Industrial Robot Arm ๐ŸŸข Healthy
M10 Steam Turbine ๐Ÿ”ด Fail
M11 Electric Motor ๐ŸŸข Healthy
M12 Heat Exchanger ๐ŸŸข Healthy
M13 Reciprocating Pump ๐ŸŸข Healthy
M14 Industrial Chiller ๐ŸŸข Healthy
M15 Rotary Kiln ๐Ÿ”ด Fail

๐Ÿ‘ฅ Team

Name Role
Hariom Acharya Full Stack Developer & Hardware Engineer
Kaushik Dalvi UI/UX Designer & Hardware Support
Divya Balchandani Machine Learning Engineer
Vraj Bagadiya UI Helper & Resource Management

๐Ÿซ Group 47 โ€” LDRP-ITR


๐Ÿ”ฎ Future Roadmap

  • โšก Smart Energy Management โ€” Predict machine load & reduce power waste
  • ๐Ÿค– Autonomous Maintenance โ€” ML bots auto-schedule maintenance
  • โ˜๏ธ Cloud Integration โ€” Push live data to AWS / Azure / Google Cloud
  • ๐Ÿ“ก ESP32 Hardware Integration โ€” Real sensor data from IoT devices
  • ๐Ÿ”ฎ Full Predictive Factory โ€” Zero-downtime industry with AI-driven insights

๐Ÿ“„ License

This project is open source and available under the MIT License.


Built with โค๏ธ by Team TechnoExpand

โญ Star this repo if you found it useful!

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages