QueueFlow
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend What I Built I built an IoT-enabled Smart Queue Management System for my friend Shiva , who often has to deal with long and unpredictable queues at service centers. The system connects a physical IoT setup with a digital queue platform. When a person is detected by an IR sensor , the ESP32 communicates with the user…
This entry for the Hacktoberfest Weekend Challenge presents the QueueFlow project, an IoT-enabled Smart Queue Management System designed to alleviate the inconvenience of long queues at service centers. Created for friend Shiva, who frequently faces unpredictable queues, the system leverages a physical IoT setup integrated with a digital queue platform.
Upon detection of a person by an IR sensor, the ESP32 communicates with the user application, prompting a voice instruction on the phone: "Please press the button for token." Upon pressing the physical button, a digital token is generated instantly, and the user receives a virtual ticket displaying their token number, current serving number, those ahead, and estimated waiting time. An admin dashboard provides real-time insights into queue length, footfall, service counters, waiting times, and resource utilization.
The core flow is as follows: Person Detected → IR Sensor → ESP32 → Voice Prompt → Physical Button → Digital Token → Virtual Queue → Live ETA → Notification. This solution aims to minimize unnecessary physical waiting and introduce predictability to queues.
The demo showcases a small-scale service-center model featuring an ESP32 IR sensor for visitor detection, a physical push button for token generation, a phone-based user interface for virtual ticket issuance, and a live representation of the user's queue position and estimated waiting time. The complete system is accessible via [live.shivasoni.me](url).
The project is built as an interconnected IoT and web application, with the code hosted on GitHub under the repository name RA4m15/Queue-Flow. The queue flow concept serves as a solution for crowd management through both software and hardware components.
QueueFlow is an enterprise-grade, real-time Smart Queue Management System aimed at eliminating physical waiting lines, optimizing service counter workloads, tracking visitor footfall using IoT sensors, and providing live operational analytics. The architecture is a unified distributed system, sharing a single central backend and database.
The system components include the Flutter Customer Mobile App (for token booking, status, and alerts), REST/WebSocket connections between the Flutter app and ESP32/RFID/IoT sensors, a React Admin Panel (dashboard, counters, display board, and analytics), IoT events (x-iot-secret), and a unified backend built with Node.js, Express, and Socket.IO, managed by MongoDB Atlas Cloud for multi-tenant data storage.
The ESP32 serves as the main IoT controller, interfacing with an IR sensor, physical push button, and Wi-Fi communication with the application. Software components include React.js/Next.js for the user and admin interfaces, a backend API for queue and token management, real-time communication for live queue updates, and text-to-speech for voice instructions. PostgreSQL stores queue and service data, while REST/WebSocket-based communication links system components.
The MVP implementation relies on an instructive queue-estimation approach, considering the number of people ahead, average service time, and active counters. The architecture is structured to enable future implementation of open-source AI/ML components for intelligent predictions and recommendations, without relying on proprietary AI APIs.
The project underscores the importance of open innovation, enabling the construction of a low-cost, adaptable system through the use of open-source hardware (ESP32), software libraries, protocols, and community tools. This approach facilitates customization for various environments, such as hospitals, banks, government offices, educational institutions, and customer service centers.
Moreover, QueueFlow can be deployed locally and tailored to the specific needs of each service center, promoting independence from vendor lock-in and fostering experimentation, extension, and adaptation to real-world public-service applications.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.