3.1. Monitoring of ADLs in a Smart Home environment
For the purposes of the present work, the CERTH-ITI Smart Home premises were used [
18]. The Smart Home is a prototype and novel technologies demonstration infrastructure resembling a real domestic building where occupants can experience actual living scenarios. Alongside their accommodation, they can explore various innovating smart IoT-based technologies provided with Energy, Health, Big Data, Robotics and Artificial Intelligence (AI) services. In the context of a pilot study, 40 participants with varying cognitive status in the spectrum of dementia were invited, for a daily visit or staying overnight in the Smart Home. Prior to their enrollment, a neuropsychiatrist with expertise in dementia established participants’ diagnoses (Healthy Controls - HC, participants with Subjective Cognitive Decline - SCD and participants with Mild Cognitive Impairment - MCI). Diagnoses were set taking into account participants’ medical history, structural magnetic imaging (MRI) and a detailed neuropsychological evaluation. The MCI group fulfilled the Petersen criteria [
19], while the SCD group met IWG-2 Guidelines [
20] as well as the SCD-I Working Group instructions [
21]. They were instructed to execute a protocol including three ADL activities (namely, Task 1 - Hot Meal Preparation, Task 2 - Hot Beverage Preparation and Task 3 - Cold Meal Preparation). The protocol was accompanied by a detailed, step-by-step description for each Task. For example, in Task 3, participants were instructed to get a plate, bread, cheese and turkey from appropriately labelled cabinets and the fridge, and prepare their sandwich. Afterwards participants were instructed to turn on the appliance, place the sandwich on the toaster and remove it once ready. In order to monitor participants’ ADLs we installed a set of Smart Home devices, including multiple types of sensors that are able to perform functions such as monitoring, controlling or alerting. For our research purposes we equipped the Smart Home environment with wall plugs, motion, door and flood sensors. Wall plugs are consumption monitoring devices in which all other electrical appliances are plugged. Motion sensors are responsible for capturing presence or movement in a room, door sensors detect the opening and closing of doors, drawers and cabinets, flood sensors detect any water leaks or flooding. For safety reasons, a panic button sensor was also installed so as to provide a quick way to trigger an alarm in case of emergency. It is important to mention that there are many solutions in the market for smart home devices that can be used in similar studies. In our study, we have selected the "Fibaro" solution [
22] which provides its Home Center software allowing users to control and collect data from all devices through a single interface. All above devices are listed in
Table 1.
Fibaro’s raw data consists of two time series, one for "Signal" and one for "Consumption". Signal is generated by the motion, door, flood and panic sensors, while Consumption is generated by wall plugs. Both Signal and Consumption time series represent changes in the values that occurred at a specific point in time. Signal, in contrast to Consumption, takes into account the previously reported values in addition to the current values.
A Signal data object for a device (motion, door, flood, panic) is a pair of Boolean values that represent its change of state. If a data object has a new value of 1 and an old value of 0, it generates a new Signal and the timestamp of the data object acts as the starting point, while the next data object with opposite values represents the end of this Signal.
Consumption data, on the other hand, are Float values of wattage consumption. Most household appliances consume electricity even when they are idle. We have set a minimum threshold of 5 watts to mark the beginning and the end of a consumption event. This is an empirical threshold we set after careful study and analysis of the generated data. If the wattage of the data object exceeds the threshold, we assume that the appliance is switched on, and if the wattage is below the threshold, the appliance is considered "not in use" (i.e. idle).
All sensor data are transferred to our databases through APIs, in order to be gathered and processed. In that way, the data are grouped together and can be further processed by conducting validity checks in order to identify and normalize false negative signals (i.e. Cabinet didn’t fully close due to brakes but sensor failed to recognize it). This procedure of validity checking ensures the reliability of the collected data which is necessary for their analysis.