Skip to content

Weather Alerts

Brian Wente edited this page Aug 11, 2026 · 1 revision

Weather Alerts

MessageCenter can turn the bundled hourly Weather module's WEATHER_UPDATED broadcast into a rain warning. At least one Weather instance must use type: "hourly".

internalNotifications: {
  weather: {
    enabled: true,
    rain: {
      leadTimeMinutes: 60,
      windowMinutes: 45,
      probabilityThreshold: 50,
      amountThreshold: 0.1,
      channel: "weather",
      timeout: 10000
    }
  }
}

The default rule looks about one hour ahead. Repeated forecasts update a single rain-next-hour event rather than creating duplicates. A later dry hourly forecast resolves the message and its attention state. Forecast text and rendered timestamps follow MagicMirror's locale and 12/24-hour preferences.

This provider is disabled by default so users opt in deliberately.

Clone this wiki locally