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

76_SMAPortal: contrib 2.7.0

git-svn-id: https://svn.fhem.de/fhem/trunk@22045 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-05-27 21:49:27 +00:00
parent 4121b0cee3
commit ff48b55ccd

View File

@ -697,9 +697,6 @@ sub GetSetData { ## no cri
Log3 ($name, 5, "$name - data get: $getp, data set: ".(($d && $op)?($d." ".$op):$setp));
my $ua = LWP::UserAgent->new;
# Define user agent type
# $ua->agent("$useragent");
# Header Daten
$ua->default_header("Accept" => "*/*",
@ -1825,7 +1822,7 @@ sub analyzeLivedata { #
}
if($k =~ m/ErrorMessages/x && $new_val =~ /.*The current data cannot be retrieved from the PV system. Check the cabling and configuration of the following energy meters.*/) { ## no critic 'regular expression' # Regular expression without "/x" flag nicht anwenden !!!
# Energiedaten konnten nicht ermittelt werden, Daten neu lesen mit Zeitverzögerung
Log3 $name, 3, "$name - Live data cannot be retrieved. $attstr";
Log3 $name, 3, "$name - Live data can't be retrieved. $attstr";
$retry = 1;
return ($reread,$retry);
}