Unfortunately there is no easy way to get any information about the sensor that triggered the event. One really ugly solution is to parse the LuaUPnP log file and look around the [tt]Event::Evaluate[/tt] line. Another solution would be to add hooks to those variables and in the callback function store the information about the sensor in a state variable. But IIRC the scene code is executed before the hook callback, so I’m not sure if this solution will work.