The results demonstrated that IoT can significantly improve the performance and sustainability of green buildings.