Hey everyone! 👋
I’m excited to share a simple but fun module I just built: MMM-Accuweather-Headline!
This module displays the headline forecast from AccuWeather for your chosen location — things like “Rain expected this evening” or “Unseasonably warm tomorrow” — and adds a touch of personality with weather-related emojis. ☀️🌧️❄️
💡 Features
- Fetches AccuWeather’s top weather headline
- Adds context-based emoji icons for visual flair
- Updates every hour (configurable)
- Super lightweight and plug-and-play
📸 Screenshot
⚙️ Installation & Setup
cd ~/MagicMirror/modules
git clone https://github.com/wlans/MMM-Accuweather-Headline.git
Then in your config.js
:
{
module: "MMM-Accuweather-Headline",
position: "top_bar",
config: {
apiKey: "YOUR_ACCUWEATHER_API_KEY",
locationKey: "YOUR_LOCATION_KEY",
updateInterval: 60 * 60 * 1000 // optional, in milliseconds
}
}
🔑 To find your locationKey
:
Go to AccuWeather, search your city, and copy the number from the URL. Example:
/weather-forecast/338832
→ locationKey = 338832
💬 Why I Built It
I wanted something lightweight that showed AccuWeather’s daily headline forecast, but with a bit more personality than just plain text. So I matched headline categories with emojis — like ☁️ for cloudy, 🌧️ for rain, and 🥶 for cold. It adds a bit of life to the forecast!
🛠️ What’s Next
- Custom emoji mapping per user
- Styling options
- Multilingual support
🔗 GitHub Repo (Download & Docs)
Let me know what you think — feedback, feature ideas, or PRs are welcome!
Happy mirroring! 🪞✨