10_ZWave.pm: try to fix NO_ACK for multi-endpoint (Forum #54555)

git-svn-id: https://svn.fhem.de/fhem/trunk@11656 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2016-06-13 16:53:36 +00:00
parent 3656d0772f
commit eede03d279

View File

@@ -922,7 +922,7 @@ ZWave_Cmd($$@)
my $cmd2 = "$type $name $cmd"; my $cmd2 = "$type $name $cmd";
$cmd2 .= " ".join(" ", @a) if(@a); $cmd2 .= " ".join(" ", @a) if(@a);
ZWave_secPutMsg($hash, $cc_cmd . $payload, $cmd2); ZWave_secPutMsg($hash, $cc_cmd . $payload, $cmd2);
ZWave_secAddToSendStack($hash, '9840'); ZWave_secAddToSendStack($baseHash, '9840');
return; return;
} }
} }
@@ -936,7 +936,7 @@ ZWave_Cmd($$@)
$cmd eq "returnRouteDel" || $cmd eq "returnRouteDel" ||
$cmd eq "sucRouteAdd" || $cmd eq "sucRouteAdd" ||
$cmd eq "sucRouteDel" ) { $cmd eq "sucRouteDel" ) {
ZWave_processSendStack($hash, "next"); ZWave_processSendStack($baseHash, "next");
} }
$cmd .= " ".join(" ", @a) if(@a); $cmd .= " ".join(" ", @a) if(@a);
readingsSingleUpdate($hash, "state", $cmd, 1); readingsSingleUpdate($hash, "state", $cmd, 1);
@@ -4131,11 +4131,11 @@ ZWave_Parse($$@)
} }
if($arg =~ m/^028407/) { # wakeup:notification if($arg =~ m/^028407/) { # wakeup:notification
ZWave_wakeupTimer($hash, 1); ZWave_wakeupTimer($baseHash, 1);
ZWave_processSendStack($hash, "next"); ZWave_processSendStack($baseHash, "next");
} else { } else {
ZWave_processSendStack($hash, "msg", $arg) ZWave_processSendStack($baseHash, "msg", $arg)
if(!ZWave_isWakeUp($hash) || $hash->{wakeupAlive}); if(!ZWave_isWakeUp($hash) || $hash->{wakeupAlive});
} }