I was wondering if I could get the Device ID that triggered the event from some context variable. It would allow me to cut/past code into many event luup blocks … otherwise I have to modify the code for each event with the Device ID of the event that caused the Luup code execute.
Right now, in an [tt][/tt] block, you only get the callee-DeviceId, not the caller-DeviceId …or what [might have] triggered the scene, typically you don’t even get the scene that’s calling you (without custom stuff)