diff --git a/fhem/FHEM/91_notify.pm b/fhem/FHEM/91_notify.pm index 079bb2a7c..312f807cf 100755 --- a/fhem/FHEM/91_notify.pm +++ b/fhem/FHEM/91_notify.pm @@ -84,7 +84,8 @@ notify_Exec($$) my %specials= ( "%NAME" => $n, "%TYPE" => $t, - "%EVENT" => $s + "%EVENT" => $s, + "%SELF" => $ln ); my $exec = EvalSpecials($ntfy->{".COMMAND"}, %specials); @@ -294,8 +295,8 @@ notify_fhemwebFn($$$$) $EVTPART2="(Celsius)". This data is available as a local variable in perl, as environment variable for shell scripts, and will be textually replaced for FHEM commands. -
  • $NAME contains the device triggering the event, e.g. - myFht
  • +
  • $NAME and $TYPE contain the name and type of the device triggering + the event, e.g. myFht and FHT
  • Note: the following is deprecated and will be removed in a future @@ -477,8 +478,8 @@ notify_fhemwebFn($$$$) Shell-Scripts, und werden als Text ausgetauscht in FHEM-Kommandos.
  • -
  • $NAME enthält den Namen des Ereignis auslösenden - Gerätes, z.B. myFht
  • +
  • $NAME und $TYPE enthalten den Namen bzw. Typ des Ereignis + auslösenden Gerätes, z.B. myFht und FHT
  • Achtung: Folgende Vorgehensweise ist abgekündigt, funktioniert