mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 02:10:32 +00:00
10_ZWave.pm: asyncOutput-get-fix for WAKE_UP (Forum #53315)
git-svn-id: https://svn.fhem.de/fhem/trunk@11600 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2c755b7817
commit
0fcdfa4cf1
@ -894,8 +894,8 @@ ZWave_Cmd($$@)
|
|||||||
$data .= ZWave_callbackId($baseHash);
|
$data .= ZWave_callbackId($baseHash);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($type eq "get" && $hash->{CL}) { # Wait for the result for frontend cmd
|
if($type eq "get" && $hash->{CL} && !ZWave_isWakeUp($hash)) {
|
||||||
if(!$hash->{asyncGet}) {
|
if(!$hash->{asyncGet}) { # Wait for the result for frontend cmd
|
||||||
my $tHash = { hash=>$hash, CL=>$hash->{CL}, re=>"^000400${id}..$cmdId"};
|
my $tHash = { hash=>$hash, CL=>$hash->{CL}, re=>"^000400${id}..$cmdId"};
|
||||||
$hash->{asyncGet} = $tHash;
|
$hash->{asyncGet} = $tHash;
|
||||||
InternalTimer(gettimeofday()+4, sub {
|
InternalTimer(gettimeofday()+4, sub {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user