10_ZWave.pm: security-class patch (Forum #38587)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9210 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-09-06 20:13:38 +00:00
parent 082e08b3c2
commit cd25e5f169

View File

@ -2435,7 +2435,11 @@ ZWave_addToSendStack($$)
my $now; my $now;
if(index(AttrVal($hash->{NAME}, "classes", ""), "WAKE_UP") >= 0) { if(index(AttrVal($hash->{NAME}, "classes", ""), "WAKE_UP") >= 0) {
if ($cmd =~ m/^......988[01].*/) {
Log3 $hash->{NAME}, 5, "$hash->{NAME}: Sendstack bypassed for $cmd";
} else {
return "Scheduled for sending after WAKEUP" if(!$hash->{wakeupAlive}); return "Scheduled for sending after WAKEUP" if(!$hash->{wakeupAlive});
}
} else { # clear commands without 0113 and 0013 } else { # clear commands without 0113 and 0013
$now = gettimeofday(); $now = gettimeofday();