mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 10:46:53 +00:00
CUL_HM: press virtual improvement
git-svn-id: https://svn.fhem.de/fhem/trunk@7493 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
57cab65b70
commit
f5814c3ba7
@ -4272,7 +4272,9 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
|
||||
foreach my $peer (sort @peerList){
|
||||
my ($pHash,$peerFlag,$rxt);
|
||||
$pHash = CUL_HM_id2Hash($peer);
|
||||
next if (!$pHash->{helper}{role}{prs});
|
||||
next if ( !$pHash
|
||||
|| !$pHash->{helper}{role}
|
||||
|| !$pHash->{helper}{role}{prs});
|
||||
$rxt = CUL_HM_getRxType($pHash);
|
||||
$peerFlag = ($rxt & 0x02)?"B4":"A4" if($vChn ne "noBurst");#burst
|
||||
CUL_HM_PushCmdStack($pHash,"++${peerFlag}40$dst$peer$pc");
|
||||
@ -4280,6 +4282,7 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
|
||||
foreach my $pCh(grep /$peer/,@peerLchn){
|
||||
delete $modules{CUL_HM}{defptr}{$pCh}{helper}{dlvl};#stop desiredLevel supervision
|
||||
my $n = CUL_HM_id2Name($pCh);
|
||||
next if (!$n);
|
||||
$n =~s/_chn:.*//;
|
||||
CUL_HM_stateUpdatDly($n,10);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user