SmartFactory Twin is a self-built demo application in the Industry 4.0 space, demonstrating how modern software architecture, real-time data processing and machine learning work together in a production-close system.
The application simulates a production line with eight machines. A Symfony command generates realistic sensor readings (temperature, vibration, RPM, pressure) every five seconds. A Python ML service based on IsolationForest detects anomalies automatically. Critical alerts are delivered by email and maintenance tasks are prioritised accordingly.
The frontend renders the factory floor as an interactive SVG — machines change colour in real time (green / yellow / red), sensor trends are displayed as time-series charts. Live updates are streamed via Mercure Server-Sent Events without polling.
Tech Stack:
-
Backend: Symfony 7 (PHP 8.3) · Doctrine ORM · Symfony Messenger
-
Frontend: Vue 3 · Vite · TypeScript · Tailwind CSS · Chart.js
-
ML/Analytics: Python 3.11 · FastAPI · scikit-learn (IsolationForest)
-
Real-time: Mercure Hub (SSE)
-
Infrastructure: Docker · MariaDB 10.11 · Redis 7 · Nginx · Hetzner Cloud
-
CI/CD: GitHub Actions · automated deployment via SSH
Scope: Full-Stack (Backend + Frontend + ML Service + DevOps)
Live Demo: https://digital-twin.der-hoelzemann.de