This electronic the Internet of Things (IoT) technology has contributed to several domains such as health, energy, education, transportation, industry, and other domains. However, with the increased number of IoT solutions worldwide, IoT consumers find it difficult to choose the technology that suits their needs. This article describes the design and implementation of an IoT recommendation system based on consumer interests. In particular, the knowledge-based IoT recommendation system exploits a Service Oriented Architecture (SOA) where IoT device and service providers use a registry to advertise their products. Moreover, the proposed model uses a Long Short-term Memory (LSTM) deep learning technique to predict the consumer's interest based on the consumer's data. Then the recommendation system do the mapping between the consumers and the related IoT devices based on the consumer interests. The proposed Knowledge-based IoT recommendation system has been validated using a real-world IoT dataset collected from Twitter Application Programming Interface (API) that include more than 15,791 tweets. Overall the results of our experiment are promising in terms of precision and recall. Furthermore, the proposed model achieved the highest accuracy score compared with other state-of-the-art methods.