36_LaCrosseGateway.pm: added UpTimeSeconds reading

git-svn-id: https://svn.fhem.de/fhem/trunk@15527 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
HCS 2017-11-30 14:25:16 +00:00
parent 22b424a50b
commit 651a9f52da

View File

@ -491,6 +491,9 @@ sub LaCrosseGateway_HandleKVP($$) {
if($kvp =~ m/UpTimeText=(.*?)(\,|\ ,)/) { if($kvp =~ m/UpTimeText=(.*?)(\,|\ ,)/) {
readingsBulkUpdate($hash, "UpTime", $1); readingsBulkUpdate($hash, "UpTime", $1);
} }
if($kvp =~ m/UpTimeSeconds=(.*?)(\,|\ ,)/) {
readingsBulkUpdate($hash, "UpTimeSeconds", $1);
}
if($kvp =~ m/RSSI=(.*?)(\,|\ ,)/) { if($kvp =~ m/RSSI=(.*?)(\,|\ ,)/) {
readingsBulkUpdate($hash, "RSSI", $1); readingsBulkUpdate($hash, "RSSI", $1);
} }