From ea16a9d1cdd99ef667d9a7aad5993b6b21a69a71 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Mon, 26 Oct 2015 22:21:32 +0000 Subject: [PATCH] contrib/98_openweathermap.pm: remove log entries from HttpUtils git-svn-id: https://svn.fhem.de/fhem/trunk@9696 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/98_openweathermap.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fhem/contrib/98_openweathermap.pm b/fhem/contrib/98_openweathermap.pm index 63b377933..a41d3dd6b 100644 --- a/fhem/contrib/98_openweathermap.pm +++ b/fhem/contrib/98_openweathermap.pm @@ -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){