mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
remove humidityreading for wds30
git-svn-id: https://svn.fhem.de/fhem/trunk@6285 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
47a2cf3d5c
commit
cc8249a656
@ -1381,10 +1381,12 @@ sub CUL_HM_Parse($$) {#########################################################
|
||||
elsif($st eq "THSensor") { ##################################################
|
||||
if ($mTp eq "70"){
|
||||
my $chn;
|
||||
if ($md =~ m/^(WS550|WS888|HM-WDC7000)/){$chn = "10"}
|
||||
elsif ($md eq "HM-WDS30-OT2-SM") {$chn = "05"}
|
||||
else {$chn = "01"}
|
||||
my ($d1,$h,$ap) = map{hex($_)} unpack 'A4A2A4',$p;
|
||||
if ($md =~ m/^(WS550|WS888|HM-WDC7000)/){$chn = "10"}
|
||||
elsif ($md eq "HM-WDS30-OT2-SM") {$chn = "05";$h=""}
|
||||
elsif ($md =~ m/^(S550IA|HM-WDS30-T-O)/) {$chn = "01";$h=""}
|
||||
else {$chn = "01"}
|
||||
|
||||
my $t = $d1 & 0x7fff;
|
||||
$t -= 0x8000 if($t &0x4000);
|
||||
$t = sprintf("%0.1f", $t/10);
|
||||
|
Loading…
Reference in New Issue
Block a user