Hi Thijs, > There is no shared environment. So each piece of event handler code, has its own environment. (not even shared with the main loop thing) > See https://github.com/Tieske/fibaroHue Very useful information (here and in the module README); thank you. I presume it may be possible to load custom modules (like a debugger), right? Also, is there a way to talk to the device remotely, for example, using http? This is useful for running code fragments and starting debugging remotely... Paul.