The rate at which the Internet is growing is unstoppable due to the large number of connected smart devices. Manufacturers often develop specific protocols for their own devices that do not usually follow any standards. This hinders the interconnection and coordination of devices from different manufacturers, limiting the number of daily activities that can be supported. Some works are proposing different techniques to reduce this barrier and avoid the vendor lock-in issue. Nevertheless, this interconnection should also depends on the context. In this chapter, the authors propose a system to dynamically identify the interconnections required each specific situation depending on the context. This proposal has been tested in case studies focused in elderly people with the aim of automating their daily tasks and improving their quality of life. Further, in a world with an accelerated population aging, there is an increasing interest on developing solutions for the elderly living assistance through IoT systems.