2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-09 20:57:11 +00:00

CUL_HM:correct boostTime reading

git-svn-id: https://svn.fhem.de/fhem/trunk@25298 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2021-12-05 08:23:08 +00:00
parent 58f5c83757
commit bb5cff611f

View File

@ -2446,7 +2446,7 @@ sub CUL_HM_Parse($$) {#########################################################
}
elsif(defined $mI[5]){
$ctrlMode = hex($mI[5]);
$bTime = (($ctrlMode ) & 0x3f)." min" if($ctrlMode == 3);#message with boost
$bTime = (($ctrlMode ) & 0x3f)." min" if(($ctrlMode &0xc0) == 0xc0);#message with boost
# $uk0 = ($ctrlMode ) & 0x3f ;#unknown
$ctrlMode = ($ctrlMode >> 6) & 0x3 ;
}