arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.04755cs.SEcs.SYeess.SY
收藏

智能家居系统中的自动化配置:挑战与机遇

Automation Configuration in Smart Home Systems: Challenges and Opportunities

Sheik Murad Hassan Anik, Xinghua Gao, Hao Zhong, Xiaoyin Wang, Na Meng

AI总结:

本文通过挖掘Home Assistant社区论坛的190个讨论帖,系统研究了智能家居YAML自动化配置中的实现、优化和调试问题,发现68%的问题与调试相关且现有工具支持严重不足,为智能家居开发指明了改进方向。

摘要:

随着智能设备和物联网(IoT)的创新,智能家居已经变得普遍。人们倾向于通过定制现成的智能家居平台将住宅改造为智能家居,而不是从头开始创建物联网系统。在众多可选方案中,Home Assistant(HA)是最受欢迎的平台之一。它允许终端用户(即家庭住户)通过(S1)将选定的设备集成到系统中,以及(S2)创建YAML文件来控制这些设备,从而实现家居智能化。遗憾的是,由于设备的多样性和自动化配置的复杂性,许多用户难以正确创建YAML文件。因此,他们的智能家居可能无法按预期工作,从而给用户带来挫败感和担忧。本文提出了一项关于智能家居中基于YAML的自动化配置问题(与S2相关的问题)的新颖研究。我们挖掘了在线论坛Home Assistant Community中与自动化配置相关的讨论帖。通过人工检查190个帖子,我们揭示了3类关注点:实现、优化和调试。在每个类别下,我们根据问题所在位置和涉及的技术概念对讨论进行分类。在调试类讨论中,我们进一步根据用户的解决策略对讨论进行分类;我们还对存在缺陷的YAML文件应用了现有的分析工具,以评估这些工具的有效性。我们的研究揭示了用户面临的常见挑战以及经常采用的解决策略。在被检查的问题中,有129个(68%)与调试有关,但现有工具最多只能检测到14个问题,且无法修复任何问题。这意味着现有工具在自动化配置方面提供的帮助有限。我们的研究为智能家居发展的未来方向提供了启示。

英文摘要:

As the innovation of smart devices and internet-of-things (IoT), smart homes have become prevalent. People tend to transform residences into smart homes by customizing off-the-shelf smart home platforms, instead of creating IoT systems from scratch. Among the alternatives, Home Assistant (HA) is one of the most popular platforms. It allows end-users (i.e., home residents) to smartify homes by (S1) integrating selected devices into the system, and (S2) creating YAML files to control those devices. Unfortunately, due to the diversity of devices and complexity of automatic configurations, many users have difficulty correctly creating YAML files. Consequently, their smart homes may not work as expected, causing frustration and concern in users. This paper presents a novel study on issues of YAML-based automation configuration in smart homes (issues related to S2). We mined the online forum Home Assistant Community for discussion threads related to automation configuration. By manually inspecting 190 threads, we revealed 3 categories of concerns: implementation, optimization, and debugging. Under each category, we classified discussions based on the issue locations and technical concepts involved. Among debugging discussions, we further classified discussions based on users' resolution strategies; we also applied existing analysis tools to buggy YAML files, to assess the tool effectiveness. Our study reveals the common challenges faced by users and frequently applied resolution strategies. There are 129 (68%) examined issues concerning debugging, but existing tools can detect at most 14 issues and fix none. It implies that existing tools provide limited assistance in automation configuration. Our research sheds light on future directions in smart home development.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑