mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-15 16:19:11 +00:00
91_notify.pm: add SELF variable (Forum #39058)
git-svn-id: https://svn.fhem.de/fhem/trunk@8953 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fa7b98957b
commit
cc8daed492
@ -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)"</code>. This data is available as a local
|
||||
variable in perl, as environment variable for shell scripts, and will
|
||||
be textually replaced for FHEM commands.</li>
|
||||
<li>$NAME contains the device triggering the event, e.g.
|
||||
<code>myFht</code></li>
|
||||
<li>$NAME and $TYPE contain the name and type of the device triggering
|
||||
the event, e.g. myFht and FHT</li>
|
||||
</ul></li>
|
||||
|
||||
<li>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.</li>
|
||||
|
||||
<li>$NAME enthält den Namen des Ereignis auslösenden
|
||||
Gerätes, z.B. <code>myFht</code></li>
|
||||
<li>$NAME und $TYPE enthalten den Namen bzw. Typ des Ereignis
|
||||
auslösenden Gerätes, z.B. myFht und FHT</li>
|
||||
</ul></li>
|
||||
|
||||
<li>Achtung: Folgende Vorgehensweise ist abgekündigt, funktioniert
|
||||
|
Loading…
x
Reference in New Issue
Block a user