This chapter explores waste-to-energy (WtE) solutions empowered by the integration of internet of things (IoT) and machine learning (ML) for sustainable power generation in smart cities. By leveraging IoT sensors, real-time data acquisition optimizes waste management processes, and ML algorithms enhance operational efficiency. The potential impact of these technologies on WtE's future includes predictive maintenance, waste sorting automation, and adaptive energy production. The role of WtE in smart cities extends to decentralized energy generation, integrated waste management, and fostering circular economy principles. This study calls for further research and the adoption of sustainable practices to propel WtE as a key component in the future energy landscape of smart and resilient urban environments.