36_LaCrosseGateway.pm: added CPU-Temperature for LGW32

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15124 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
HCS 2017-09-23 19:05:22 +00:00
parent 33185bd216
commit aff25c6f5a

View File

@ -475,6 +475,8 @@ sub LaCrosseGateway_HandleKVP($$) {
my ($hash, $kvp) = @_;
my $name = $hash->{NAME};
$kvp .= ",";
readingsBeginUpdate($hash);
if($kvp =~ m/UpTimeText=(.*?)(\,|\ ,)/) {
@ -495,6 +497,9 @@ sub LaCrosseGateway_HandleKVP($$) {
if($kvp =~ m/OLED=(.*?)(\,|\ ,)/) {
readingsBulkUpdate($hash, "OLED", $1);
}
if($kvp =~ m/CPU-Temperature=(.*?)(\,|\ ,)/) {
readingsBulkUpdate($hash, "CPU-Temperature", $1);
}
if(AttrVal($name, "loopTimeReadings", "0") == "1") {
if($kvp =~ m/LD\.Min=(.*?)(\,|\ ,)/) {