Modern buildings are increasingly incorporating Internet of Things (IoT) to improve efficiency and resource management. This entails controlling multiple processes, such as lighting, temperature regulation, and air conditioning, based on current information. Furthermore, advanced resource consump