My security system is completely separate to my C-BUS set up (which includes a 5500SHAC). I have an output from the security system that closes contacts when its set and also if the alam goes off. I have these connected to a 5104BCLWE and can see the switching state via the 5500SHAC. I'm still learning my way around LUA and wondered if anyone already written code to turn lights on and off during the evening to simulate occupation when an alarm is set and are willing to share it? (Ideally with some variation of timing!) Thanks Peter-Marc