Read the statement by Michael Teeuw here.
Introducing MMM-BirthdayCalendarCountdown – Your MagicMirror Birthday Countdown Module!
-
Hi everyone,
I’m excited to announce my new MagicMirror module, MMM-BirthdayCalendarCountdown! This module listens for calendar events (via the
"CALENDAR_EVENTS"notification) and filters them based on a configurable keyword (defaulting to"birthday"). It then displays upcoming birthday events on your MagicMirror along with a live countdown timer for events that occur within a configurable window (default is 7 days).Features
-
Customizable Keyword Filtering:
Easily filter calendar events for birthdays (or any other event type by changing the search keyword). -
Live Countdown:
Watch as the countdown for each upcoming birthday updates in real time. -
Clean, Stylish Display:
Comes with a dedicated CSS file for a neat and modern look. -
Configurable Options:
Adjust the update interval, countdown window, maximum events displayed, and search keyword to suit your needs.
How It Works
The module listens for the
"CALENDAR_EVENTS"notification from your calendar module. It filters events based on the title, then sorts and displays the upcoming birthdays. If an event is within the specified countdown window, a live countdown (days, hours, minutes, seconds) is shown right below the event details.Installation & Setup
-
Clone or Download the Repository:
Clone the repository into your MagicMirrormodulesdirectory:cd ~/MagicMirror/modules git clone https://github.com/wlans/MMM-BirthdayCalendarCountdown.git -
Configure the Module:
Add the following entry to yourconfig/config.jsfile:{ module: "MMM-BirthdayCalendarCountdown", position: "top_left", // or any other region you prefer config: { updateInterval: 1000, // Refresh display every second countdownStartDays: 7, // Show countdown for events within 7 days maxDisplay: 5, // Display up to 5 upcoming events searchKeyword: "birthday" // Change this keyword to filter different event types } }, -
Ensure You Have a Calendar Module:
Make sure your MagicMirror setup includes a calendar module that sends out the"CALENDAR_EVENTS"notification with the proper event format (each event must include at least atitleandstartDate). -
Customize the Look:
The module comes with a CSS file (MMM-BirthdayCalendarCountdown.css) to provide styling. Feel free to tweak it to match your mirror’s theme.
Demo
Check out the GitHub repository for further documentation:
https://github.com/wlans/MMM-BirthdayCalendarCountdownFeedback & Contributions
I’d love to hear your feedback or see improvements from the community. If you run into any issues, have ideas for new features, or just want to say hi, please open an issue or a pull request on GitHub!
Happy mirroring!
Cheers,
wlans -
-
Do you have any screenshots??
-
-
More
-
Hi,
I came across this module and I like the idea.
I have two instances of this module running.
Only difference are the Keywords.this is my config
{ module: "MMM-BirthdayCalendarCountdown", position: "top_left", // Choose your preferred position (e.g., top_left, top_right, etc.) config: { updateInterval: 1000, // Refresh every second for live countdown updates countdownStartDays: 7, // Show countdown if the birthday is within 7 days upcomingWindowDays: 90, // Only display birthdays within the next 30 days maxDisplay: 5, // Maximum number of birthdays to display searchKeyword: "Birthday" // Keyword to filter calendar events (case-insensitive) } }, { module: "MMM-BirthdayCalendarCountdown", position: "top_left", // Choose your preferred position (e.g., top_left, top_right, etc.) config: { updateInterval: 1000, // Refresh every second for live countdown updates countdownStartDays: 7, // Show countdown if the birthday is within 7 days upcomingWindowDays: 90, // Only display birthdays within the next 30 days maxDisplay: 5, // Maximum number of birthdays to display searchKeyword: "Flight" // Keyword to filter calendar events (case-insensitive) } },Unfortunately no Events are shown (there a multiple “Birthday” and “Flight” within the upcoming 90 days).
Considering that I also use MMM-CalendarExt3 which also listens to CALENDAR_EVENTS (and this module works flawlessly), I guess there is some bug/issue.What info do I need to supply in order to help with solving the issue ?
Thanks
-
@p1lspeda as this module is done all in browser, can you look at the browser log
ctrl-shift-i on the MagicMirror screen keyboard
Select the console tab
Add countd to the filter fieldThis filter will limit messages only from this module
Can you show us what messages there are


