2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 23:46:03 +00:00

weather station correction

git-svn-id: https://svn.fhem.de/fhem/trunk@5272 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-03-21 11:49:39 +00:00
parent e356437461
commit 26f7e0b126

View File

@ -876,9 +876,9 @@ sub CUL_HM_Parse($$) {#########################################################
if(defined $t) {$sM .= "T: $t " ;push @evtEt,[$shash,1,"temperature:$t" ];}
if(defined $h) {$sM .= "H: $h " ;push @evtEt,[$shash,1,"humidity:$h" ];}
if(defined $w) {$sM .= "W: $w " ;push @evtEt,[$shash,1,"windSpeed:$w" ];}
if(defined $wd) {$sM .= "R: $wd " ;push @evtEt,[$shash,1,"windDirection:$wd" ];}
if(defined $r) {$sM .= "R: $r " ;push @evtEt,[$shash,1,"windDirection:$r" ];}
if(defined $ir) {$sM .= "IR: $ir " ;push @evtEt,[$shash,1,"windDirRange:$ir" ];}
if(defined $r) {$sM .= "WD: $r " ;push @evtEt,[$shash,1,"rain:$r" ];}
if(defined $wd) {$sM .= "WD: $wd " ;push @evtEt,[$shash,1,"rain:$wd" ];}
if(defined $wdr){$sM .= "WDR: $wdr ";push @evtEt,[$shash,1,"isRaining:$wdr" ];}
if(defined $s) {$sM .= "S: $s " ;push @evtEt,[$shash,1,"sunshine:$s" ];}
if(defined $b) {$sM .= "B: $b " ;push @evtEt,[$shash,1,"brightness:$b" ];}