**5. Conclusions**

Home automation is the binding between the various devices and systems at home, so that they can all be controlled from anywhere, and the interaction required between them. The intelligent system controls aspects such as lighting, heating, ventilation, air conditioning, safety, security, and energy-saving. The latter is the main objective of the IRRHEM solution.

To accomplish the IRRHEM solution, an energy ontology approach was chosen. This choice is linked to the nature of domestic systems, which are characterized by their possession of a large volume of information, mainly related to family members, household

appliances, and climatic data. Therefore, to develop IRRHEM, a series of steps was followed. The first step concerned a detailed study on the home environment; the results of this step were used to build the conceptual model of the data. This model was edited using the "Protégé" software and syntactically checked. The last step concerned the test of the IRRHEM solution using two scenarios (with or without the IRRHEM solution intervention). The results obtained show the importance of IRRHEM by saving 3.60% of energy. In addition, IRRHEM made it possible to perform a set of actions, such as turning off electrical appliances without reducing the comfort of the residents of the home. Additionally, IRRHEM made it possible to:


In addition, among the advantages of the IRRHEM solution is the flexibility to use and update the knowledge base. Finally, the future works can be scheduled as follows:


**Author Contributions:** Conceptualization, D.S.; Formal analysis, D.S.; Validation, D.S.; Writing original draft, D.S.; Software, D.S. and H.H.; Methodology, D.S. and O.C.; Validation, D.S. and O.C.; Funding acquisition, O.C., W.A. and H.H.; Supervision, D.S., O.C. and Y.S.; Visualization, W.A. and H.H.; Writing—Review & editing, Y.S., A.H. and H.H. All authors have read and agreed to the published version of the manuscript.

**Funding:** Taif University Researchers Supporting Project (TURSP), Taif University, Kingdom of Saudi Arabia under the grant number: TURSP-2020/107.

**Institutional Review Board Statement:** Not applicable.

**Informed Consent Statement:** Not applicable.

**Data Availability Statement:** Not applicable.

**Acknowledgments:** This project was supported by the Taif University Researchers Supporting Project number (TURSP-2020/107), Taif University, Taif, Saudi Arabia.

**Conflicts of Interest:** The authors declare no conflict of interest.
