mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
10_CUL_HM:restrict statusrequest repetition
git-svn-id: https://svn.fhem.de/fhem/trunk@8840 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b86afffaa0
commit
336db1fa52
@ -5800,7 +5800,7 @@ sub CUL_HM_respPendTout($) {
|
||||
CUL_HM_respPendRm($hash);# do not count problems with wakeup try, just wait
|
||||
CUL_HM_protState($hash,"CMDs_pending");
|
||||
}
|
||||
elsif (ReadingsVal($hash->{IODev},"state","") !~ m/^(opened|Initialized)$/){#IO errors
|
||||
elsif (ReadingsVal($hash->{IODev}->{NAME},"state","") !~ m/^(opened|Initialized)$/){#IO errors
|
||||
CUL_HM_eventP($hash,"IOdly");
|
||||
CUL_HM_ProcessCmdStack($hash) if($rxt & 0x03);#burst/all
|
||||
}
|
||||
@ -5817,6 +5817,7 @@ sub CUL_HM_respPendTout($) {
|
||||
}
|
||||
else{# manage retries
|
||||
$pHash->{rspWait}{reSent}++;
|
||||
|
||||
CUL_HM_eventP($hash,"Resnd");
|
||||
Log3 $name,4,"CUL_HM_Resend: $name nr ".$pHash->{rspWait}{reSent};
|
||||
if ($hash->{protCondBurst}&&$hash->{protCondBurst} eq "on" ){
|
||||
@ -7495,7 +7496,6 @@ sub CUL_HM_assignIO($){ #check and assign IO
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sub CUL_HM_stateUpdatDly($$){#delayed queue of status-request
|
||||
my ($name,$time) = @_;
|
||||
CUL_HM_unQEntity($name,"qReqStat");#remove requests, wait for me.
|
||||
|
Loading…
x
Reference in New Issue
Block a user