Skip to main content

OKAPI: In Support of Application Correctness in Smart Home Environments

Author(s): Melissaris, Themis; Shaw, Kelly; Martonosi, Margaret

Download
To refer to this page use: http://arks.princeton.edu/ark:/88435/pr1sg2s
Abstract: Typical Internet of Things (IoT) and smart home environments are composed of smart devices that are controlled and orchestrated by applications developed and run in the cloud. Correctness is important for these applications, since they control the home's physical security (i.e. door locks) and systems (i.e. HVAC). Unfortunately, many smart home applications and systems exhibit poor security characteristics and insufficient system support. Instead they force application developers to reason about a combination of complicated scenarios-asynchronous events and distributed devices. This paper demonstrates that existing cloud-based smart home platforms provide insufficient support for applications to correctly deal with concurrency and data consistency issues. These weaknesses expose platform vulnerabilities that affect system correctness and security (e.g. a smart lock erroneously unlocked). To address this, we present OKAPI, an application-level API that provides strict atomicity and event ordering. We evaluate our work using the Samsung SmartThings smart home devices, hub, and cloud infrastructure. In addition to identifying shortfalls of cloud-based smart home platforms, we propose design guidelines to make application developers oblivious of smart home platforms' consistency and concurrency intricacies.
Publication Date: 2019
Citation: Melissaris, Themis, Kelly Shaw, and Margaret Martonosi. "OKAPI: In Support of Application Correctness in Smart Home Environments." In Fourth International Conference on Fog and Mobile Edge Computing (FMEC) (2019): pp. 173-180. doi:10.1109/FMEC.2019.8795349
DOI: 10.1109/FMEC.2019.8795349
Pages: 173 - 180
Type of Material: Conference Article
Journal/Proceeding Title: Fourth International Conference on Fog and Mobile Edge Computing
Version: Author's manuscript



Items in OAR@Princeton are protected by copyright, with all rights reserved, unless otherwise indicated.