2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 19:30:31 +00:00

10_CUL_HM: status for CFM-try 2

git-svn-id: https://svn.fhem.de/fhem/trunk@6790 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-10-19 13:21:12 +00:00
parent f5113cc1ea
commit 1b616fabed

View File

@ -1883,6 +1883,7 @@ sub CUL_HM_Parse($$) {#########################################################
($mTp eq "10" && $mI[0] eq "06")){ # or Info_Status message
my ($msgChn,$msgState) = ((hex($mI[1])&0x1f),$mI[2]) if (@mI > 2);
my $chnHash = $modules{CUL_HM}{defptr}{$src.sprintf("%02X",$msgChn)};
$chnHash = $shash if(!$chnHash && $msgChn && $msgChn == 1);
if ($md eq "HM-OU-LED16") {
#special: all LEDs map to device state
my $devState = ReadingsVal($name,"color","00000000");