<!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 />
    <article-meta>
      <title-group>
        <article-title>Exploiting BLE beacons capabilities in the NESTORE monitoring system</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Filippo Palumbo?</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Paolo Baronti</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Antonino Crivello</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francesco Furfari</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Michele Girol</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Civiello</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Enrico Denna</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Leonardo Angelini</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mira El Kamali</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Omar Abou Khaled</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Elena Mugellini</string-name>
          <email>elena.mugellinig@hes-so.ch</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giancarlo Pace</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>FLEXTRONICS DESIGN SRL</institution>
          ,
          <addr-line>Milan</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>HumanTech Institute University of Applied Sciences Western Switzerland</institution>
          ,
          <addr-line>1700 Fribourg</addr-line>
          ,
          <country country="CH">Switzerland</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Institute of Information Science and Technologies \A. Faedo" National Research Council</institution>
          ,
          <addr-line>56124 Pisa</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Neosperience S.p.a.</institution>
          ,
          <addr-line>25125 Brescia</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Monitoring physiological and behavioural data related to the ve domains of well-being (i.e., physical, mental, cognitive, social, and nutritional) is relevant for assessing the pro le of people using assistive technologies, in order to provide early detection and adaptive support to his changing individual needs related to ageing. In this paper, we present a system called NESTORE that aims at addressing such a challenge. In particular, we focus on the enabling technology that composes the core set of devices of the so-called environmental monitoring system, namely the NESTORE Bluetooth Low Energy beacons. The presented system performs a range of services including data collection and analysis of short- and long-term trends in social and behavioural parameters. Furthermore, using the same set of devices the system provides insights on the status of the user's vital space in terms of thermal comfort. We provide an overview of the NESTORE environmental monitoring system and details and evaluation of the software modules built upon the chosen technology: social interaction detection, indoor behavioural index inference, and indoor thermal comfort detection.</p>
      </abstract>
      <kwd-group>
        <kwd>Bluetooth Low Energy Social Interaction Virtual Coach Active Ageing</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Extended life expectancy in developed countries is a sign of a global better
health, but it brings with it needs and challenges to be properly addressed.
To this end, Information and Communication Technologies (ICT) can provide
solutions for Active Ageing. However, the success of such solutions is strongly
a ected by the perception of the users about their obtrusiveness and e cacy. In
this context, the NESTORE project aims at developing a suite of personalized
guidelines for supporting health and global wellness to be provided to the user by
means of multimodal tools: a virtual coach, a tangible interface, serious games,
and a set of personal and environmental sensors.</p>
      <p>
        One of the main goal of NESTORE is to monitor physiological and
behavioural data related to the ve human domains of well-being (i.e., physical,
mental, cognitive, social, and nutritional), as identi ed by medical specialists [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
In order to achieve this goal, we develop a multi-domain unobtrusive monitoring
system, also relevant for assessing the user pro le [
        <xref ref-type="bibr" rid="ref36">36</xref>
        ] [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ]. The NESTORE
system optimizes and integrates available technological solutions based on advanced
non-invasive monitoring systems, such as wearable and environmental sensors.
      </p>
      <p>In this paper, we show the actual devices chosen as the set of environmental
sensors of the NESTORE ecosystem and, in particular, the tests performed on
custom devices, namely Bluetooth Low Energy (BLE) beacons, developed in the
project's activities with the aim of detecting social interactions, indoor user's
behaviour, and the environmental status of the user's vital space (indoor air
quality, movements, detection of indoor/outdoor).</p>
      <p>
        In recent years, we have witnessed a rapid surge in assisted living technologies
helping the ageing population [
        <xref ref-type="bibr" rid="ref31">31</xref>
        ]. Recent advancements in several technological
areas have helped the vision of Ambient Intelligence (AmI) and Ambient Assisted
Living (AAL) to become a reality. These technologies include smart homes,
assistive robotics, e-textile, and mobile and wearable sensors. Among the currently
available enabling technological solutions, BLE is becoming the most prominent
in allowing interoperability of wireless technologies in smart environments [
        <xref ref-type="bibr" rid="ref24 ref38">24,
38</xref>
        ] and it has been widely adopted in di erent typical AmI/AAL scenarios, from
indoor positioning [
        <xref ref-type="bibr" rid="ref29 ref37">37, 29</xref>
        ] to human activity recognition [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] and health status
monitoring [
        <xref ref-type="bibr" rid="ref35">35</xref>
        ].
      </p>
      <p>In the NESTORE ecosystem, besides the unobtrusiveness granted by this
kind of devices (small in dimensions, ease of installation and maintenance, long
duration of battery), the choice of BLE allows us to provide di erent kind of
services to the user with the same devices (i.e., social interaction detection,
indoor behavioural index, and indoor thermal comfort) using the inherent
capabilities o ered by this technology. We exploit the characteristics of the BLE
technology in terms of type of customizable BLE messages (the BLE devices
embed di erent sensors like accelerometers, humidity and temperature sensors,
which information is transmitted in the advertisement's payload) and
possibility to infer proximity using the Received Signal Strength of the received BLE
advertisements.</p>
      <p>The rest of the paper is structured as follows: Section 2 shows the main
components of the NESTORE indoor monitoring system with Section 3 describing
the actual implementation of the BLE solutions in the task of detecting social
interactions, inferring the indoor beahvioural index, and monitoring the indoor
thermal comfort of the user's home.. Section 4 illustrates the main tool used
as feedback to the user, namely the NESTORE coaching app, and how it is
used to show the results of the algorithms presented, while Section 5 draws the
conclusions and future works.
2</p>
    </sec>
    <sec id="sec-2">
      <title>The NESTORE monitoring system</title>
      <p>The NESTORE environmental monitoring system is an ensemble of wireless
sensors able to sense the variables indicated by the domain experts. Furthermore,
it has the aim of detecting the interaction of the user with his circle of friends
and caregivers and the environment itself, while monitoring the status of the
environment, in terms of indoor thermal comfort. For this reasons, we call
environmental device any sensor deployed in the user's vital space, while wearable the
device worn by the user during his daily activities. As further source of
information about the user's status, we derive data as result of computation and fusion
strategy from a direct input of the user, as questionnaires, while interacting with
the NESTORE coach app. We call the latter soft data.</p>
      <p>In order to build the integrated NESTORE environmental monitoring
system, we rst performed a technology selection to satisfy not only the
requirements coming from the domain experts related to the user pro le (to cover as
much variables as possible), but also the ones coming from the co-design
activities in terms of unobtrusiveness. The integrated system should be unobtrusive
under diverse perspectives: R1) user interaction - the user should not wear
additional sensors or explicitly interact with the environmental device; R2) number
of devices - the user's living environment should not be lled with lot of
visible devices; R3) installation and maintenance - it should be easy to deploy and
maintain the device without additional e ort from the user.</p>
      <p>
        In this paper, we focus on the environmental technologies used to cover the
variable indicated by the medical experts of NESTORE, in terms of: sleep
monitoring [
        <xref ref-type="bibr" rid="ref15 ref2">15, 2</xref>
        ], weight monitoring [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], indoor user's behaviour and environmental
status monitoring [
        <xref ref-type="bibr" rid="ref10 ref11 ref30">10, 30, 11</xref>
        ], and social interaction detection [
        <xref ref-type="bibr" rid="ref14 ref25 ref7">25, 7, 14</xref>
        ]. Figure
1 shows the ensemble of devices and technologies chosen to build the NESTORE
environmental monitoring system. In particular, we will describe the methods
that leverage the presence of BLE beacons as primary source of information,
being the most suitable solution to address the requirements of unobtrusiveness
as listed above.
      </p>
      <p>The BLE beacons are emitters that periodically send beacons (called
advertisements in BLE) with a speci c rate and power. They are received by other
BLE devices located nearby (e.g., the NESTORE wristband). When the receiver
hears a beacon, it estimates the Received Signal Strength Indicator (RSSI), a</p>
      <p>outdoor
indoor
Internet</p>
      <p>NESTORE</p>
      <p>Cloud
Infrastructure
value expressed in a decibel scale (dbm), which can be related to the distance of
the receiver from the transmitter.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Exploiting BLE beacons</title>
      <p>The hardware kit given to the NESTORE users during the piloting phase is
composed of all the environmental devices (e.g., a smart scale, a
ballistocardiography sensor, ve social BLE beacons, and ve environmental BLE beacons)
plus the NESTORE wristband with its charger. The subset of devices based on
BLE connectivity is reported in Figure 2. It is composed by the wristband, a
charging station, and ve social and ve environmental beacons.</p>
      <p>The software modules that are going to be described in the following
subsections analyse data uploaded to the NESTORE cloud through the NESTORE
Connect agent, a service running in background of the user's phone.
3.1</p>
      <sec id="sec-3-1">
        <title>Detecting social interactions</title>
        <p>
          This section describes the algorithm to detect the social interactions between
the NESTORE user and his/her circle of friends/caregivers, the algorithm is
referred to as Social Interaction Detector (SID). The basic idea is to analyse
the messages emitted by the social BLE beacons [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] with the goal of detecting
proximity among users. In turn, the proximity between a pair of users (a dyad )
is considered a sociological marker that express the willingness to establish a
social relationship, as also studied in [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. Di erently from [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ], SID has been
designed as a Cloud-based service so that to elaborate the data collected remotely
and automatically at periodic intervals. Moreover, SID can analyse data stored
in di erent data providers such as a MongoDB collection, a plain CSV le or
the NESTORE Robofuse server. SID modi es also the way the interactions are
initially detected and maintained with respect the approach followed in [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ].
        </p>
        <p>Each NESTORE user wears the wristband acting as a data logger of the
messages emitted by the social BLE beacons. Beacons are given to the NESTORE
user's local circle: a set of friends/relatives/caregivers/neighbours etc. that the
NESTORE user identi es during the installation process.</p>
        <p>The whole ow comprises the following steps:
1. Messages emitted by the social and environmental beacons are collected by
the wristband.
2. Messages are uploaded through the NESTORE Connect agent to RoboFuse5
in the NESTORE cloud.
3. SID periodically fetches and analyse the data from each NESTORE user.
4. The result of the analysis of SID is uploaded to ZivaCare6 through dedicated</p>
        <p>APIs.
5. Results are available for a graphical representation with the NESTORE
coaching app.</p>
        <p>SID is implemented in Java programming language; it runs on a dedicates
Virtual Machine (VM) hosted on the NESTORE cloud. SID performs two core
operations at periodical intervals: User pro ling and Data retrieval and analysis.
User pro ling During the user pro ling operation, SID rst retrieves the list
of NESTORE users and it checks if each of them has granted the consent for the
analysis of data. If the consent is not given or denied, then the analysis of the
speci c NESTORE user is skipped, otherwise SID retrieves the user's pro le:
{ The list of IDs of the social beacons assigned to each NESTORE user;
5 https://robofuse.com/
6 https://www.zivacare.com/
{ The list of IDs of the environmental beacons assigned to each NESTORE
user;
{ The list of IDs of the friends joining to the NESTORE user's local circle;
{ Other meta-information for each NESTORE user.</p>
        <p>Data retrieval and analysis In this phase, SID retrieves for each NESTORE
user the messages collected from its own wristband. Then, it performs the
analysis of the messages collected from the wristbands of each NESTORE user. SID
retrieves messages for a time period (e.g. the last 24 hours) with the goal of
identifying the number and the duration of the social interactions of the NESTORE
user with his/her local circle's members.</p>
        <p>The algorithm considers an interaction between X (NESTORE user) and Y
(NESTORE user's friends) composed by 3 stages: i) Opening ; ii) Keeping ; iii)
Closing.</p>
        <p>The opening stage lasts for up seconds during which SID checks two
conditions:
{ Number : to receive at least p % of the expected messages. The expected
messages depend on amount of messages a wristband can collects in a time
period;
{ Quality : the RSSI of the messages received must exceed a speci c threshold
t.</p>
        <p>If both of the two conditions hold, then SID starts an interaction between X
and Y .</p>
        <p>The keeping condition lasts for an undetermined period of time. During this
stage, SID checks the Quality condition. In particular, the RSSI of the messages
must always exceed a speci c threshold t.</p>
        <p>The closing condition checks that for at least down seconds no messages
holding the Quality condition are received. If this happens, then SID closes the
interaction between X and Y .</p>
        <p>A simpli ed representation of SID is reported in Figure 3. The gure shows
a time interval split in three segments: i) up, during which SID expects at
least the p % of beacons with RSSI over a threshold (green dots); ii) the keeping
segment; and iii) the down segment. SID allows to identify not only the number
of interaction for a dyad (X-Y ), but also its duration. In fact, all the messages
analysed are annotated with a timestamp which is used to keep track of the rst
receives message (starting time) and the last receives message (ending time).</p>
        <p>Data collected with SID can be used to estimate the location of an
interaction. Such information is obtained by analysing messages coming from the
environmental beacons. Environmental beacons are similar to the social beacons
with the di erence that they are deployed in speci c locations of the house, e.g.
kitchen, bed room, rest room etc. The basic idea for detecting the location of the
interactions is similar to the algorithm for detecting interaction among people:
if SID detects proximity between NESTORE user X and environmental beacon
E1 deployed in the kitchen at time [t1 t2] and if SID detects proximity between
NESTORE user X and user Y during [t2 t3], then SID infers that NESTORE
user X interacts with Y in position E1 from time t2 to time t3.</p>
        <p>Performance evaluation In order to test and calibrate SID with a suitable
con guration for the NESTORE pilot studies, the following tests have been
conducted with the goal of: i) calibrating SID for detecting the social interactions
(parameters p and t); ii) measuring the performance obtained by SID.</p>
        <p>The rst test (T est1) reproduces a social interaction during which the friend
always brings the social beacon in proximity: the NESTORE user wears the
wristband and the local circle is composed by one person (the social beacon is
con gured with a power of emission of 8dbm). The protocol for reproducing
the social interaction is the following (six runs with the same protocol):
1. The dyad moves 15+ meters away, in order to reproduce absence of
interaction:
(a) 4 minutes of non-interaction.
2. The dyad moves 1 to 1.5 meters in proximity, in order to reproduce
interaction:
(a) the friend brings the social beacon on the key-chain;
(b) 4 minutes of interaction.</p>
        <p>The second test (T est2) reproduces a social interaction during which the
friend \forgets" the social beacon far from the place where the interaction
actually takes place. This scenario reproduces a common situation in which the
a friend visits a NESTORE users and it leaves the bag at the entrance of the
house: the NESTORE user wears the wristband and the local circle is composed
by 1 person (the social beacon is con gured with power of emission: -8dbm/
-4dbm / 0dbm. In this case, we tested di erent settings of the social beacons).
The protocol for reproducing the social interactions is the following (6 runs with
the same protocol):
1. The dyad moves 15+ meters away in order to reproduce absence of
interaction:
(a) 4 minute of non-interaction;
2. The dyad moves 1 to 1.5 meters in proximity in order to reproduce
interaction:
(a) The friend leaves the social beacon on the clothes hangers placed about
8 meters away from the NESTORE user;
(b) 4 minute of interaction.</p>
        <p>Figure 4 shows the RSSI uctuations for T est1. The yellow line represents
the six intervals of four minutes during which the dyad is in proximity. We refer
to such yellow line as the ground truth, since the dyad is actually interacting.
Each of the blue dots wrapped inside an interval shows the RSSI value of the
messages received by the wristband and emitted by the social beacon of the
friend. The more dots, the more messages the wristband captures during the
interaction. The gure also shows the mean RSSI value (horizontal line) of all
the messages received during each of the six interactions.</p>
        <p>We measure the performance of SID during the interaction and non-interaction
scenarios of T est1 and T est2. To this purpose, we compare the results of SID
with respect to the ground truth. Figures 5 and 6 report a representative
example of the performance of SID. The red bars represent the temporal intervals
during which a dyad is actually interacting; the blue bars represent the output of
SID. The more the bars overlap, the more SID performs well. In order to
quantify the matching between SID and the ground truth, we measure the following
metrics: True Positive (TP), True Negative (TN), False Positive (FP), and False
Negative (FN). These metrics assess the number of right/wrong answers of SID
with respect to the number of observations in the ground truth (i.e., interaction
or non-interaction for a speci c dyad). Given such core metrics, we measure the
accuracy as:
accuracy =</p>
        <p>T P + T N</p>
        <p>T P + T N + F P + F N
which assesses the proportion of correct answers of out SID with respect to the
total number of observations. We also measure the F1 score, which combines
both precision P = T P=(T P + F P ) and recall R = T P=(T P + F N ), as follows:
F 1 = 2</p>
        <p>P R
P + R
Figure 8 reports Accuracy and F1 score for T est1, respectively. We show a
set of lines of di erent colours, one for each of the values of selected p and
for di erent values of t (from -95dbm up to -75dbm). Accuracy and F1 score
decrease progressively with the increase of the t. In particular, the higher the
RSSI threshold used to infer proximity, the more errors are introduced by SID.</p>
        <p>Di erently from T est1, in which the social beacon is always close to the
interaction place, T est2 is more challenging. In particular, SID has to detect a
meeting even if the social beacon is far from the place of the interaction. We
tested the social beacon with di erent powers of emission. The tests done with
-8dbm (like in T est1) do not result with a positive outcome. In particular, we
observe that SID reports too many false negative answers: non-interaction rather
than interaction. This is caused by the low power of emission of the messages
that cause a high rate of errors. In order to increase the performance also in
T est2, we set social beacons to -4dbm and 0dbm. The results of Accuracy and
F1 score are reported in Figure 10. In this case, the Accuracy and F1 score have
acceptable values up to t = 85dbm. After such threshold, Accuracy and F1
score decrease remarkably.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Indoor behavioural index</title>
        <p>
          The objective of this module is unsupervised user habits detection starting from
the information coming from the environmental BLE beacons. By monitoring the
activation of the sensors embedded in the BLE beacons, indicating the
opening/closing of doors and room occupation of the user during his time spent
at home, it is possible to retrieve heterogeneous and multivariate time-series
over long periods. These time-series can be used to learn recurrent behaviors of
the user in her/his daily activities by analysing the time variations of several
parameters like the room occupied by the user and qualitative activity level.
In the literature, many applications, which serve mainly to support diagnosis,
e ectively deal with temporal sequences, encouraging the development of the
related \time series mining" research eld [
          <xref ref-type="bibr" rid="ref32 ref34">34, 32</xref>
          ]. Discovery algorithms aim at
extracting important pattern such as similarities, trends, or periodicity, with the
aim of recurrent pattern description or prediction [
          <xref ref-type="bibr" rid="ref26">26</xref>
          ]. Encouraging results in
building behavioral pro les of a person living in a smart home are highlighted
in [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] in which a feature mining algorithm is presented. Also in [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ] and [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ]
behavioral pattern identi cation methods are proposed using binary similarity
and dissimilarity measures on data generated from occupancy sensors
including door and motion sensors in a smart home. Understanding the behavioral
pro le of a user is extremely important to detect behavioral changes possibly
related to a deterioration of the user physical and psychological status. This is
an emerging research topic addressed in several works for supporting
independent living of older people. In [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ], authors describe a solution based on home
automation sensors, including movement sensors and door entry point sensors.
By monitoring the sensor data, important information regarding anomalous
behavior are identi ed using supervised approaches to predict the future values of
the activities for each sensor in order to inform the caregiver in case anomalous
behavior is predicted. Within the scope of the NESTORE project, we intend
to address the unsupervised detection of these forms of behavioral anomalies,
since collecting ground truth information for a long period in a real house can be
very obtrusive for the user. For this reason, we focus on motif search on sensory
data collected in pilot sites, represented as time series, by exploiting the results
obtained in the eld of time series motifs discovery [
          <xref ref-type="bibr" rid="ref1 ref19">19, 1</xref>
          ]. Time series motifs
are approximately repeated patterns found within the data. Such motifs have
utility for many data mining tasks, including rule-discovery, novelty-detection,
summarization and clustering. Since the formalization of the problem and the
introduction of e cient linear time algorithms, motif discovery has been
successfully applied to many domains, including medicine, motion capture, robotics
and meteorology. An emerging technique used in the eld of motif discovery is
represented by \stigmergy" [
          <xref ref-type="bibr" rid="ref30 ref9">30, 9</xref>
          ]. This is a term derived from the research on
the foraging behavior of ants, which communicate with each other exchanging
information through the modi cation of the environment and the information
can only be accessed when an ant visits the place marked by another ant.
Several works used this technique in order to infer motifs in time series related to
di erent elds, from DNA and biological sequences [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] to indoor localization
[
          <xref ref-type="bibr" rid="ref29">29</xref>
          ] and intrusion detection systems [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ].
        </p>
        <p>
          In the NESTORE scenario, physical displacements of users in their vital
environments can o er information about the change of their individual behavior,
capturing all the areas (rooms in the home) visited by the user over time. In this
domain, useful insights are given by [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ] in the eld of the representation of sensor
data for further analysis on behavior deviations detection. Authors propose two
di erent techniques for the summarization of data: combined activity of daily
living signal as a time series and start time and duration. The rst method
involves the use of a signal assuming di erent levels for each activity of daily
living, where each level of the combined signal represents one of the sensors
triggered by the user. In the second one, the signal is represented by the start
time and the duration of an event representing the user entering in a room and
the duration that she stays in a speci c location. This approach overcomes one of
the biggest limitations of existing state-of-the-art techniques in pattern discovery
regarding the possibility of discovering pattern occurrences having the same time
length, failing to capture similarities when the occurrences are uniformly scaled
along the time axis.
        </p>
        <p>In NESTORE, the module in charge of discovering routines and habits of the
user is composed of two tasks: one able to tailor the system to the user based
on his daily routines and a task that detects days with abnormal behavior,
in order to check the e ectiveness of the system and to monitor any possible
problem in terms of missing engagement of the user or malfunctioning parts of
the system. The detection of the indoor behavior of the user uses data coming
from BLE environmental sensors. In particular, ve environmental BLE beacons
are deployed in the user's home to give information about the indoor mobility
of the user and his interaction with relevant Point of Interests (PoIs) of the
house. During the installation of the NESTORE system, the ve BLE beacons
are deployed in the most used areas of the house (i.e., kitchen, living room,
and bedroom) and on commonly used furniture, like the door of the fridge and
the bathroom door. The BLE beacons, leveraging the capabilities o ered by the
radio propagation of the Bluetooth signal, provide information about proximity
of the data-gathering device (i.e., the wristband) worn by the user with the
beacon itself, therefore the position of the user in the area in which the beacon
is installed. Furthermore, the beacons embed an accelerometer that is activated
when it is moved, therefore when the furniture is used. Given this scenario, the
module is able to detect the movements of the user inside the house and his
behavior in terms of occupied areas and interaction with the PoIs over the long
period. In order to provide an indoor behavioral index, the module computes
the total occupancy duration over the day for each area. The identi ed areas
are the three rooms in which the beacons are installed and two additional areas:
\other indoor", when the system is not able to correctly identify a precise room
but collects data indoor, and \outdoor", when no beacons are collected.</p>
        <p>The Indoor Behavior Index (IBI) is computed as follows:
where, Ai(T ) represents the percentage over the 24 hours of the occupancy
duration in the area Ai during day T , while Ai(T 1) represents the percentage
over the 24 hours of the occupancy duration in the area Ai during the previous
day (T 1).</p>
        <p>Table in Figure 11 shows two weeks of percentages for occupancy duration
generated randomly, in order to show how this information can be used to
compute the IBI. Once the IBI is computed for each day, the module can estimate
if there is an abnormal behavior in a particular day, when the IBI falls outside
the range of mean(IBI) over a baseline week plus a threshold of 20%. These
values can be parameterised accordingly to the user's baseline behavior. Figure
12 shows the trend of the generated IBI over the two weeks of observation from
data shown in Figure 11. We can see that, in this way, it is easy to detect an
abnormal behavior during day 8, 9, and 10.</p>
        <p>
          The formula used to compute IBI can be modi ed to detect changes related
to a particular day, for example the same day of the previous week, as follows:
where, Ai(T 7) represents the percentage over the 24 hours of the occupancy
duration in the area Ai during the same day of the previous week. Once a day
with abnormal behavior is detected, the system can check the number of
activation of the beacons installed on the fridge and bathroom door in order to further
analyse the behavior of the user in terms of interaction with the house. The aim
of this module is twofold: (i) the validation of the recommended plans provided
by the NESTORE DSS [
          <xref ref-type="bibr" rid="ref28 ref36">36, 28</xref>
          ], especially when dealing with sedentariness; (ii)
to check the usage consistency of the provided devices, for example a day with
anomalies can be related with a non-properly functioning/not worn wristband
or an o ine beacon.
Thermal comfort is de ned in [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ] as \the condition of mind that expresses
satisfaction with the thermal environment". Due to individual di erences, it is
impossible to specify a thermal environment that will satisfy everybody. There
will always be a percentage of dissatis ed occupants, but it is possible to
specify an environment predicted to be acceptable by a certain percentage of the
occupants. This leads to an evaluation by a subjective point of view but over
the years, a large amount of empirical studies has been conducted how which
parameters are the most in uential. These parameters can be divided into
personal and environmental factors. Personal factors include clothing and personal
activity and condition, while environmental factors comprise thermal radiation,
temperature, air speed and humidity. Following the recent trend in literature [
          <xref ref-type="bibr" rid="ref33">33</xref>
          ]
and the large availability of Internet of Things (IoT) devices on the market, we
focus on temperature and humidity as key parameters to identify indoor thermal
comfort.
        </p>
        <p>
          In literature, we can nd two main standards specifying indoor thermal
comfort: ISO EN 7730 [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ] and ASHRAE 55-1992 [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]. Besides complex models that
include air speed and thermal radiation (predominant outdoor rather than
indoor) and also involve personal factors (e.g., predicted mean vote, clothing
insulation, metabolic rate, etc.), both standards propose simpler models for thermal
comfort based on Relative Humidity (RH) and Temperature (T), easier to be
measured and controlled in indoor environments.
        </p>
        <p>Figure 14 shows the RH/T diagrams proposed by the two standards. The
IS EN 7730 approach for de ning the comfort zone does not take into account
the fact that higher temperatures can be tolerated at low humidity. Hence, its
lower and upper temperature limits are vertical. Although temperature ranges
are speci ed per season, the relative humidity is set between 70%RH and 30%RH
in summer and winter time, respectively. The limits are set to reduce the risk
of eye irritation, dry or wet skin, microbial growth, and respiratory diseases.
ASHRAE 55-1992 also considers the e ect of experiencing higher temperature
together with high relative humidity (as can be seen in Figure 13b, in which
graph presents oblique boundaries for the lower and upper limits of T). In the
NESTORE scenario, we implemented the ISO EN 7730, to present to the user
the thermal comfort status of his house.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>The NESTORE coaching app</title>
      <p>One of the main points of the interaction between users and the NESTORE
ecosystem in represented by the coaching app. A big role in the developing
process of the NESTORE User Interface has been played by the interaction
design approach. During the design process, the system is divided into small
modules, de ning the basic building blocks of the User Interface. Then, the
foundational elements are combined to create functioning units with di erent
features. Finally, units are combined in order to form di erent sections of the
interface. This exible methodology, accommodative to changes, allows creating
complex systems, managing consistency and scalability.</p>
      <p>Figure 16 shows some screenshots of the NESTORE coaching app regarding
the output of the elaborations based on the environmental devices. In particular,
we can see the graphs produced for indoor social interactions (Figure 15a) and
the indoor status of the user's environment in a good (Figure 15b) and bad
(Figure 15c) status, together with the screens of one of the other services based
on environmental device, like the sleep monitoring systems (Figure 15d).</p>
      <p>Social Interaction</p>
      <p>Thermal comfort (Good) Thermal comfort (Bad)
Sleep monitoring</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusion and future work</title>
      <p>The proposed systems for detecting social interactions, indoor behavioural index,
and indoor thermal comfort take advantage of the BLE beacons capabilities of
inferring proximity among devices and in terms of ease of embedding di erent
sensors. They represent the core set of environmental devices composing the
NESTORE monitoring system.</p>
      <p>The BLE beacon capabilities enable rich context-aware interaction scenarios
with the NESTORE system. For future works, being able to know in real-time
the position of the user, the system can proactively deploy noti cations and
reminders in the di erent user interfaces of the NESTORE system. Indeed,
proxemics can be used to enable di erent interactions: when the user is approaching
the tangible coach, the vocal assistant could start speaking; when the user is in
the same room of the tangible coach, peripheral light (LED in the tangible) can
be used to display a noti cation; when the user is an a di erent room, sound
noti cations can be used; when the user is not home, noti cations can be sent
in the NESTORE Coach app.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgements</title>
      <p>This work has been funded by the EU H2020 project \Novel Empowering
Solutions and Technologies for Older people to Retain Everyday life activities"
(NESTORE), GA769643. The authors wish to thank all the partners involved
in the project.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Van der Aalst</surname>
          </string-name>
          , W.M.,
          <string-name>
            <surname>van Dongen</surname>
            ,
            <given-names>B.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Herbst</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maruster</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schimm</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weijters</surname>
            ,
            <given-names>A.J.:</given-names>
          </string-name>
          <article-title>Work ow mining: A survey of issues and approaches</article-title>
          .
          <source>Data &amp; knowledge engineering 47(2)</source>
          ,
          <volume>237</volume>
          {
          <fpage>267</fpage>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Alfeo</surname>
            ,
            <given-names>A.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barsocchi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cimino</surname>
            ,
            <given-names>M.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>La Rosa</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vaglini</surname>
          </string-name>
          , G.:
          <article-title>Sleep behavior assessment via smartwatch and stigmergic receptive elds</article-title>
          .
          <source>Personal and ubiquitous computing 22(2)</source>
          ,
          <volume>227</volume>
          {
          <fpage>243</fpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Alvarez-Garc</surname>
            <given-names>a</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>J.A.</given-names>
            ,
            <surname>Garc</surname>
          </string-name>
          <string-name>
            <surname>a</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.A.</given-names>
            ,
            <surname>Chessa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Fortunati</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Girolami</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          :
          <article-title>Detecting social interactions in working environments through sensing technologies</article-title>
          . In: Lindgren,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>De Paz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.F.</given-names>
            ,
            <surname>Novais</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Fernandez-Caballero</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Yoe</surname>
          </string-name>
          ,
          <string-name>
            <surname>H.</surname>
          </string-name>
          ,
          <article-title>Jimenez Ram rez, A</article-title>
          .,
          <string-name>
            <surname>Villarrubia</surname>
            ,
            <given-names>G</given-names>
          </string-name>
          . (eds.)
          <source>Ambient Intelligence- Software and Applications { 7th International Symposium on Ambient Intelligence (ISAmI</source>
          <year>2016</year>
          ). pp.
          <volume>21</volume>
          {
          <fpage>29</fpage>
          . Springer International Publishing,
          <string-name>
            <surname>Cham</surname>
          </string-name>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. American Society of Heating, Refrigerating and
          <string-name>
            <surname>Air-Conditioning</surname>
            <given-names>Engineers</given-names>
          </string-name>
          :
          <article-title>Thermal Environmental Conditions for Human Occupancy: ANSI/ASHRAE Standard 55-2017 (Supersedes ANSI/ASHRAE Standard 55-2013) Includes ANSI/ASHRAE Addenda Listed in Appendix N</article-title>
          .
          <string-name>
            <surname>ASHRAE</surname>
          </string-name>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Angelini</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mugellini</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Khaled</surname>
            ,
            <given-names>O.A.</given-names>
          </string-name>
          , Rocke,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Guye</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Porcelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Mastropietro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Rizzo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Boque</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Bas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.M.</given-names>
            <surname>d.</surname>
          </string-name>
          , et al.:
          <article-title>The nestore e-coach: accompanying older adults through a personalized pathway to wellbeing</article-title>
          .
          <source>In: Proceedings of the 12th ACM International Conference on PErvasive Technologies</source>
          Related to Assistive Environments. pp.
          <volume>620</volume>
          {
          <issue>628</issue>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Bacciu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chessa</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gallicchio</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Micheli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pedrelli</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ferro</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fortunati</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>La Rosa</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vozzi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          , et al.:
          <article-title>A learning system for automatic berg balance scale score estimation</article-title>
          .
          <source>Engineering Applications of Arti cial Intelligence</source>
          <volume>66</volume>
          ,
          <fpage>60</fpage>
          {
          <fpage>74</fpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Baronti</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barsocchi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chessa</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mavilia</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Indoor bluetooth low energy dataset for localization, tracking, occupancy, and social interaction</article-title>
          .
          <source>Sensors</source>
          <volume>18</volume>
          (
          <issue>12</issue>
          ),
          <volume>4462</volume>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Barsocchi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Crivello</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Girolami</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mavilia</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Occupancy detection by multi-power bluetooth low energy beaconing</article-title>
          .
          <source>In: 2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN)</source>
          . pp.
          <volume>1</volume>
          {
          <issue>6</issue>
          (Sep
          <year>2017</year>
          ). https://doi.org/10.1109/IPIN.
          <year>2017</year>
          .8115946
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Barsocchi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cimino</surname>
            ,
            <given-names>M.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ferro</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lazzeri</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vaglini</surname>
          </string-name>
          , G.:
          <article-title>Monitoring elderly behavior via indoor position-based stigmergy</article-title>
          .
          <source>Pervasive and Mobile Computing</source>
          <volume>23</volume>
          ,
          <issue>26</issue>
          {
          <fpage>42</fpage>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Barsocchi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Crivello</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Girolami</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mavilia</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Occupancy detection by multi-power bluetooth low energy beaconing</article-title>
          .
          <source>In: 2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN)</source>
          . pp.
          <volume>1</volume>
          {
          <issue>6</issue>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Barsocchi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Crivello</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mavilia</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Energy and environmental long-term monitoring system for inhabitants' well-being</article-title>
          . (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Bouamama</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Boukerram</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Al-Badarneh</surname>
            ,
            <given-names>A.F.</given-names>
          </string-name>
          :
          <article-title>Motif nding using ant colony optimization</article-title>
          .
          <source>In: International Conference on Swarm Intelligence</source>
          . pp.
          <volume>464</volume>
          {
          <fpage>471</fpage>
          . Springer (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Ceron</surname>
            ,
            <given-names>J.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lopez</surname>
            ,
            <given-names>D.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Esko</surname>
            <given-names>er</given-names>
          </string-name>
          ,
          <string-name>
            <surname>B.M.</surname>
          </string-name>
          :
          <article-title>Human activity recognition using binary sensors, ble beacons, an intelligent oor and acceleration data: A machine learning approach</article-title>
          .
          <source>Multidisciplinary Digital Publishing Institute Proceedings</source>
          <volume>2</volume>
          (
          <issue>19</issue>
          ),
          <volume>1265</volume>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Crivello</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mavilia</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barsocchi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ferro</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Detecting occupancy and social interaction via energy and environmental monitoring</article-title>
          .
          <source>International Journal of Sensor Networks</source>
          <volume>27</volume>
          (
          <issue>1</issue>
          ),
          <volume>61</volume>
          {
          <fpage>69</fpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Crivello</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barsocchi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>La Rosa</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Scarselli</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bianchini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Understanding human sleep behaviour by machine learning</article-title>
          .
          <source>In: Cognitive Infocommunications, Theory and Applications</source>
          , pp.
          <volume>227</volume>
          {
          <fpage>252</fpage>
          . Springer (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Cui</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Beaver</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Potok</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Visual mining intrusion behaviors by using swarm technology</article-title>
          .
          <source>In: 2011 44th Hawaii International Conference on System Sciences</source>
          . pp.
          <volume>1</volume>
          {
          <issue>7</issue>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17. Duch^ene,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Garbay</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Rialle</surname>
          </string-name>
          ,
          <string-name>
            <surname>V.:</surname>
          </string-name>
          <article-title>Learning recurrent behaviors from heterogeneous multivariate time-series</article-title>
          .
          <source>Arti cial intelligence in medicine 39(1)</source>
          ,
          <volume>25</volume>
          {
          <fpage>47</fpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18. EN ISO:
          <volume>7730</volume>
          :
          <year>2006</year>
          .
          <article-title>Ergonomics of the thermal environment-Analytical determination and interpretation of thermal comfort using calculation of the PMV and PPD indices and local thermal comfort criteria (</article-title>
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Fernandez-Llatas</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Benedi</surname>
            ,
            <given-names>J.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Garc</surname>
            a-Gomez,
            <given-names>J.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Traver</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Process mining for individualized behavior modeling using wireless tracking in nursing homes</article-title>
          .
          <source>Sensors</source>
          <volume>13</volume>
          (
          <issue>11</issue>
          ),
          <volume>15434</volume>
          {
          <fpage>15451</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Girolami</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mavilia</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Delmastro</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Distefano</surname>
          </string-name>
          , E.:
          <article-title>Detecting social interactions through commercial mobile devices</article-title>
          .
          <source>In: 2018 IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops)</source>
          . pp.
          <volume>125</volume>
          {
          <issue>130</issue>
          (March
          <year>2018</year>
          ). https://doi.org/10.1109/PERCOMW.
          <year>2018</year>
          .8480397
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Lot</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Langensiepen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mahmoud</surname>
            ,
            <given-names>S.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Akhlaghinia</surname>
            ,
            <given-names>M.J.:</given-names>
          </string-name>
          <article-title>Smart homes for the elderly dementia su erers: identi cation and prediction of abnormal behaviour</article-title>
          .
          <source>Journal of ambient intelligence and humanized computing 3(3)</source>
          ,
          <volume>205</volume>
          {
          <fpage>218</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Mahmoud</surname>
            ,
            <given-names>S.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lot</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Langensiepen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Abnormal behaviours identi cation for an elder's life activities using dissimilarity measurements</article-title>
          .
          <source>In: Proceedings of the 4th International Conference on PErvasive Technologies</source>
          Related to Assistive Environments. pp.
          <volume>1</volume>
          {
          <issue>5</issue>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Mahmoud</surname>
            ,
            <given-names>S.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lot</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Langensiepen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Behavioural pattern identi cation in a smart home using binary similarity and dissimilarity measures</article-title>
          .
          <source>In: 2011 Seventh International Conference on Intelligent Environments</source>
          . pp.
          <volume>55</volume>
          {
          <fpage>60</fpage>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Marincic</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kerner</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simunic</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Interoperability of iot wireless technologies in ambient assisted living environments</article-title>
          .
          <source>In: 2016 Wireless Telecommunications Symposium (WTS)</source>
          . pp.
          <volume>1</volume>
          {
          <issue>6</issue>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Mavilia</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barsocchi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chessa</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Girolami</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Remote detection of indoor human proximity using bluetooth low energy beacons</article-title>
          .
          <source>In: 2019 15th International Conference on Intelligent Environments (IE)</source>
          . pp.
          <volume>1</volume>
          {
          <issue>6</issue>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>Nanopoulos</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Alcock</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Manolopoulos</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Feature-based classi cation of timeseries data</article-title>
          .
          <source>International Journal of Computer Research</source>
          <volume>10</volume>
          (
          <issue>3</issue>
          ),
          <volume>49</volume>
          {
          <fpage>61</fpage>
          (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <surname>OLESEN</surname>
            ,
            <given-names>B.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>MORENO-BELTRAN</surname>
            ,
            <given-names>D.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>GRAU-RIOS</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>TAHTI</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>NIEMELA</surname>
          </string-name>
          ,
          <string-name>
            <surname>R.</surname>
          </string-name>
          ,
          <string-name>
            <surname>OLANDER</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>HAGSTROM</surname>
          </string-name>
          ,
          <string-name>
            <surname>K.</surname>
          </string-name>
          :
          <article-title>Target levels</article-title>
          .
          <source>In: Industrial Ventilation Design Guidebook</source>
          , pp.
          <volume>355</volume>
          {
          <fpage>413</fpage>
          . Academic Press (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <string-name>
            <surname>Orte</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , Sub as, P.,
          <string-name>
            <surname>Maldonado</surname>
            ,
            <given-names>L.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mastropietro</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Porcelli</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rizzo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Boque</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guye</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , Rocke,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Andreoni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Crivello</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Palumbo</surname>
          </string-name>
          ,
          <string-name>
            <surname>F.</surname>
          </string-name>
          :
          <article-title>Dynamic decision support system for personalised coaching to support active ageing</article-title>
          . In: Bandini,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Cortellessa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Gorrini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Palumbo</surname>
          </string-name>
          ,
          <string-name>
            <surname>F</surname>
          </string-name>
          . (eds.) 4th Italian Workshop on Arti cial
          <article-title>Intelligence for Ambient Assisted Living (AI*AAL</article-title>
          .it). pp.
          <volume>16</volume>
          {
          <fpage>36</fpage>
          . No. 2333 in CEUR Workshop Proceedings - AI*IA Series, Aachen (
          <year>2018</year>
          ), http://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>2333</volume>
          /paper2.pdf
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barsocchi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chessa</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Augusto</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          :
          <article-title>A stigmergic approach to indoor localization using bluetooth low energy beacons</article-title>
          .
          <source>In: 2015 12th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS)</source>
          . pp.
          <volume>1</volume>
          {
          <issue>6</issue>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          30.
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>La Rosa</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ferro</surname>
          </string-name>
          , E.:
          <article-title>Stigmergy-based long-term monitoring of indoor users mobility in ambient assisted living environments: the doremi project approach</article-title>
          . In: Bandini,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Cortellessa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Palumbo</surname>
          </string-name>
          ,
          <string-name>
            <surname>F</surname>
          </string-name>
          . (eds.)
          <article-title>Arti cial Intelligence for Ambient Assisted Living (AI*AAL</article-title>
          .it). pp.
          <volume>18</volume>
          {
          <fpage>32</fpage>
          . No.
          <year>1803</year>
          in CEUR Workshop Proceedings - AI*IA Series, Aachen (
          <year>2016</year>
          ), http://ceur-ws.org/Vol1803/paper2.pdf
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          31.
          <string-name>
            <surname>Rashidi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mihailidis</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>A survey on ambient-assisted living tools for older adults</article-title>
          .
          <source>IEEE journal of biomedical and health informatics 17(3)</source>
          ,
          <volume>579</volume>
          {
          <fpage>590</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          32.
          <string-name>
            <surname>Roddick</surname>
            ,
            <given-names>J.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Spiliopoulou</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A survey of temporal knowledge discovery paradigms and methods</article-title>
          .
          <source>IEEE Transactions on Knowledge and data engineering 14(4)</source>
          ,
          <volume>750</volume>
          {
          <fpage>767</fpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          33.
          <string-name>
            <given-names>Sensirion</given-names>
            <surname>Inc</surname>
          </string-name>
          .:
          <article-title>Determining thermal comfort using a humidity and temperature sensor</article-title>
          (
          <year>November 2019</year>
          ), https://www.azosensors.com/article.aspx?ArticleID=
          <fpage>487</fpage>
          , [Online; posted 25-November-2019]
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          34.
          <string-name>
            <surname>Shahnawaz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ranjan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Danish</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Temporal data mining: an overview</article-title>
          .
          <source>International Journal of Engineering and Advanced Technology</source>
          <volume>1</volume>
          (
          <issue>1</issue>
          ),
          <volume>2249</volume>
          {
          <fpage>8958</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          35.
          <string-name>
            <surname>Silva</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martins</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Valente</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soares</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>A bluetooth approach to diabetes sensing on ambient assisted living systems</article-title>
          .
          <source>Procedia Computer Science</source>
          <volume>14</volume>
          ,
          <issue>181</issue>
          {
          <fpage>188</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          36.
          <string-name>
            <surname>Sub</surname>
            as-Beltran,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Orte</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vargiu</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palumbo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Angelini</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Khaled</surname>
            ,
            <given-names>O.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mugellini</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Caon</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A decision support system to propose coaching plans for seniors</article-title>
          .
          <source>In: 2019 IEEE 32nd International Symposium on Computer-Based Medical Systems (CBMS)</source>
          . pp.
          <volume>592</volume>
          {
          <fpage>595</fpage>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          37.
          <string-name>
            <surname>Vasilateanu</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goga</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guta</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mihailescu</surname>
            ,
            <given-names>M.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pavaloiu</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Testing wiand bluetooth low energy technologies for a hybrid indoor positioning system</article-title>
          .
          <source>In: 2016 IEEE International Symposium on Systems Engineering (ISSE)</source>
          . pp.
          <volume>1</volume>
          {
          <issue>5</issue>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          38.
          <string-name>
            <surname>Wahslen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lindh</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Real-time performance management of assisted living services for bluetooth low energy sensor communication</article-title>
          .
          <source>In: 2017 IFIP/IEEE Symposium on Integrated Network and Service Management (IM)</source>
          . pp.
          <volume>1143</volume>
          {
          <fpage>1148</fpage>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>