2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

CUL_HM:SD2 update

git-svn-id: https://svn.fhem.de/fhem/trunk@11414 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2016-05-08 15:40:32 +00:00
parent 85616652bc
commit fd72a5167d

View File

@ -3350,10 +3350,6 @@ sub CUL_HM_parseSDteam_2(@){#handle SD team events
#$smokeSrc = $dName;
}
push @evtEt,[$sHash,1,'level:'.$sVal];
foreach (@tHash){
push @evtEt,[$_,1,"state:$sProsa"];
push @evtEt,[$_,1,"smoke_detect:$smokeSrc"];
}
}
elsif($sVal == 150){#alarm teamcall
push @evtEt,[$_,1,"teamCall:from $dName:$No"] foreach (@tHash);
@ -3361,6 +3357,10 @@ sub CUL_HM_parseSDteam_2(@){#handle SD team events
elsif($sVal == 151){#alarm teamcall repeat
push @evtEt,[$dHash,1,"MsgRepeated $No"];#unclear. first repeater send 97 instead of 96. What about 2nd ans third repeater?
}
foreach (@tHash){
push @evtEt,[$_,1,"state:$sProsa"];
push @evtEt,[$_,1,"smoke_detect:$smokeSrc"];
}
push @evtEt,[$dHash,1,"battery:" .((hex($chn)&0x80) ? "low":"ok")];
push @evtEt,[$sHash,1,"eventNo:".$No];