Ok, another pitfall !
I registered to OpenWeatherMap to get temperature data. Open API 3.0 Free account to get an APP key which I got.
Configure OpenWeatherMap Driver with the appropriate information and since it is an Open API 3.0, I configured it to 3.0 rather than 2.5.
Wait 6 hours and i get the infamous 401 until it is ready to provide information....
then I got suspicious.
I tried the following HTTP in my browser :
https://api.openweathermap.org/data/2.5/weather?q=laval&appid=fb34cf1c92d72e5f85e2129d6fa61axx (not the real APPID),
and i got some information ( note it is 2.5 not 3.0). In fact I received :
{"coord":{"lon":-73.692,"lat":45.57},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"base":"stations","main":{"temp":272.7,"feels_like":269.03,"temp_min":272.02,"temp_max":273.72,"pressure":1009,"humidity":92},"visibility":10000,"wind":{"speed":3.09,"deg":300},"clouds":{"all":100},"dt":1668643803,"sys":{"type":2,"id":2013133,"country":"CA","sunrise":1668599730,"sunset":1668633831},"timezone":-18000,"id":6050610,"name":"Laval","cod":200}
Which looks valid ( in fact if I change one digit in my appid, nothings returns)
So I decided to switch to 2.5 in the driver, but I think the syntax for the HTTP request is not valid since it looks like this when generated by the driver :
https://api.openweathermap.org/data/2.5/onecall?lat=45.557300&lon=-73.772500&exclude=minutely,hourly&mode=json&units=imperial&appid=fb34cf1c92d72e5f85e2129d6fa61axx
Which obviously returns : OpenWeatherMap.org Weather Driver - WARNING: 401:Unauthorized
Any Idea ? Where should I start ?
Thanks