From b10b91446fcc847f7de4f8758585db4af532fefc Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 9 Jan 2017 10:37:13 +0000 Subject: [PATCH] 91_watchdog.pm: tuning the NOTIFYDEV regexp (Forum #64382) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13020 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/91_watchdog.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FHEM/91_watchdog.pm b/FHEM/91_watchdog.pm index cfac40ba4..9738a93de 100755 --- a/FHEM/91_watchdog.pm +++ b/FHEM/91_watchdog.pm @@ -70,7 +70,8 @@ watchdog_Define($$) } InternalTimer(1, sub($){ - my $re = ($re1 eq "." ? "" : $re1)."|".($re2 eq "SAME" ? $re1 : $re2); + my $re = ($re1 eq "." ? "" : $re1). + (($re2 eq "SAME" || $re2 eq $re1) ? "" : "|$re2"); notifyRegexpChanged($watchdog, $re); }, $watchdog, 0);