Abstract : Smart devices or smart things are widely deployed within environments and have to work in concert to assist users in many domains. The interoperability between things is achieved by the help of Internet and Web of Things. Despite this progress, a main challenge remains to fully manage the heterogeneity of the smart things: handling their dynamicity at runtime. In this paper, we present a three layers platform to address this challenge. The first layer monitors the appearance and disappearance of smart things in the environment. The second one provides mechanisms to dynamically compose the services provided by smart things. The third layer offers an autonomic context-driven composition mechanism based on a new software paradigm: 'application schemas'. This layer manage the interferences and conflicts that may occur during the autonomic composition process.