@trnitz
You need to add a link to the module.
That would be helpful, wouldn’t it :-)
Download and additional details available on project’s github repository.
@trnitz
You need to add a link to the module.
That would be helpful, wouldn’t it :-)
Download and additional details available on project’s github repository.
A customizable MagicMirror² module for counting down to birthdays, holidays, anniversaries, appointments, trips, and other events.
The nearest event is presented as a stable, live days/hours/minutes/seconds countdown with an optional emoji. A rotating, days-only summary of the later upcoming events fades in and out beneath it; the active main event is excluded from that rotation.
Features
Screenshot

See https://github.com/trnitz/MMM-EventCountdown
Installation and usage instructions are in the project’s README.md
Project origins
This project combines and extends ideas from two open-source MagicMirror modules:
TouaregWarrior/MMM-HolidayCountdown provides the original holiday/trip countdown module on which this project is based.
double-ratchet/MMM-AnimatedCountdowns, by ElliAndDad, provides the basis for the digital, flip, progress-ring, and hourglass counter styles adapted here.
The resulting module adds four selectable counter styles, rotating event summaries, reusable yearly events, one-time events, movable-date rules, calculated Easter dates, and per-event emojis.
This is more of a FYI /fix /workaround than a troubleshooting issues/question.
Recently, the api.linqconnect.com API endpoint has started blocking certain User Agents, including axios (and curl).
Using a custom User Agent to impersonate an actual web browser bypasses this block.
I created a pull request for this:
@Lmagenis said in Family Mirror:
This looks great! How did you get only the lunch menus to show?
There is also the ‘hideEmptyMeals’ boolean in the config, which is set to false by default.
Setting that to true, while also setting ‘recipeCategoriesToInclude’ to ‘Lunch’ (or ‘Lunch Entree’ in my case) will not display empty meals.
Example config section:
{
module: "MMM-TitanSchoolMealMenu",
position: "bottom_left",
header: "Namaqua Elementary menu",
config: {
size: 'x-small', // Optional: 'small', 'medium', 'large'; Default: 'medium'
todayClass: 'x-small',
hideEmptyDays: true,
hideEmptyMeals: true,
buildingId: 'edf06a3e-65f3-ee11-a85d-f8b9c75e31xx',
districtId: '931753cd-1e95-ee11-b902-959a1bfff3xx',
updateIntervalMs: 3600000, // Optional: Milliseconds between updates; Default: 3600000 (1 hour)
numberOfDaysToDisplay: 2, // Optional: 0 - 5; Default: 3
recipeCategoriesToInclude: [
"Lunch Entree",
],
debug: false
},
},