Sustainability in software engineering encompasses environmental, human, social, and economic dimensions, each essential for ensuring software’s positive and lasting impact. This paper presents an innovative Internet of Things (IoT)-based Smart Waste Management (SWM) system. The proposed system addresses key limitations in existing solutions, including lack of real-time responsiveness, inefficient routing, inadequate emergency detection, and limited user-centric design. While prior studies have investigated IoT applications in SWM, challenges remain in achieving dynamic, integrated, and scalable systems for sustainable urban development. The proposed solution introduces a holistic architecture that enables real-time monitoring of waste bin levels and fire incidents through Waste Bin Level Monitoring Units (BLMUs) equipped with ultrasonic and flame sensors. Data is transmitted via Wi-Fi to a centralized City Command and Control Center (4C), allowing for automated alerts and dynamic route optimization. A dual-platform software suite supports both administrative and operational workflows: a desktop web application and a role-based Android mobile app developed in Flutter, and integrated with Google Cloud Firestore, enabling centralized data management and efficient resource allocation. We validated the system through a working prototype, demonstrating notable contributions including enhanced emergency responsiveness, optimized waste collection routes, and improved stakeholder engagement. This research contributes to the advancement of sustainable urban infrastructure by offering a scalable, data-driven SWM framework grounded in software engineering principles and aligned with smart city objectives. This paper presents an innovative IoT-based Smart Waste Management (SWM) system that addresses key limitations in existing solutions, including insufficient real-time responsiveness, inefficient routing, inadequate emergency detection, and limited user-centric design. |