correction for STATE
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2554 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -199,7 +199,7 @@ dewpoint_Notify($$)
|
|||||||
#my ($evName1, $val1, $evName2, $val2, $rest) = split(" ", $s, 5); # resets $1
|
#my ($evName1, $val1, $evName2, $val2, $rest) = split(" ", $s, 5); # resets $1
|
||||||
#$lastval = $evName1." ".$val1." ".$evName2." ".$val2;
|
#$lastval = $evName1." ".$val1." ".$evName2." ".$val2;
|
||||||
$lastval = $s;
|
$lastval = $s;
|
||||||
if ($s =~ /T: ([-+]?[0-9]*\.[0-9]+|[0-9]+)/) {
|
if ($s =~ /T: ([-+]?[0-9]*\.[0-9]+|[-+]?[0-9]+)/) {
|
||||||
$temperature = $1;
|
$temperature = $1;
|
||||||
}
|
}
|
||||||
if ($s =~ /H: [-+]?([0-9]*\.[0-9]+|[0-9]+)/) {
|
if ($s =~ /H: [-+]?([0-9]*\.[0-9]+|[0-9]+)/) {
|
||||||
|
|||||||
Reference in New Issue
Block a user