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:
parent
4121b0cee3
commit
ff48b55ccd
@ -697,9 +697,6 @@ sub GetSetData { ## no cri
|
|||||||
Log3 ($name, 5, "$name - data get: $getp, data set: ".(($d && $op)?($d." ".$op):$setp));
|
Log3 ($name, 5, "$name - data get: $getp, data set: ".(($d && $op)?($d." ".$op):$setp));
|
||||||
|
|
||||||
my $ua = LWP::UserAgent->new;
|
my $ua = LWP::UserAgent->new;
|
||||||
|
|
||||||
# Define user agent type
|
|
||||||
# $ua->agent("$useragent");
|
|
||||||
|
|
||||||
# Header Daten
|
# Header Daten
|
||||||
$ua->default_header("Accept" => "*/*",
|
$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 !!!
|
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
|
# 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;
|
$retry = 1;
|
||||||
return ($reread,$retry);
|
return ($reread,$retry);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user