Lune

UbiComp2024Top-tier venue

ChatIoT: Zero-code Generation of Trigger-action Based IoT Programs

Yi Gao, Kaijie Xiao, Fu Li, Weifeng Xu, Jiaming Huang, Wei Dong

Abstract

Trigger-Action Program (TAP) is a simple but powerful format to realize intelligent IoT applications, especially in home automation scenarios. Existing trace-driven approaches and in-situ programming approaches depend on either customized interaction commands or well-labeled datasets, resulting in limited applicable scenarios. In this paper, we propose ChatIoT, a zero-code TAP generation system based on large language models (LLMs). With a novel context-aware compressive prompting scheme, ChatIoT is able to automatically generate TAPs from user requests in a token-efficient manner and deploy them to the TAP runtime. Further, for those TAP requests including unknown sensing abilities, ChatIoT can also generate new AI models with knowledge distillation by multimodal LLMs, with a novel model customization method based on deep reinforcement learning. We implemented ChatIoT and evaluated its performance extensively. Results show that ChatIoT can reduce token consumption by 26.1-84.9% and improve TAP generation accuracy by 4.2-65.5% compared to state-of-the-art approaches in multiple settings. We also conducted a real user study, and ChatIoT can achieve 91.57% TAP generation accuracy.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Retrieval-augmented Generation of Enhanced Trigger-action Programming Rules in Smart HomeYuchen Zhao, Lifu Wang, Kai DongUbiComp 2026 · 1 citation
  2. ChatCam: Embracing LLMs for Contextual Chatting-to-Camera with Interest-Oriented Video SummarizationKaijie Xiao, Yi Gao, Fu Li, Weifeng Xu et al.UbiComp 2025 · 6 citations
  3. Helping Users Debug Trigger-Action ProgramsLefan Zhang, Cyrus Zhou, Michael L. Littman, Blase Ur et al.UbiComp 2023 · 14 citations
  4. Detecting Smart Home Automation Application Interferences with Domain KnowledgeTao Wang, Wei Chen, Liwei Liu, Guoquan Wu et al.ASE 2023 · 3 citations
  5. Trace2TAP: Synthesizing Trigger-Action Programs from Traces of BehaviorLefan Zhang, Weijia He, Olivia Morkved, Valerie Zhao et al.UbiComp 2020 · 22 citations
Dusk over the sea between two cliffs drawn in fine vertical lines