mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
91_notify.pm: add SELF variable (Forum #39058)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8953 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
580524450b
commit
6dece92f52
@ -84,7 +84,8 @@ notify_Exec($$)
|
|||||||
my %specials= (
|
my %specials= (
|
||||||
"%NAME" => $n,
|
"%NAME" => $n,
|
||||||
"%TYPE" => $t,
|
"%TYPE" => $t,
|
||||||
"%EVENT" => $s
|
"%EVENT" => $s,
|
||||||
|
"%SELF" => $ln
|
||||||
);
|
);
|
||||||
my $exec = EvalSpecials($ntfy->{".COMMAND"}, %specials);
|
my $exec = EvalSpecials($ntfy->{".COMMAND"}, %specials);
|
||||||
|
|
||||||
@ -294,8 +295,8 @@ notify_fhemwebFn($$$$)
|
|||||||
$EVTPART2="(Celsius)"</code>. This data is available as a local
|
$EVTPART2="(Celsius)"</code>. This data is available as a local
|
||||||
variable in perl, as environment variable for shell scripts, and will
|
variable in perl, as environment variable for shell scripts, and will
|
||||||
be textually replaced for FHEM commands.</li>
|
be textually replaced for FHEM commands.</li>
|
||||||
<li>$NAME contains the device triggering the event, e.g.
|
<li>$NAME and $TYPE contain the name and type of the device triggering
|
||||||
<code>myFht</code></li>
|
the event, e.g. myFht and FHT</li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
|
|
||||||
<li>Note: the following is deprecated and will be removed in a future
|
<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
|
Shell-Scripts, und werden als Text ausgetauscht in
|
||||||
FHEM-Kommandos.</li>
|
FHEM-Kommandos.</li>
|
||||||
|
|
||||||
<li>$NAME enthält den Namen des Ereignis auslösenden
|
<li>$NAME und $TYPE enthalten den Namen bzw. Typ des Ereignis
|
||||||
Gerätes, z.B. <code>myFht</code></li>
|
auslösenden Gerätes, z.B. myFht und FHT</li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
|
|
||||||
<li>Achtung: Folgende Vorgehensweise ist abgekündigt, funktioniert
|
<li>Achtung: Folgende Vorgehensweise ist abgekündigt, funktioniert
|
||||||
|
Loading…
x
Reference in New Issue
Block a user