@bicolorbore586 thanks for the key
the error is
Your request count (159) is over the allowed limit of 50 per day - Upgrade your key, or retry after 670.2 minutes
and u have 2 modules configured, so each will fetch separately, so u have to change the update cycle to once/hour
in both modules, (default 10 mins)
updateInterval: 60 * 60 * 1000
and every MM restart sends 2 requests, 1 for each module
change the new code to look like this…
if(!data || (data && data.error) || data.status_message){
Log.error("Could not load data ... ", data?(data.error|| data.status_message): "no data returned");
}
else {
if (!data || !data.data[0] || typeof data.data[0].temp === "undefined") {
// No usable data?
return;
}
const currentWeather = this.generateWeatherDayFromCurrentWeather(data);
this.setCurrentWeather(currentWeather);
}
crappy api implementation… should set error for all errors, not
put error info in good data returns