Previous Article in Journal
Leveraging Blockchain Technology for Secure 5G Offloading Processes
Previous Article in Special Issue
A Distributed Machine Learning-Based Scheme for Real-Time Highway Traffic Flow Prediction in Internet of Vehicles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Leveraging Retrieval-Augmented Generation for Automated Smart Home Orchestration

by
Negin Jahanbakhsh
1,
Mario Vega-Barbas
1,*,
Iván Pau
1,
Lucas Elvira-Martín
1,
Hirad Moosavi
1 and
Carolina García-Vázquez
2
1
ETSIS de Telecomunicación, Universidad Politécnica de Madrid, Calle Nikola Tesla S/N, 28038 Madrid, Spain
2
Facultad de Diseño y Tecnología, University of Design, Innovation and Technology, 28016 Madrid, Spain
*
Author to whom correspondence should be addressed.
Future Internet 2025, 17(5), 198; https://doi.org/10.3390/fi17050198 (registering DOI)
Submission received: 2 April 2025 / Revised: 28 April 2025 / Accepted: 28 April 2025 / Published: 29 April 2025
(This article belongs to the Special Issue Joint Design and Integration in Smart IoT Systems)

Abstract

The rapid growth of smart home technologies, driven by the expansion of the Internet of Things (IoT), has introduced both opportunities and challenges in automating daily routines and orchestrating device interactions. Traditional rule-based automation systems often fall short in adapting to dynamic conditions, integrating heterogeneous devices, and responding to evolving user needs. To address these limitations, this study introduces a novel smart home orchestration framework that combines generative Artificial Intelligence (AI), Retrieval-Augmented Generation (RAG), and the modular OSGi framework. The proposed system allows users to express requirements in natural language, which are then interpreted and transformed into executable service bundles by large language models (LLMs) enhanced with contextual knowledge retrieved from vector databases. These AI-generated service bundles are dynamically deployed via OSGi, enabling real-time service adaptation without system downtime. Manufacturer-provided device capabilities are seamlessly integrated into the orchestration pipeline, ensuring compatibility and extensibility. The framework was validated through multiple use-case scenarios involving dynamic device discovery, on-demand code generation, and adaptive orchestration based on user preferences. Results highlight the system’s ability to enhance automation efficiency, personalization, and resilience. This work demonstrates the feasibility and advantages of AI-driven orchestration in realising intelligent, flexible, and scalable smart home environments.
Keywords: smart home orchestration; generative AI; large language models (LLMs); retrieval-augmented generation (RAG); AI agent; OSGi framework; dynamic service bundles; vector databases; IoT integration; AI-driven automation; real-time adaptation smart home orchestration; generative AI; large language models (LLMs); retrieval-augmented generation (RAG); AI agent; OSGi framework; dynamic service bundles; vector databases; IoT integration; AI-driven automation; real-time adaptation

Share and Cite

MDPI and ACS Style

Jahanbakhsh, N.; Vega-Barbas, M.; Pau, I.; Elvira-Martín, L.; Moosavi, H.; García-Vázquez, C. Leveraging Retrieval-Augmented Generation for Automated Smart Home Orchestration. Future Internet 2025, 17, 198. https://doi.org/10.3390/fi17050198

AMA Style

Jahanbakhsh N, Vega-Barbas M, Pau I, Elvira-Martín L, Moosavi H, García-Vázquez C. Leveraging Retrieval-Augmented Generation for Automated Smart Home Orchestration. Future Internet. 2025; 17(5):198. https://doi.org/10.3390/fi17050198

Chicago/Turabian Style

Jahanbakhsh, Negin, Mario Vega-Barbas, Iván Pau, Lucas Elvira-Martín, Hirad Moosavi, and Carolina García-Vázquez. 2025. "Leveraging Retrieval-Augmented Generation for Automated Smart Home Orchestration" Future Internet 17, no. 5: 198. https://doi.org/10.3390/fi17050198

APA Style

Jahanbakhsh, N., Vega-Barbas, M., Pau, I., Elvira-Martín, L., Moosavi, H., & García-Vázquez, C. (2025). Leveraging Retrieval-Augmented Generation for Automated Smart Home Orchestration. Future Internet, 17(5), 198. https://doi.org/10.3390/fi17050198

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop