This paper provides a comprehensive review of significant obstacles to the use of IoT in smart buildings, including substantial initial expenditures (averaging 15% of project budgets), data security issues, and the complexity of system integration. Abstract: This study investigates the implementation and effectiveness of Internet of Things (IoT) based smart energy management systems in residential and commercial settings. In order to make smart energy grids a reality, this abstract examines the paradigm change that the convergence of Internet of.