Internet of Things is the current evolution of the Internet, which is opening tremendous opportunities for a large number of novel applications that promise to revolutionize and improve the quality of human life. For this reason, much attention has been oriented towards this theme from different perspectives. The problem treated by this paper is the necessity of having a mechanism that enables IoT systems to perform with transparency without stops or breaks regardless of the changes that affect the surrounding context. We propose a contextual dynamic reconfiguration process to be applied on the architectural level of IoT systems; the process relies on autonomic computing MAPE-K loop. The originality of our work is the use of architectural styles to make reusable all the architectural evolutions applied on the system.