diff --git a/fhem/FHEM/10_CUL_HM.pm b/fhem/FHEM/10_CUL_HM.pm index 3ba31cad2..9055df9f0 100755 --- a/fhem/FHEM/10_CUL_HM.pm +++ b/fhem/FHEM/10_CUL_HM.pm @@ -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.