Back to search

University of Chicago

End-User Programming in Smart Homes with Trigger-Action Programs

Abstract

dc:description.abstract

End-user programming on Internet of Things (IoT) smart devices enables users without programming experience to automate their homes. Trigger-action programming (TAP), supported by several smart home systems, is a common approach for such end-user programming. However, it can be hard for users to correctly express their intention in TAP even under some daily automation scenarios. This thesis introduces our efforts to enhance users' trigger-action programming experience. We believe that help from automated tools can be provided to users. Across several projects, we helped users in all stages of TAP's life cycle including TAP creation and TAP refinement. In these projects, we developed multiple automated tools that reduce the amount of users' coding effort in TAP with the information fetched from users in the form of natural-language-like property statements, intended automated behaviors, or even the history of sensors and devices. We developed AutoTap, a system that lets novice users easily specify desired properties for devices and services. AutoTap translates these properties to linear temporal logic (LTL). Then it both automatically synthesizes property-satisfying TAP rules from scratch and repairs existing TAP rules. We also created Trace2TAP, a novel method for automatically synthesizing TAP rules from users' past behaviors. Given that users vary in their automation priorities, and sometimes choose rules that seem less desirable by traditional metrics like precision and recall, Trace2TAP comprehensively synthesizes TAP rules and brings humans into the loop during automation. Lastly, we designed TapDebug, a system that automatically fixes TAP rules with user-specified behavioral feedback either identified from their device usage history or explicitly specified by themselves through our novel interface. In the TapDebug study, we conducted an empirical user study to discover obstacles throughout the TAP debugging process and evaluated how well TapDebug helped users overcome them.

Degree

thesis:*
Grantor dc:publisher
University of Chicago
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Zhang, Lefan
Advisor dc:contributor.supervisor
  • Lu, Shan

Subjects

dc:subject × 6

Rights

dc:rights
Statement dc:rights
  • Creative Commons Attribution 4.0 International
  • Distribution License
  • © 2022 Lefan Zhang
Language dc:language
eng

Identifiers

dc:identifier.*
Datacite Relatedidentifier Type
DOI
URL
Dc Identifier Other
oai:knowledge.uchicago.edu:jxfce-5wn31
oai:uchicago.tind.io:5243

Chain of custody

source
Harvested from
University of Chicago
Base URL
knowledge.uchicago.edu/oai2d
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Zhang, Lefan. End-User Programming in Smart Homes with Trigger-Action Programs. University of Chicago, 2022. https://doi.org/10.6082/uchicago.5243