Recent Advances in Electrical and Computer Engineering

An Adaptive System for the Smart Home

SONIA Mª. VALLADARES, MANUEL J. FERNÁNDEZ-IGLESIAS, CARLOS RIVAS, MIGUEL GÓMEZ, LUIS E. ANIDO Department of Telematics Engineering University of Vigo As Lagoas, Marcosende 36310 Vigo Spain {soniavr, manolo, carlosrivas, miguelgomez, lanido}@det.uvigo.es

Abstract: - This paper introduces a novel adaptive and self-configurable platform for the digital home that provides on-demand access to a broad portfolio of interactive services. We propose a low-cost open system that integrates different human-machine interfaces like motion-activated remotes or mobile devices to enhance its accessibility for senior users or disabled persons. The solution is vendor-independent and automatically adapts both the services offered and the interfacing mechanisms to users’ individual profiles.

Key-Words: - Control Devices, Socio-sanitary Services, interactive TV, Digital Home, Interactive, Adapted Interfaces, Adaptive system

1 Introduction which in many cases are more convenient for senior The penetration of Information and Communication users or disabled persons. Technologies (ICT) both at work and at home made them to pervade our daily lives. However, some user groups (e.g., senior citizens, disabled people) still 2 State of the Art don’t enjoy the full potential of these technologies. We can find in the market a broad range of solutions This paper discusses an accessible platform to for the digital home. Insofar the business model is provide multimedia and socio-sanitary services to concerned there are many platforms (cf. Fig. 1) these collectives through the TV set at home. offering services at home targeted to dependent There are some initiatives to provide interactivity users. For example, Artemis is a training and to the classical TV set, both proprietary (e.g., cognitive stimulation tool developed by Prometeo MediaHighway [1] or OpenTV [2]) and open (e.g., [8] in collaboration with the Spanish Alzheimer MHP [3]), by supporting the development of National Reference Centre (CRE Alzheimer [9]), interactive applications for set-top-boxes [4]. and Miavizor [10] is a system created by the Nevertheless, these technologies didn’t achieve the Galician User and Consumer’s Psychological Unit expected penetration, mainly for economical (PsiCom) [11] at University of Santiago de reasons, as most solutions available are either Compostela able to learn about users’ daily chores proprietary or lack the required versatility. to autonomously define users’ profiles and routines. This project addresses this situation by Other proposals in this field are Companionable developing an open, self-adaptable and accessible [12], or Telegerontología [13]. We also identified a taxonomy collecting the platform on top of a home theatre personal computer main services offered by the evaluated systems (cf. (HTPC[5]) connected to the TV set. This device has Fig. 2). The topmost classification defines services the basic features of a typical personal computer at a as Social, where users at home interact with fraction of its cost, together with some personnel at care centres, and Medical, targeted to characteristics that make it suitable for home use the remote monitoring of vital signs and the (e.g., low noise, reduced form factor, extended generation of alarms in case of risk situations connectivity, enhanced multimedia processing, involving target users. capabilities etc.) However, its main advantage in the From a technological perspective, we evaluated framework of this research is its extended the solutions that might efficiently support the connection capabilities with external peripheral system developed in the framework of this research. devices like standard remotes, motion-activated This analysis included processing devices, software interfaces (e.g., ’s WiiMote[6] or platforms, and control devices. Microsoft’s Kinetc[7]), smartphones or tablet PCs,

ISBN: 978-1-61804-156-2 118 Recent Advances in Electrical and Computer Engineering

Wii Remote and Speak [18], Microsoft’s Kinect, smartphones and tablet computers. In a nutshell, most solutions available are proprietary closed platforms, and none of them covers all the requirements of all types of users, lacking a universal accessible design. Besides, they are mostly focused to provide entertainment, and in many cases they require some technological skills to access features beyond the ones available out-of- the-box.

Fig. 1. Current business model evaluated. 3 An Adaptive Architecture The need of customisable, adaptable user interfaces requires the implementation of some mechanism (cf. Fig. 3) to seamlessly integrate new interfaces to provide both local and remote access. Users should be able to easily select and configure the best possible interfacing device according to their profiles without the intervention of skilled personnel. Control device and service self-configuration is supported by a graphical user interface displaying all available options. Users just select the most convenient from the list and the system automatically configures all the required services and software interfaces for the selected device. Besides, authorised users may remotely update the list of available devices. Device information is self- contained, and a version history is also kept for each of them. The device repository is accessible using the HTTP protocol. In other words, the platform at users’ premises accesses a Web address to fetch the list of available control devices. When a specific device or version thereof is selected, a self- contained package including all data needed for the integral adaptation of the platform to that interface is downloaded, and the content of that package (i.e., data items that will be updated across the platform) Fig. 2. Taxonomy of ICT Solutions for Elderly People. is extracted and installed. The services provided by the platform have been (1) Processing Devices. The most relevant implemented according to the Service Oriented devices for the digital home are the TV set with an Architecture (SOA [19]) paradigm. Functionalities embedded Internet browser, interactive set-top- are implemented by a collection of Web services boxes, multimedia hard drives, game consoles, that interact using standardised protocols like SOAP Google TV [14] and home theatre personal [20], WSDL [21] and UDDI [22]). computers (HTPC). With respect to the underlying hardware (2) Software. We focused our attention on media architecture, the selected option to construct our centres. Moovida [15], MythTV [16] and XBMC adaptable and self-configurable Internet TV Media Centre [17] were considered for this research. platform was an Ubuntu Linux HTPC with an (3) Control Devices. The most relevant for this XBMC media centre. initiative are the classical TV remote, Nintendo’s

ISBN: 978-1-61804-156-2 119 Recent Advances in Electrical and Computer Engineering

applications for the digital home based on Web standards like HTML5 [24] or interactive SVG. To sum up, the final product is a service platform where services are provided by the interaction of interoperable heterogeneous devices (e.g., control devices for gaming, HTPCs, multimedia hard disks, TV sets, etc.) that support the creation, integration and delivery of interactive multi-platform online services specifically designed to be used by dependent persons at their homes. We further discuss below the devices and services integrated.

4.2 The Integration of Control Devices

As stated above, one of the main contributions of Fig. 3. Adaptive system’s architecture. this work is the integration of several off-the-shelf interactive control devices (cf. Fig. 4) for the interactive TV. Users may select a 2x2 interface layout, which 4 An Adaptive Platform to consists on an array of four alternate options provide Socio-medical Services at the arranged in two columns and two rows, or a scrolling interface, where options are displayed as a Smart Home scroll bar with an active on-focus option. According The aim of this platform is to provide a portfolio of to the array model, this is equivalent to a 1xn online services at home targeted primarily to a interface. collective of users that would benefit the most from this approach, namely senior citizens and disabled persons. Thus, most services are related to social assistance and health care. From a methodological point of view, design and implementation was performed according to the Scrum model [23], which provides a collection of tools for the iterative and incremental management and implementation of software applications. One of the main characteristics of Scrum is the generation of partial deliveries of the target system. This way, each of these operational partial systems is performed in a limited period of time providing an incremental, working version of the final Fig. 4. Excerpt of some control devices analyzed and integrated in this product. These deliveries can be assessed research. independently, so the complete assessment of the With respect to the interactive control devices, final product is also performed in an incremental users may trigger the platform self-configuration for way. any of the devices below: As pointed out above, we designed a collection 1) TV remote control: Buttons in this traditional of self-configurable and adaptable socio-medical TV control device were configured to access the services including cognitive stimulation games, different options and services available. medical agenda, notifications related to medical 2) WiiMote: Simple hand movements and gestures prescriptions and medicine intake, access to social and button clicks are used to intuitively navigate networks, and video-conferencing. These services across the different options and services available. were also used to assess the degree of accessibility 3) Kinect: This device does not require the user to and usability of the several control devices physically interact with any control device (cf. Fig. integrated. This approach also contributed to the 5). We adapted the libfreenect library [26], implementation of additional multi-device developed in the framework of the Open Kinect [27] project, to control the platform using body gestures.

ISBN: 978-1-61804-156-2 120 Recent Advances in Electrical and Computer Engineering

4) Smartphones and Tablets: They support interactive access to the platform. For this, we adapted an existing Android [28] app.

4.3 The Integration of Services The service portfolio includes interactive and socio- sanitary services targeted to users with no required technical background (cf. Fig. 5). This portfolio includes services such as a medical agenda, prescription-related alarms and notifications, a news service, a weather forecast service, or an adapted, accessible front-end to the most popular social Fig. 6. Capture of Social Service I. Facebook. network platforms. Cognitive stimulation games have been specifically developed in the framework of this project. These games are intended to facilitate e-inclusion and to develop cognitive- related capabilities (e.g., memory retention). We enumerate below the services implemented.

Fig. 7. Capture of Social Service II. News.

Fig. 5. Example of a user who is acceding to the self-adaptive system.

4.3.1 Social Services Users may configure the service platform to include any of the services below: (1) Access to popular social networks such as Facebook (cf. Fig. 6) or Twitter. (2) Access to popular Web 2.0 applications such as Youtube, Google-Images, or Wikipedia. Fig. 8. Capture of Social Service III. Self-Training. (3) Access to news and entertaining content (e.g. A news service (cf. Fig. 7), weather forecast, TV on-demand, etc.) (4) A messaging system to interact and socialize with caretakers, family members, friends, etc. (5) An event management service, including a calendar of events, recommendations on events, sorting of events according to several criteria (e.g., geographically closer events first), etc. (6) A notification system supporting general notifications, medical alerts, event dates, etc. (7) An e-learning service (cf. Fig. 8). (8) Access to games (e.g. Tic-tac-toe, hangman, Fig. 9. Capture of Medical Service I. Cognitive games. Tetris, etc.) (9) Access to TV contests.

ISBN: 978-1-61804-156-2 121 Recent Advances in Electrical and Computer Engineering

5 Conclusion The first results of the validation process confirm that users stand out the platform’s self-configuration capabilities according to their particular social and health-related needs. While integration of different control devices was possible from a technical point of view, other factors influencing the deployment of this kind of services, primarily related to their cost and usability, have to be taken into account. A recent study [29] Fig. 10. Capture of Medical Service II. Blood Pressure. shows that the presence of smartphones and tablets is not very high among senior users, while those who have access to these devices appreciate the ability to control other applications running on the proposed TV platform. According to validation process outlined above, and after users analysing all the options proposed, the most valued control interfaces insofar accessibility and usability is concerned were the WiiMote (50%) and the traditional TV remote (33%). The rest of the integrated options obtained a satisfaction rate of 17%.

Finally, we may conclude that this work Fig. 11. Capture of Medical Service III. Self-Training. definitely contributes to the provision of open and accessible socio-sanitary solutions for the digital 4.3.2 Medical Services home. With respect to medical services, users may configure the platform to include the ones below. (1) Tele-rehabilitation and cognitive games: Acknowledgment: sequence sorting (cf. Fig. 9), Memorion, Puzzle, Q&A, Find the Intruder, etc. This work has been performed under the support of: (2) Remote monitoring of vital signs like: blood The European Regional Development Fund pressure (cf. Fig. 10), glucose concentration, (ERDF) and the Galician Regional Government pulse rate, etc. under projects: (1) “An Adaptive System for the (3) Health related e-learning (cf. Fig. 11). Smart Home” (10TIC026E) and (2) "Consolidation of Research Units: AtlantTIC" (CN 2012/260).

4.4 Platform validation This project is estimated to be completed by August, References: 2013, and at this time we are performing its [1] Official Website of MediaHighway. validation with real users. However, we can already http://www.nds.com/Software_Solutions/Media discuss some preliminary results. Highway_STB_Software/ [Accessed November The platform used for validation included the 2012] two interface types discussed above (i.e., 2x2 and [2] Official Website od openTV. http://opentv.com/ scroll), and the four interactive control devices (i.e., [Accessed November 2012] WiiMote, Kinect, Tablet and Smartphone), and the [3] Official website for DVB ‐ MHP and DVB - services enumerated. According to the participating GEM ‐ Middleware for Interactive TV” users’ perception, the integrated control devices do http://www.mhp.org/ [Accessed November provide global accessibility to all services, 2012] independently of users’ profiles. Besides, the control [4] “STB - Wikipedia”. devices cover and provide a solution tailored to the http://en.wikipedia.org/wiki/Set-top_box most common motor disabilities or limitations. [Accessed November 2012]

ISBN: 978-1-61804-156-2 122 Recent Advances in Electrical and Computer Engineering

[5] “HTPC - Wikipedia”. [22] Website of UDI. http://en.wikipedia.org/wiki/Home_theater_PC http://searchsoa.techtarget.com/tutorial/UDDI- [Accessed November 2012] Learning-Guide [Accessed November 2012] [6] Official Website of Wii. [23] Schwaber, Ken (1 February 2004). Agile http://www.nintendo.es/Wii/Accesorios/Accesor Project Management with Scrum. Microsoft ios-Wii-Nintendo-Ib-eacute-rica-626430.html Press. ISBN 978 ‐ 0 ‐ 735 ‐ 61993 ‐ 7. [Accessed November 2012] [24] HTML5. A vocabulary and associated APIs [7] Official Website of Kinect. for HTML and XHTML. http://www.microsoft.com/en- http://dev.w3.org/html5/spec/single- us/kinectforwindows/ [Accessed November page.html#html-vs-xhtml [Accessed November 2012] 2012] [8] Prometeo. http://www.prometeoinnova.com [25] Scalable Vector Graphics (SVG) 1.1 [Accessed November 2012] Specification. W3C Recommendation 14 [9] Alzheimer, CRE. http://www.crealzheimer.es. January 2003, edited in place 30 April 2009. [Accessed November 2012] http://www.w3.org/TR/2003/REC-SVG11- [10] MiAvizor. http://www.miavizor.es 20030114/ [Accessed November 2012] [Accessed November 2012] [26] Access to Libfreenect. [11] PsiCom. http://www.usc.es/psicom. https://github.com/OpenKinect/libfreenect [Accessed November 2012] [Accessed November 2012] [12] Companion. http://www.companionable.net. [27] Website of OpenKinect project. [Accessed November 2012] http://openkinect.org/wiki/Main_Page [Accessed November 2012] [13] RySG. Recursos y servicios gerontológicos. http://www.rysg.es. [Accessed November 2012] [28] XBMC for Android. http://xbmc.org/theuni/2012/07/13/xbmc-for- [14] “Google TV” http://www.google.com/tv/ android/ [Accessed November 2012] [Accessed November 2012] [29] “Centro Estatal de Autonomía Personal y [15] “Moovida” http://www.moovida.com/ Ayudas Técnicas (CEAPAT) del IMSERSO”. [Accessed November 2012] http://www.ceapat.org [Accessed November [16] “MythTV” http://www.mythtv.org/ 2012] [Accessed November 2012] [17] “XBMC” http://xbmc.org/ [Accessed November 2012] [18] Wii Speak. http://en.wikipedia.org/wiki/Wii_Speak [Accessed November 2012] [19] V. Stoicu-Tivadar, L. Stoicu-Tivadar, D. Berian, V. Topac, "Web Service-based solution for an intelligent telecare system", 2010 14th International Conference on Intelligent Engineering Systems. (INES), pp.313-316, May 2010. [20] SOAP Version 1.2 Specification Assertions and Test Collection (Second Edition). W3C Recommendation 27 April 2007. http://www.w3.org/TR/2007/REC-soap12- testcollection-20070427/ [Accessed November 2012] [21] Web Services Description Language (WSDL) 1.1. W3C Note 15 March 2001. http://www.w3.org/TR/wsdl [Accessed November 2012]

ISBN: 978-1-61804-156-2 123