<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Hamburg,
Germany
EMAIL: andrea.mattioli@isti.cnr.it (A. Mattioli);
fabio.paterno@isti.cnr.it (F. Paternò)
ORCID:</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>How People Think about Automations in Smart Homes</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Andrea Mattioli</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Fabio Paternò</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CNR-ISTI, HIIS Laboratory</institution>
          ,
          <addr-line>Pisa</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Dept. of Information Engineering, University of Pisa</institution>
          ,
          <addr-line>Pisa</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0001</lpage>
      <abstract>
        <p>Several tools have been put forward for creating automations in smart homes both at a research and commercial level. However, often people still encounter difficulties in specifying them in order to obtain the desired behaviour. To design authoring tools in which even people without programming experience can flexibly indicate the desired automations it is important to have a better understanding of user needs and how they think and describe the automations. In this contribution, we introduce a user study with such goals and provide an initial discussion of what has emerged.</p>
      </abstract>
      <kwd-group>
        <kwd>1 Internet of Things</kwd>
        <kwd>End-user development</kwd>
        <kwd>trigger-action programming</kwd>
        <kwd>user study</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        There is a recent increasing interest in
personalizing smart homes, environments where
Internet of Things (IoT) devices are present and
jointly used with Web services. An effective
approach to configure these environments is using
the trigger-action programming (TAP) paradigm
[
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. TAP is an End-user development (EUD)
approach whose goal is to allow people who may
not be experienced programmers to personalize
their environments with automation rules that
support their needs.
      </p>
      <p>
        Although many studies focused on how to
make TAP rules more flexible and expressive [
        <xref ref-type="bibr" rid="ref3 ref4 ref5 ref6 ref7 ref8">3,
4, 5, 6, 7, 8</xref>
        ], still EUD platform for
personalizations have issues [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], and there are
aspects of how users interpret and use
automations that require further investigation [
        <xref ref-type="bibr" rid="ref10 ref2 ref8">2,
8, 10</xref>
        ]. For instance, it is still unclear how
sustained interactions with the systems can be
aided, to what extent users are aware of the
potentialities, the possible conflicts, and the risks
of these platforms, and how to help them to better
orchestrate behaviours involving more objects
and automations. A starting point in clarifying
these aspects is analysing what people expect
from home automation systems. Previous studies
analysed the user expectations and approaches in
creating automations, concentrating on those
generated with concrete systems, and on how
users approach automations and smart
environments through surveys or “pen and paper”
probes. Ur and colleagues [
        <xref ref-type="bibr" rid="ref1 ref11">1, 11</xref>
        ] investigated the
use of TAP rules to customise smart home devices
in two subsequent studies, asking Amazon’s
Mechanical Turk (MTurk) workers to list five
things they expected a smart home would do,
analysing how triggers and actions are combined
in practice form IFTTT rules, and inquiring the
usability of the rules regarding demographic and
rule complexity aspects. Mi and colleagues [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]
analysed the evolution in the IFTTT platform
usage through snapshots of the available
automations over six months. In [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] the authors
collected a dataset of IFTTT rules and provided a
high-level analysis and examples of the
behaviours that people expect from their IoT
devices. An approach aimed at overcoming the
limitations of studying automations produced
using a specific platform is carried out in [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ],
where twenty participants were surveyed about
home automation rules. A house model and device
list were provided to participants, who could
describe automations without constraints on how
to combine the rule elements. A study on the
trade-offs to consider when designing a smart
home system has been reported in [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. The
authors designed four questionnaires to describe
smart home functionalities among the axis of
capabilities and personification. The
questionnaires were prompted to MTurk workers,
which had to write functionalities they would
want in their homes. Corno and colleagues [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]
analysed which possible level of abstraction users
would possibly adopt besides the vendor-centric
one. They set up a one-week diary study where
participants were free to collect TAP rules that
emerges during their daily activities. In [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], a
sixweek study was conducted in the houses of
techsavvy families, to investigate the use of end-user
programmable toolkits in the wild.
      </p>
      <p>From related work, it emerges that a study is
missing where user-created automations are
investigated both from a natural language and a
formal structure perspective. This would help in
better understanding how users map from an
abstract automation idea into something that
could be eventually executed by a home
automation system. Not specifying a predefined
list of services and devices would uncover which
functionalities people expect from their smart
environments. Also, not much attention has been
devoted to analysing automations comprising
multiple triggers and actions. A better
understanding of how people think of operators
and connectors between rule parts would be useful
to designers of IoT tailoring systems, to provide
functionalities that better mirror the users' mental
models and expectations. We hence set up an
experiment aimed at unravelling these aspects.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Methodology</title>
      <p>
        Participants in the study (N = 34, with some
knowledge in Web page development but with a
limited experience with IoT) were recruited
during a Digital Humanities university course.
They were first introduced to IoT and TAP
concepts, and some common examples of
automation were presented to them. In a second
meeting one week after, the concepts were
recalled, and they were presented with the tasks to
perform. Their assignment was to think about six
automations that can be useful for daily living in
their environment and define them first using a
natural language description, as they would
express them more spontaneously, and then a
formalized structure. For the structure, we refer to
the event-condition-action paradigm, as from
previous studies it emerged that it is suitable for
the configuration of IoT automations [
        <xref ref-type="bibr" rid="ref16 ref17 ref18 ref19">16, 17, 18,
19</xref>
        ].
      </p>
      <p>
        The provided structure required the name of
the rule, its high-level goal, and an optional
description of the context of activation [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. Then,
for each “rule element” (the events, conditions
and actions present in the automation), a further
specification is defined as follows:
• ECA: this field can only contain “event”,
“condition” or “action”.
• Environment: the location to which the
rule element refers, for instance, a room or
garden, the whole house, or “none” if it refers
to something not specific to a location.
• Channel: the description of which object,
device, or service is required / capable to
activate the desired functionality.
• Functionality: the specific functionality
of the object, device, or service that we want to
use.
• Operator: definition of what is used to
join the functionality with its value.
• Value: the numeric, textual, or
enumeration value associated with the
functionality.
• Next Operator: an optional field to
specify the connection of the current rule
element with the next one.
      </p>
      <p>To limit social pressure and to allow them to
reason in a situated manner, participants had one
week to accomplish the task. Also, to not force
participants’ thinking into the provided rule
structure, it was asked to first define automations
using natural language descriptions and later
convert them into the template.</p>
    </sec>
    <sec id="sec-3">
      <title>3. The Collected Automations</title>
      <p>Participants produced overall 204 automation
rules, comprising 735 rule elements. Since a list
of functionalities was not provided, they
described the desired behaviours using a wealth of
terms. To drive further analysis we hence
examined the formal and natural language
descriptions of the gathered automations and
extracted a list of functionality classes (check the
first column in Table 1).
also to specify to which location each part of the
automation refers (See Figure 1, lower part).</p>
      <p>From the table, we can observe the high
frequencies of “scheduling” (in the trigger part it
refers to a generic time or date, or a fixed date like
“event in the calendar for tomorrow”, while in the
action part can be for instance “add the delivery
date to the calendar”), “presence” (detection or
non-detection in a room, home or away from
home), and “notifications” (received on the
smartphone, speaker, but also using a “signal
lamp” in some cases) classes, the first two being
the most used triggers, and the third the most
common action.</p>
      <p>Participants could use one or two terms to
describe the final goal for the automation. Like
before, we grouped the goals based on the most
frequent terms and conceptual proximity (see
Figure 1, upper part). In general, we found the
goal to be much centred in a few classes, and that
comfort is by far the most used goal, present in
around half of the automations. Participants had</p>
      <p>It emerges that most of the rule parts refer to
the whole house, or no specific place (such as a
notification received on the phone). However,
they also mentioned specific rooms, locations
outside the house, and also the possibility to link
the automation to the room the user is currently in.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Discussion</title>
      <p>Some patterns emerge from the gathered data.
Participants adopted two main approaches to
describe automations using natural language. The
first is a more direct style, asking the system to do
the actions (“then activate”; “make the fridge
create recipes”; “tell Alexa to do this”). The
second is an impersonal approach, describing the
changes that will then occur in the environment as
the result of the action part (“the watering
mechanism is activated”; “the cameras turn on
and alarm notifications are activated”).
Furthermore, automations were described using
either a drier, rule-like approach (“if this, then do
that”) or a descriptive one (“assuming the house
has an entrance door with a smart handle, make
sure that…”). Another distinction emerges in the
triggers descriptions. In some cases, they directly
used the verb to define what is occurring (“if the
user is studying”; “if it’s raining”; “when it’s
8:00”; “if the kitchen temperature is below 17
degrees”). In other cases, they referred to the
object that performs the sensing (“when the bed
sensor detects the user”; “when the sensor
measures soil humidity below 60%”). The brands
of devices were not frequently used by
participants, with the exception of voice assistants
and gaming consoles.</p>
      <p>Concerning the use of the template,
participants formalised automations starting from
the trigger part (mostly events first) and then the
action part. The “And” operator was the most used
to join a trigger functionality with its value and
also as a connector between a trigger or action and
the next rule element (when applicable), whilst the
“Equal” operator was the most used to link the
actions functionalities and values. In some cases,
participants modified the standard operators, e.g.,
using “And (after 5 minutes)” as “next operator”
between two actions.</p>
      <p>An aspect that stands out is that a significant
portion of the defined automations (more than
20%) cannot be expressed using a standard rule
construct (we considered “standard” rules
consisting of one or more events jointed with the
“or” operator, eventually one or more conditions
joined by the “and” or “or” operators, and one or
more actions; alternatively, a structure with one or
more conditions with one or more actions, where
the start of a condition acts as the event). The most
common non-standard construct identified in
automation was related to timing aspects of the
trigger parts, for instance, requiring to check
whether a condition lasts for a specific amount of
time; if an event has not been detected in a period;
if something has not occurred in an interval after
another event; or if it verifies in an interval before
another event. Other found non-standard
constructs were the timing aspects for actions
(delayed notifications or actions gradually
performed in steps), the programming-like
constructs (“if-then-else” rules, complex Boolean
conditions requiring parenthesis, counters), the
use of routines and rule concatenations (“activate
this action, then do this other check”), and the use
of groups (“all the kids’ devices”). Some
examples of these non-standard automations are:
If the windows in the house are closed for more
than 24 hours, and the air purifier detects high
levels of CO2, the windows open and the
purifier starts sanitizing the air.</p>
      <p>This automation requires a check to be
performed at the end of the 24 hours.</p>
      <p>When it's 21:00, if the user has not yet called
their grandparents' home number, send them
a text message with the message «How are
you?», then after 5 minutes switch off the TV
and start a call to their number.</p>
      <p>This automation needs a “wait” between the
first and the other actions.</p>
      <p>If the backrest is raised and our user does not
get up, then after five minutes the alarm rings
and the backrest starts to vibrate.</p>
      <p>The participant specified that the five-minute
check is a cyclical operator to be repeated every 5
minutes.</p>
      <p>When the dog is hungry, he can press the
button adjacent to the bowl up to twice a day
to fill it with an exact dose of food. Once the
button is pressed, the bowl will emit the voice
message “Bravo” and then release the food.</p>
      <p>A counter is required to implement this
functionality.</p>
      <p>About the limitation of this work, it should be
noted that participants have similar backgrounds
and ages (Masters’s degree students between 23
and 29 years old). This could have influenced the
variety and the choice of functionalities for the
produced automation rules.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusions and Future Work</title>
      <p>We introduce and discuss a user study aimed at
collecting automation rules without imposing
device or interface constraints, using both a
natural language and a formalized structure. We
also reported on a preliminary high-level analysis
of the collected data.</p>
      <p>
        Participants used different approaches in
describing the desired automations using natural
language. However, they mainly used standard
operators while formalizing them. A challenge
that emerges is that a significant number of
automations require advanced constructs, often
time-related. In future work, we will study how to
allow users to define these temporal aspects (e.g.,
using Allen’s interval Algebra [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] as in [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ]). We
also plan to continue to analyse the gathered
automations to better understand the potential
users’ expectations and ways to define
automations.
      </p>
    </sec>
    <sec id="sec-6">
      <title>6. Acknowledgements</title>
      <p>This work has been supported by the PRIN 2017
“EMPATHY: Empowering People in Dealing
with Internet of Things Ecosystems”,
https://www.empathy-project.eu/</p>
    </sec>
    <sec id="sec-7">
      <title>7. References</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Ur</surname>
          </string-name>
          , Blase,
          <string-name>
            <surname>Elyse</surname>
            <given-names>McManus</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Melwyn Pak Yong Ho</surname>
            ,
            <given-names>and Michael L.</given-names>
          </string-name>
          <string-name>
            <surname>Littman</surname>
          </string-name>
          .
          <article-title>"Practical trigger-action programming in the smart home."</article-title>
          <source>In Proceedings of the SIGCHI conference on human factors in computing systems</source>
          , pp.
          <fpage>803</fpage>
          -
          <lpage>812</lpage>
          .
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Brackenbury</surname>
          </string-name>
          , Will, Abhimanyu Deora, Jillian Ritchey, Jason Vallee, Weijia He,
          <string-name>
            <surname>Guan Wang</surname>
          </string-name>
          , Michael L.
          <string-name>
            <surname>Littman</surname>
            , and
            <given-names>Blase</given-names>
          </string-name>
          <string-name>
            <surname>Ur</surname>
          </string-name>
          .
          <article-title>"How users interpret bugs in triggeraction programming."</article-title>
          <source>In Proceedings of the 2019 CHI conference on human factors in computing systems</source>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>12</lpage>
          .
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Ghiani</surname>
            , Giuseppe, Marco Manca, Fabio Paternò, and
            <given-names>Carmen</given-names>
          </string-name>
          <string-name>
            <surname>Santoro</surname>
          </string-name>
          .
          <article-title>"Personalization of context-dependent applications through trigger-action rules." ACM Transactions on Computer-Human Interaction (TOCHI) 24</article-title>
          , no.
          <issue>2</issue>
          (
          <year>2017</year>
          ):
          <fpage>1</fpage>
          -
          <lpage>33</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Desolda</surname>
            , Giuseppe,
            <given-names>Carmelo</given-names>
          </string-name>
          <string-name>
            <surname>Ardito</surname>
            , and
            <given-names>Maristella</given-names>
          </string-name>
          <string-name>
            <surname>Matera</surname>
          </string-name>
          .
          <article-title>"Empowering end users to customize their smart environments: model, composition paradigms, and domainspecific tools." ACM Transactions on Computer-Human Interaction (TOCHI) 24</article-title>
          , no.
          <issue>2</issue>
          (
          <year>2017</year>
          ):
          <fpage>1</fpage>
          -
          <lpage>52</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Fogli</surname>
            , Daniela,
            <given-names>Matteo</given-names>
          </string-name>
          <string-name>
            <surname>Peroni</surname>
            , and
            <given-names>Claudia</given-names>
          </string-name>
          <string-name>
            <surname>Stefini</surname>
          </string-name>
          .
          <article-title>"ImAtHome: Making trigger-action programming easy and fun</article-title>
          .
          <source>" Journal of Visual Languages &amp; Computing</source>
          <volume>42</volume>
          (
          <year>2017</year>
          ):
          <fpage>60</fpage>
          -
          <lpage>75</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Manca</surname>
            , Marco, Fabio Paternò, Carmen Santoro, and
            <given-names>Luca</given-names>
          </string-name>
          <string-name>
            <surname>Corcella</surname>
          </string-name>
          .
          <article-title>"Supporting end-user debugging of trigger-action rules for IoT applications</article-title>
          ."
          <source>International Journal of Human-Computer Studies</source>
          <volume>123</volume>
          (
          <year>2019</year>
          ):
          <fpage>56</fpage>
          -
          <lpage>69</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Mattioli</surname>
            , Andrea, and
            <given-names>Fabio</given-names>
          </string-name>
          <string-name>
            <surname>Paternò</surname>
          </string-name>
          .
          <article-title>"A visual environment for end-user creation of IoT customization rules with recommendation support."</article-title>
          <source>In Proceedings of the International Conference on Advanced Visual Interfaces</source>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>5</lpage>
          .
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Salovaara</surname>
            , Antti, Andrea Bellucci, Andrea Vianello, and
            <given-names>Giulio</given-names>
          </string-name>
          <string-name>
            <surname>Jacucci</surname>
          </string-name>
          .
          <article-title>"Programmable smart home toolkits should better address households' social needs."</article-title>
          <source>In Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems</source>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>14</lpage>
          .
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Corno</surname>
          </string-name>
          , Fulvio, Luigi De Russis, and Alberto Monge Roffarello.
          <article-title>"How do end-users program the Internet of Things?."</article-title>
          <source>Behaviour &amp; Information Technology</source>
          <volume>41</volume>
          , no.
          <issue>9</issue>
          (
          <year>2022</year>
          ):
          <fpage>1865</fpage>
          -
          <lpage>1887</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Chen</surname>
            , Xuyang, Xiaolu Zhang, Michael Elliot,
            <given-names>Xiaoyin</given-names>
          </string-name>
          <string-name>
            <surname>Wang</surname>
            , and
            <given-names>Feng</given-names>
          </string-name>
          <string-name>
            <surname>Wang</surname>
          </string-name>
          .
          <article-title>"Fix the leaking tap: A survey of Trigger-Action Programming (TAP) security issues, detection techniques and solutions." Computers &amp; Security (</article-title>
          <year>2022</year>
          ):
          <fpage>102812</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Ur</surname>
            , Blase, Melwyn Pak Yong Ho, Stephen Brawner,
            <given-names>Jiyun</given-names>
          </string-name>
          <string-name>
            <surname>Lee</surname>
            , Sarah Mennicken, Noah Picard, Diane Schulze,
            <given-names>and Michael L.</given-names>
          </string-name>
          <string-name>
            <surname>Littman</surname>
          </string-name>
          .
          <article-title>"Trigger-action programming in the wild: An analysis of 200,000 ifttt recipes."</article-title>
          <source>In Proceedings of the 2016 CHI Conference on Human Factors in Computing Systems</source>
          , pp.
          <fpage>3227</fpage>
          -
          <lpage>3231</lpage>
          .
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Mi</surname>
            , Xianghang, Feng Qian, Ying Zhang, and
            <given-names>XiaoFeng</given-names>
          </string-name>
          <string-name>
            <surname>Wang</surname>
          </string-name>
          .
          <article-title>"An empirical characterization of IFTTT: ecosystem, usage, and performance."</article-title>
          <source>In Proceedings of the 2017 Internet Measurement Conference</source>
          , pp.
          <fpage>398</fpage>
          -
          <lpage>404</lpage>
          .
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Yu</surname>
            , Haoxiang,
            <given-names>Jie</given-names>
          </string-name>
          <string-name>
            <surname>Hua</surname>
            , and
            <given-names>Christine</given-names>
          </string-name>
          <string-name>
            <surname>Julien</surname>
          </string-name>
          .
          <article-title>"Analysis of ifttt recipes to study how humans use internet-of-things (iot) devices."</article-title>
          <source>In Proceedings of the 19th ACM Conference on Embedded Networked Sensor Systems</source>
          , pp.
          <fpage>537</fpage>
          -
          <lpage>541</lpage>
          .
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Soares</surname>
          </string-name>
          , Danny, João Pedro Dias, André Restivo, and Hugo Sereno Ferreira.
          <article-title>"Programming iot-spaces: A user-survey on home automation rules." In Computational Science-ICCS</article-title>
          <year>2021</year>
          : 21st International Conference, Krakow, Poland, June 16-18,
          <year>2021</year>
          , Proceedings,
          <string-name>
            <surname>Part</surname>
            <given-names>IV</given-names>
          </string-name>
          , pp.
          <fpage>512</fpage>
          -
          <lpage>525</lpage>
          . Cham: Springer International Publishing,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Clark</surname>
            , Meghan,
            <given-names>Mark W.</given-names>
          </string-name>
          <string-name>
            <surname>Newman</surname>
            , and
            <given-names>Prabal</given-names>
          </string-name>
          <string-name>
            <surname>Dutta</surname>
          </string-name>
          .
          <article-title>"Devices and data and agents, oh my: How smart home abstractions prime end-user mental models</article-title>
          .
          <source>" Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies</source>
          <volume>1</volume>
          , no.
          <issue>3</issue>
          (
          <year>2017</year>
          ):
          <fpage>1</fpage>
          -
          <lpage>26</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Cabitza</surname>
          </string-name>
          , Federico, Daniela Fogli, Rosa Lanzilotti, and Antonio Piccinno.
          <article-title>"Rulebased tools for the configuration of ambient intelligence systems: a comparative user study</article-title>
          .
          <source>" Multimedia Tools and Applications</source>
          <volume>76</volume>
          (
          <year>2017</year>
          ):
          <fpage>5221</fpage>
          -
          <lpage>5241</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Bak</surname>
          </string-name>
          , Nayeon,
          <string-name>
            <surname>Byeong-Mo Chang</surname>
            , and
            <given-names>Kwanghoon</given-names>
          </string-name>
          <string-name>
            <surname>Choi</surname>
          </string-name>
          .
          <article-title>"Smart Block: A visual block language and its programming environment for IoT."</article-title>
          <source>Journal of Computer Languages</source>
          <volume>60</volume>
          (
          <year>2020</year>
          ):
          <fpage>100999</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>Fogli</surname>
            , Daniela,
            <given-names>Matteo</given-names>
          </string-name>
          <string-name>
            <surname>Peroni</surname>
            , and
            <given-names>Claudia</given-names>
          </string-name>
          <string-name>
            <surname>Stefini</surname>
          </string-name>
          .
          <article-title>"Smart home control through unwitting trigger-action programming."</article-title>
          <source>In Proc. 22nd Conf. Distrib. Multimedia Syst.(DMS)</source>
          , pp.
          <fpage>194</fpage>
          -
          <lpage>201</lpage>
          .
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Demeure</surname>
            , Alexandre, Sybille Caffiau, Elena Elias, and
            <given-names>Camille</given-names>
          </string-name>
          <string-name>
            <surname>Roux</surname>
          </string-name>
          .
          <article-title>"Building and using home automation systems: a field study." In End-User Development: 5th International Symposium</article-title>
          , IS-EUD
          <year>2015</year>
          , Madrid, Spain, May
          <volume>26</volume>
          -29,
          <year>2015</year>
          . Proceedings 5, pp.
          <fpage>125</fpage>
          -
          <lpage>140</lpage>
          . Springer International Publishing,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <surname>Funk</surname>
          </string-name>
          , Mathias,
          <string-name>
            <surname>Lin-Lin</surname>
            <given-names>Chen</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shao-Wen Yang</surname>
          </string-name>
          , and
          <string-name>
            <surname>Yen-Kuang Chen</surname>
          </string-name>
          .
          <article-title>"Addressing the need to capture scenarios, intentions and preferences: Interactive intentional programming in the smart home."</article-title>
          <source>International Journal of Design</source>
          <volume>12</volume>
          , no.
          <issue>1</issue>
          (
          <year>2018</year>
          ):
          <fpage>53</fpage>
          -
          <lpage>66</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <surname>Allen</surname>
          </string-name>
          , James F.
          <article-title>"Maintaining knowledge about temporal intervals."</article-title>
          <source>Communications of the ACM</source>
          <volume>26</volume>
          , no.
          <volume>11</volume>
          (
          <year>1983</year>
          ):
          <fpage>832</fpage>
          -
          <lpage>843</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <surname>Terrier</surname>
            , Lenaïc,
            <given-names>Alexandre</given-names>
          </string-name>
          <string-name>
            <surname>Demeure</surname>
            , and
            <given-names>Sybille</given-names>
          </string-name>
          <string-name>
            <surname>Caffiau</surname>
          </string-name>
          .
          <article-title>"CCBL: A new language for End User Development in the Smart Homes." Proceedings of IS-EUD (</article-title>
          <year>2017</year>
          ):
          <fpage>82</fpage>
          -
          <lpage>87</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>