correct no-response command handling
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3471 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -2916,8 +2916,14 @@ sub CUL_HM_responseSetup($$) {#store all we need to handle the response
|
||||
CUL_HM_protState($hash,"CMDs_processing...");
|
||||
}
|
||||
else{# no answer expected
|
||||
CUL_HM_protState($hash,"CMDs_done".($hash->{helper}{burstEvtCnt}?
|
||||
if($hash->{cmdStack} && scalar @{$hash->{cmdStack}}){
|
||||
CUL_HM_protState($hash,"CMDs_processing...");
|
||||
InternalTimer(gettimeofday()+.5, "CUL_HM_ProcessCmdStack", $hash, 0);
|
||||
}
|
||||
else{
|
||||
CUL_HM_protState($hash,"CMDs_done".($hash->{helper}{burstEvtCnt}?
|
||||
("_events:".$hash->{helper}{burstEvtCnt}):""));
|
||||
}
|
||||
}
|
||||
if($hash->{cmdStack} && scalar @{$hash->{cmdStack}}){
|
||||
$hash->{protCmdPend} = scalar @{$hash->{cmdStack}}." CMDs pending";
|
||||
|
||||
Reference in New Issue
Block a user