mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
59_Twilight: second try: constat URL changed in $URL to fix problem:
https://forum.fhem.de/index.php/topic,55583.msg489421.html#msg489421 git-svn-id: https://svn.fhem.de/fhem/trunk@12153 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
17972844d7
commit
6bb4476e98
@ -378,7 +378,7 @@ sub Twilight_CreateHttpParameterAndGetData($$) {
|
||||
my $location = $hash->{WEATHER};
|
||||
my $verbose = AttrVal($hash->{NAME}, "verbose", 3 );
|
||||
|
||||
my $URL => "http://query.yahooapis.com/v1/public/yql?q=select%%20*%%20from%%20weather.forecast%%20where%%20woeid=%s%%20and%%20u=%%27c%%27&format=%s&env=store%%3A%%2F%%2Fdatatables.org%%2Falltableswithkeys";
|
||||
my $URL = "http://query.yahooapis.com/v1/public/yql?q=select%%20*%%20from%%20weather.forecast%%20where%%20woeid=%s%%20and%%20u=%%27c%%27&format=%s&env=store%%3A%%2F%%2Fdatatables.org%%2Falltableswithkeys";
|
||||
my $url = sprintf($URL, $location, "json");
|
||||
Log3 $hash, 4, "[$hash->{NAME}] url=$url";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user