mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
contrib/98_openweathermap.pm: remove log entries from HttpUtils
git-svn-id: https://svn.fhem.de/fhem/trunk@9696 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0dbd7fe823
commit
ea16a9d1cd
@ -67,6 +67,7 @@
|
||||
# 2015-10-26 added: support for stationByZip
|
||||
# modi: use HttpUtils instead of LWP::UA
|
||||
# for nonblocking http
|
||||
# modi: attribute owoProxy for proxy configuration
|
||||
#
|
||||
|
||||
package main;
|
||||
@ -316,8 +317,7 @@ sub OWO_GetStatus($;$){
|
||||
my $sendString = $urlString."?".$dataString;
|
||||
if(AttrVal($name, "owoDebug",1) == 0){
|
||||
Log3($name, 4, "owo $name: sending: $dataString");
|
||||
my $ll = AttrVal($name,'verbose',2);
|
||||
$htmlDummy = GetFileFromURLQuiet($sendString,10,1,0,$ll);
|
||||
$htmlDummy = GetFileFromURLQuiet($sendString,10,1,0,0);
|
||||
$htmlDummy //= "no answer";
|
||||
Log3($name, 3, "owo $name: htmlResponse: ".$htmlDummy); #->status_line);
|
||||
} else {
|
||||
@ -403,8 +403,7 @@ sub UpdateReadings($$$){
|
||||
$url .= "&mode=xml" if($xmlMode eq "1");
|
||||
$url .= "&APPID=".AttrVal($name, "owoApiKey", "");
|
||||
|
||||
my $ll = AttrVal($name,'verbose',2);
|
||||
$response = GetFileFromURLQuiet($url,10,1,0,$ll);
|
||||
$response = GetFileFromURLQuiet($url,10,1,0,0);
|
||||
|
||||
if(defined($response)){
|
||||
if(AttrVal($name, "owoDebug", 1) == 1){
|
||||
|
Loading…
x
Reference in New Issue
Block a user