@sdetweil
openweathermap.js is unchanged
WeatherProvider.register("openweathermap", {
providerName: "OpenWeatherMap",
// Set the default config properties that is specific to this provider
defaults: {
apiVersion: "3.0",
apiBase: "https://api.openweathermap.org/data/",
// weatherEndpoint is "/onecall" since API 3.0
// "/onecall", "/forecast" or "/weather" only for pro customers
weatherEndpoint: "/onecall",
locationID: false,
location: false,
// the /onecall endpoint needs lat / lon values, it doesn't support the locationId
lat: 0,
lon: 0,
apiKey: ""
},
config.js shows
{
module: 'weather',
header: 'Current zzzzzzzzzzzzzzzz weather: ',
position: 'top_right',
config: {
//weatherProvider: "openweathermap",
providerName: "OpenWeatherMap",
type: "current",
lat: nnnnnnnnnnn,
lon: -nnnnnnnnnnnnn,
apiKey: "aaaaaaaaaaaaaaaaaaaaaaaaaaa"
//type: 'current',
//location: 'xxxxxxxxxxxxxx',
//locationID: 'zzzzzzzz', //ID from https://www.openweathermap.org
//apiKey: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa'
}
},