2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

improve IO selection

git-svn-id: https://svn.fhem.de/fhem/trunk@6407 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-08-15 10:05:06 +00:00
parent 80d1e85001
commit b0fd55782d
2 changed files with 3 additions and 5 deletions

View File

@ -1645,7 +1645,7 @@ sub CUL_HM_Parse($$) {#########################################################
}
}
if ($st ne "switch"){
my $dir = $err&0x30;
my $dir = $err & 0x30;
if ($dir == 0x10){push @evtEt,[$shash,1,"$eventName:up:$vs" ];}
elsif($dir == 0x20){push @evtEt,[$shash,1,"$eventName:down:$vs"];}
elsif($dir == 0x00){push @evtEt,[$shash,1,"$eventName:stop:$vs"];}
@ -2085,7 +2085,7 @@ sub CUL_HM_Parse($$) {#########################################################
if ($mFlgH & 0x20){
$longPress .= "_Release";
$dChHash->{helper}{trgLgRpt}=0;
push @ack,$dstH,$mNo."8002".$dst.$src.$stAck;
push @ack,$shash,$mNo."8002".$dst.$src.$stAck;
}
push @evtEt,[$dChHash,1,"state:$stT"];
push @evtEt,[$dChHash,1,"virtActState:$stT"];

View File

@ -1303,7 +1303,6 @@ $culHmRegChan{"ROTO_ZEL-STG-RM-FWT03"}= $culHmRegChan{"HM-CC-TC03"};
,getConfig => ""
,regSet => "[prep|exec] <regName> <value> ... [<peerChannel>]"
,clear => "[readings|trigger|register|rssi|msgEvents|all]"
,getVersion => ""
);
%culHmGlobalSetsVrtDev = (# virtuals and devices without subtype
raw => "data ..."
@ -1317,8 +1316,7 @@ $culHmRegChan{"ROTO_ZEL-STG-RM-FWT03"}= $culHmRegChan{"HM-CC-TC03"};
);
%culHmSubTypeDevSets = (# device of this subtype
switch =>{ statusRequest => ""
,getSerial => ""
switch =>{ getSerial => ""
,pair => ""
,getVersion => ""
},