2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

91_watchdog.pm: listen for "own" events

git-svn-id: https://svn.fhem.de/fhem/trunk@13181 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-01-22 10:58:59 +00:00
parent b925610817
commit 2bb467c091

View File

@ -72,6 +72,7 @@ watchdog_Define($$)
InternalTimer(1, sub($){
my $re = ($re1 eq "." ? "" : $re1).
(($re2 eq "SAME" || $re2 eq $re1) ? "" : "|$re2");
$re .= "|$name"; # for trigger w .
notifyRegexpChanged($watchdog, $re);
}, $watchdog, 0);