Name of device which triggers scene to luup.wget

Please suggest how to get device name of device which triggers scene (in my case it is fibaro water sensor) and pass it as variable to luup.wget ?

The easiest way is to add code to each trigger’s Luup Event to pass the device name as a global variable. See http://forum.micasaverde.com/index.php/topic,32128.msg233422.html#msg233422.

The example code in that thread uses an integer number to identify the source of the trigger but you could use a string containing the name you want to use.