The Web of Things (WoT) is an enhanced form of the Internet of Things (IoT) that has changed the trend of life nowadays. Due to IoT, life is transformed into smart life, such as smart buildings, smart vehicles, smart agriculture, smart businesses, etc., by connecting a certain number of things to the internet. Many people are now working on ways to locate indoor things to interact and exchange data between smart things and web services and apps, which is called ''WoT,'' or ''Web of Things.'' To interact and exchange the data, researchers need a search engine on WoT. However, locating indoor things in the Web of Things (WoT) remains a challenge due to the lack of a unified indexing system. In this research, we propose a novel approach to index indoor things in the WoT by leveraging machine learning and web technologies. Our approach includes a data preprocessing step, where we extract relevant features from the sensor data, followed by a clustering algorithm to group similar devices. We then use a semantic model to assign meaning to the clusters and develop a search engine to enable efficient searching of indoor things. Our proposed approach improves the accuracy and efficiency of locating indoor things in the WoT, paving the way for new applications in smart homes, healthcare, and industrial automation.