mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
HM-WDS100-C6-O added
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@845 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1b09631e1a
commit
69ff4cbf94
@ -335,7 +335,7 @@ CUL_HM_Parse($$)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} elsif($model eq "KS550") {
|
} elsif($model eq "KS550" || $model eq "HM-WDS100-C6-O") {, # Identical to KS550?
|
||||||
|
|
||||||
|
|
||||||
if($cmd eq "8670" && $p =~ m/^(....)(..)(....)(....)(..)(..)(..)/) {
|
if($cmd eq "8670" && $p =~ m/^(....)(..)(....)(....)(..)(..)(..)/) {
|
||||||
@ -347,7 +347,7 @@ CUL_HM_Parse($$)
|
|||||||
my $ir = $r & 0x8000;
|
my $ir = $r & 0x8000;
|
||||||
$r = ($r & 0x7fff) * 0.295;
|
$r = ($r & 0x7fff) * 0.295;
|
||||||
my $wdr = ($w>>14)*22.5;
|
my $wdr = ($w>>14)*22.5;
|
||||||
$w = $w & 0x3fff;
|
$w = ($w & 0x3fff)/10;
|
||||||
$wd = $wd * 5;
|
$wd = $wd * 5;
|
||||||
|
|
||||||
push @event,
|
push @event,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user