Hello Everybody,
i have a problem with a automatic generated URL’s from openhab2
The program generate the following url’s
http://api.openweathermap.org/data/2.5/weather?lat=yy.yy&lon=xx.xx&lang=en&mode=json&units=metric&APPID=XXXX
and
http://api.openweathermap.org/data/2.5/forecast/daily?lat=yy.yy&lon=xx.xx&lang=en&cnt=5&mode=json&units=metric&APPID=XXXX
The first url is ok but the second url generate the following error message
2018-01-19 23:23:21.181 [ERROR] [nal.provider.AbstractWeatherProvider] - OPENWEATHERMAP[home-OWM]: Can’t retreive weather data: Invalid API key. Please see http://openweathermap.org/faq#error401 for more info.
i found on openweathermap that the URL was changed for the free api Connection.
It must be:
http://api.openweathermap.org/data/2.5/forecast?lat=yy.yy&lon=xx.xx&lang=en&cnt=5&mode=json&units=metric&APPID=XXXX
Where can this URL be customized?
Regards Bernd