mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
CUL_HM:statusRequest remove unnecessary requests
git-svn-id: https://svn.fhem.de/fhem/trunk@22180 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e129994276
commit
56216552db
@ -2148,7 +2148,7 @@ sub CUL_HM_Parse($$) {#########################################################
|
|||||||
my $vDim = $mh{cHash}->{helper}{vDim}; #shortcut
|
my $vDim = $mh{cHash}->{helper}{vDim}; #shortcut
|
||||||
if ($vDim->{idPhy} &&
|
if ($vDim->{idPhy} &&
|
||||||
CUL_HM_id2Hash($vDim->{idPhy})){ #has virt chan
|
CUL_HM_id2Hash($vDim->{idPhy})){ #has virt chan
|
||||||
RemoveInternalTimer("sUpdt:".$mh{src}.$mh{chnM});
|
RemoveInternalTimer("sUpdt:".CUL_HM_id2Name($mh{src}.$mh{chnM}));
|
||||||
if ($mh{mTp} eq "10"){ #valid PhysLevel
|
if ($mh{mTp} eq "10"){ #valid PhysLevel
|
||||||
foreach my $tmpKey ("idPhy","idV2","idV3",){#update all virtuals
|
foreach my $tmpKey ("idPhy","idV2","idV3",){#update all virtuals
|
||||||
my $vh = ($vDim->{$tmpKey} ? CUL_HM_id2Hash($vDim->{$tmpKey}) : "");
|
my $vh = ($vDim->{$tmpKey} ? CUL_HM_id2Hash($vDim->{$tmpKey}) : "");
|
||||||
@ -9922,6 +9922,8 @@ sub CUL_HM_qEntity($$){ # add to queue
|
|||||||
$modules{CUL_HM}{hmAutoReadScan};
|
$modules{CUL_HM}{hmAutoReadScan};
|
||||||
RemoveInternalTimer("CUL_HM_procQs");
|
RemoveInternalTimer("CUL_HM_procQs");
|
||||||
InternalTimer(gettimeofday()+ $wT,"CUL_HM_procQs","CUL_HM_procQs", 0);
|
InternalTimer(gettimeofday()+ $wT,"CUL_HM_procQs","CUL_HM_procQs", 0);
|
||||||
|
Log 1,"General ##########\n ".join("\n ",sort map{sprintf("%8d",int($intAt{$_}{TRIGGERTIME}-gettimeofday())).":$intAt{$_}{FN}\t$intAt{$_}{ARG}"} (keys %intAt));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub CUL_HM_readStateTo($){#staterequest not working
|
sub CUL_HM_readStateTo($){#staterequest not working
|
||||||
|
Loading…
x
Reference in New Issue
Block a user