Determine caller / responsible action

Is there a way to determine a caller of an event?


a light may be switched on

  • via switch
  • via motion sensor
  • via timer
  • via another rule

Sure, I can add a log-info in every of those callers, but I’m looking for the other way like a stack-trace in debugging. Just get an info what function called my light-on-rule?

triggeringItemName is not the right choice, because it’s one level to close (in the given example it returns the name of the lightswitch itself, not the caller’s name.

Thanks in advance!

No. Bus events are anonymous.