From cc8daed4922f0d5b0c61ff4c3b8113f16a572017 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 13 Jul 2015 15:13:06 +0000 Subject: [PATCH] 91_notify.pm: add SELF variable (Forum #39058) git-svn-id: https://svn.fhem.de/fhem/trunk@8953 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/91_notify.pm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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