2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

Rain-Corr-Fix by Happy Fhem User

git-svn-id: https://svn.fhem.de/fhem/trunk@1103 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-11-13 11:15:57 +00:00
parent a98236006f
commit 0bcecbfd3b

View File

@ -155,7 +155,7 @@ CUL_WS_Parse($$)
if($typbyte == 2 && int(@a) > 5) { # rain
#my $more = ($firstbyte&8) ? 0 : 1000;
my $c = $hash->{corr1} ? $hash->{corr1} : 1;
$rain = hex($a[5].$a[3].$a[4]) + $c;
$rain = hex($a[5].$a[3].$a[4]) * $c;
$val = "R: $rain";
$devtype = "Rain";
$family = "WS7000";