skip to main content
research-article

CCBL: A Language for Better Supporting Context Centered Programming in the Smart Home

Published:30 June 2017Publication History
Skip Abstract Section

Abstract

This paper presents CCBL (Cascading Contexts Based Language), an end-user programming language dedicated to Smart Home. We design CCBL to avoid the problems encountered by end-users programming with ECA (Event Conditions Actions), which is the dominant approach in the domain. We present the results of an experiment where we asked 21 adults (11 experimented programmers and 10 non-programmers) to express four increasingly complex behaviors using both CCBL and ECA. We show that significantly less errors were made using CCBL than using ECA. From this experiment, we also propose some categorization and explanation of the errors made when using ECA and explain why users avoid these errors when programming with CCBL.

References

  1. A.J. Bernheim Brush, Bongshin Lee, Ratul Mahajan, Sharad Agarwal, Stefan Saroiu, and Colin Dixon. 2011. Home automation in the wild: challenges and opportunities. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (CHI '11). ACM, New York, NY, USA, 2115--2124. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Julio Cano, Gwenaël Delaval, Eric Rutten. Coordination of ECA rules by verification and control. 16th International Conference on Coordination Models and Languages, Jun 2014, Berlin, Germany. 16 p., 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Scott Davidoff, Min Kyung Lee, Charles Yiu, John Zimmerman, and Anind K. Dey. 2006. Principles of smart home control. In Proceedings of the 8th international conference on Ubiquitous Computing (UbiComp'06), Paul Dourish and Adrian Friday (Eds.). Springer-Verlag, Berlin, Heidelberg, 19--34. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Alexandre Demeure, Sybille Caffiau, Elias Elias, Camille Roux. Building and Using Home Automation Systems: A Field Study. ISEUD 2015, May 2015, Madrid, Spain. 2015.Google ScholarGoogle Scholar
  5. Anind K. Dey, Timothy Sohn, Sara Streng, Justin Kodama, iCAP: interactive prototyping of context-aware applications, Proceedings of the 4th international conference on Pervasive Computing, p.254--271, May 07--10, 2006, Dublin, Ireland. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. García-Herranz, M., Haya, P., and Alamn, X. Towards a ubiquitous end-user programming system for smart spaces. Journal of Universal Computer Science 16, 12 (2010), 1633--1649.Google ScholarGoogle Scholar
  7. Jonna Häkkilä, Panu Korpipää, Sami Ronkainen, Urpo Tuomela, Interaction and end-user programming with a context-aware mobile application, Proceedings of the 2005 IFIP TC13 international conference on Human-Computer Interaction, September 12--16, 2005, Rome, Italy Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Justin Huang and Maya Cakmak. 2015. Supporting mental model accuracy in trigger-action programming. In Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing (UbiComp '15). ACM, New York, NY, USA, 215--225. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Andrew J. Ko, Brad A. Myers, Htet Htet Aung, Six Learning Barriers in End-User Programming Systems, Proceedings of the 2004 IEEE Symposium on Visual Languages - Human Centric Computing, p.199--206, September 26--29, 2004 Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Håkon Wium Lie, Cascading Style Sheets, Thesis submitted for the degree of Doctor Philosophioe, Faculty of Mathematics and Natural Sciences, University of Oslo, Norway, 2005.Google ScholarGoogle Scholar
  11. Sarah Mennicken, Jo Vermeulen, and Elaine M. Huang. 2014. From today's augmented houses to tomorrow's smart homes: new directions for home automation research. In Proceedings of the 2014 ACM International Joint Conference on Pervasive and Ubiquitous Computing (UbiComp '14). ACM, New York, NY, USA, 105--115. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Chandrakana Nandi and Michael D. Ernst. 2016. Automatic Trigger Generation for Rule-based Smart Homes. In Proceedings of the 2016 ACM Workshop on Programming Languages and Analysis for Security (PLAS '16). ACM, New York, NY, USA, 97--102. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. John F. Pane, Chotirat 'Ann' Ratanamahatana, and Brad A. Myers. 2001. Studying the language and structure in non-programmers' solutions to programming problems. Int. J. Hum.-Comput. Stud. 54, 2 (February 2001), 237--264. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Paschke A: ECA-RuleML: An Approach combining ECA Rules with temporal interval-based KR Event/Action Logics and Transactional Update Logics, IBIS, Technische Universität München, Technical Report 11 / 2005.Google ScholarGoogle Scholar
  15. Lénaïc Terrier, Alexandre Demeure and Sybille Caffiau: CCBL: A new language for End User Development in the Smart Homes. 6 pages short paper to appear in IS-EUD 2017, WORK-IN-PROGRESS category.Google ScholarGoogle Scholar
  16. Blase Ur, Elyse McManus, Melwyn Pak Yong Ho, and Michael L. Littman. 2014. Practical trigger-action programming in the smart home. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (CHI '14). ACM, New York, NY, USA, 803--812. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. CCBL: A Language for Better Supporting Context Centered Programming in the Smart Home

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader
      About Cookies On This Site

      We use cookies to ensure that we give you the best experience on our website.

      Learn more

      Got it!