@Gjones93 + @sdetweil – Is there any reason why openweathermap.org would not be returning alerts with the rest of the weather data? I have seen this behavior for some weeks/months now, and wonder whether it might be connected to the new API ver 3.0.
I currently am running both MMM-WeatherAlerts and MMM-OpenWeatherMapForecast. Both used to deliver alerts and neither currently do. I am currently under a wind warning, but no warning displays on either module. I have also found a location in Utah that is currently under a winter storm warning [22 inches of snow falling!], and set the lon/lat there in one MM instance, still with no alert output.
I see no errors in pm2 logs, and do see various other modules showing successful fetching of weather and news - so it looks like this is not a lack of network connection.
Since multiple modules are failing to fetch alerts, it feels like the problem is at the source - openweathermap - or the operation of its API.
Config code for the dev instance follows. Any thoughts?
{module: "MMM-WeatherAlerts",
disabled: false,
position: "top_left", // top_right
// header: "Weather Alerts",
config: {
appendLocationNameToHeader: false,
calendarClass: "calendar",
tableClass: "small", // small
// lat: "36.131148", lon: "-115.241867", //Las Vegas = 36.131148
lat: "38.549194", lon: "-111.709464", // Fish Lk, Ut - For testing
// lat: "42.295568", lon: "-83.782281",// Ann Arbor, Mi - for testing
// lat: "35.152661", lon: "-114.456767", // Lake Mead Rec Area - For testing
// lat: "36.753342", lon: "-98.355930", // Alfalfa County, Oklahoma - for testing
// lat: "40.924102", lon: "-115.122002", // Northern Nevada - for testing
weatherAlertProvider: "openweathermapalerts",
weatherEndpoint: "/onecall",
type: "alerts",
updateInterval: 10800000, // Fetch content every 3 hours
apiKey: "xxxx", // 19 Sep 2024 Ver 3
animationSpeed: 10000, // Default = 1000 (1 second)
alertTimeFormat: "relative", // absolute
alertDateFormat: "llll",
alertDescriptionScrollDelay: 100, // Default = 85, Lower = faster alert description will move
colored: false }, }, // true