I found this thread when my usage of the openweathermap.org API stopped working a few days ago. I guess they actually did cut off the API 2.5 users now? Anyways, I have it working using the 3.0 API now. A few comments to help anyone:
- I did add my credit card info on my account but I am not 100% sure this was necessary.
- I am using the same API key as before.
- The locationID value does not appear to work any more. So I have replaced the locationID config lines with lat and lon lines.
- The timezone was getting appended to the header so I had to start setting appendLocationNameToHeader to false.
Before example:
{
module: "weather",
position: "top_right",
header: "Hollywood, FL",
config: {
weatherProvider: "openweathermap",
type: "current",
location: "Hollywood, FL",
locationID: "4158928",
apiKey: "xxxxxxxxxxxxxxxxxxxxxx",
roundTemp: true
}
},
After example:
{
module: "weather",
position: "top_left",
header: "Mandan, ND",
config: {
weatherProvider: "openweathermap",
type: "current",
lat: "46.8258",
lon: "-100.88875",
apiKey: "xxxxxxxxxxxxxxxxxxxxxx",
apiVersion: "3.0",
appendLocationNameToHeader: false,
weatherEndpoint: "/onecall",
roundTemp: true
}
},