Sorry, markdown thought I meant to italicize rather than use asterisks. The ignoreBefore and ignoreAfter values are “15 * 16 * 1000” (15 minutes).
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-CountEvents - ignoreBefore/ignoreAfter
-
MMM-CountEvents - ignoreBefore/ignoreAfter
Re: MMM-CountEvents (2.0.0 - Revamped)
I have been working on integrating this module in order to show a daily countdown for when my kids need to leave the house. It should show the module only between 730am to 8am on weekdays, with 745 being the targetTime.
I initially was trying to set up a function to dynamically change the targetTime to support weekdays only, but I couldn’t get it to update the value for the module except when it was loaded. I seemed to be able to get around that by scheduling a browser refresh every morning using MMM-ModuleScheduler along with MMM-Remote-Control.
The challenge I am having is that the module doesn’t seem to be clearly responding dynamically to the ignoreBefore and ignoreAfter config parameters. I have them set to “15601000”. When 730 rolls around nothing happens. Then I refreshed after a couple minutes and the count events module showed up. Around 16 minutes after 8am the event was still showing, but when I refreshed the browser it went away.
- I have the refresh time set to 1000 and show showSeconds is true.
Is this expected behavior? I had anticipated that the event would appear at 730 and disappear at 8 automatically without having to refresh. Am I configuring it wrong somehow (probably). Thank you!
-
RE: MMM-CalendarExt3Agenda
I have been working on setting up a magic mirror for my household, and I love the look of this module. Overall it’s been great and I have almost all the options I could need especially with some reasonable CSS editing.
I was finding that there was this persistent “fade” at the bottom of the agenda view
I read this thread which seemed to discuss how to remove the fade at the bottom with CSS targeting
.CX3A::after. However, after trying all of those custom.css mods listed in the next few posts I wasn’t able to get that darn fade to go away.In the end I added the following to my custom.css (assisted by ChatGPT) which produced the desired output in the attached screenshot:
.CX3A .agenda { mask-image: none !important; -webkit-mask-image: none !important; }It looks like this is counteracting these lines in the MMM-CalendarExt3Agenda.css file:
.CX3A .agenda { position: relative; max-height: 600px; overflow-y: hidden; mask-image: linear-gradient(to bottom, transparent, black 10%); -webkit-mask-image: -webkit-linear-gradient(90deg, transparent, black 10%); }I don’t think I’m quite at the level where I’d attempt to make a pull request to add a parameter to the config for this, but I wonder if you agree that it might be worth putting on the roadmap? I also wanted to get this in the forum in case someone else needs it later.
Thanks for all your work on this module!

-
RE: Calendar Module and Google Private ical URL - Invalid UNTIL value
Thanks @sdetweil. I did end up downloading the ICS and finding the event in Google Calendar. It was some sort of weird situation where there was an old event that had a repeating frequency and an end date that was before the event itself. How did that happen in the first place I don’t know!?
Anyway after modifying that event the whole thing is working again, so thank you and this one can go in the closed bin. Good to know how to troubleshoot this now.
-
Calendar Module and Google Private ical URL - Invalid UNTIL value
Hello. New user here and excited to try to implement something from this project for my household.
We use a lot of google calendaring, so I went straight for the calendar module and attempted to connect my google calendar link using the “secret address in iCal format” from the integrations section of the google calendar settings.
I’m running into an error and some googling and searching of this forum hasn’t led me to an obvious solution.
When I plug it into the config.js file and save, MM immediately reloads but then throws an error in the display:
Error in the calendar module. Check the logs for more detailsI check the pm2 logs, and here is what appears to be the error section:
[2025-10-08 22:33:17.914] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/*****/basic.ics Error: Invalid UNTIL value: 230108T154000 at untilStringToDate (/home/debian/MagicMirror/node_modules/rrule/dist/es5/rrule.js:370:15) at parseDtstart (/home/debian/MagicMirror/node_modules/rrule/dist/es5/rrule.js:2165:23) at parseRrule (/home/debian/MagicMirror/node_modules/rrule/dist/es5/rrule.js:2189:19) at parseLine (/home/debian/MagicMirror/node_modules/rrule/dist/es5/rrule.js:2174:16) at Array.map (<anonymous>) at RRule.parseString (/home/debian/MagicMirror/node_modules/rrule/dist/es5/rrule.js:2151:10) at RRule.fromString (/home/debian/MagicMirror/node_modules/rrule/dist/es5/rrule.js:3178:32) at Object.END (/home/debian/MagicMirror/node_modules/node-ical/ical.js:640:30) at Object.handleObject (/home/debian/MagicMirror/node_modules/node-ical/ical.js:690:39) at Object.parseLines (/home/debian/MagicMirror/node_modules/node-ical/ical.js:742:18) at Object.parseICS (/home/debian/MagicMirror/node_modules/node-ical/ical.js:778:18) at sync.parseICS (/home/debian/MagicMirror/node_modules/node-ical/node-ical.js:203:15) at autodetect.parseICS (/home/debian/MagicMirror/node_modules/node-ical/node-ical.js:234:17) at /home/debian/MagicMirror/modules/default/calendar/calendarfetcher.js:59:18 at process.processTicksAndRejections (node:internal/process/task_queues:105:5)I have just completed the MM install on a fresh debian 11 install after running apt upgrade.
FWIW I did try this with another google calendar URL, and that one worked, but the initial one is the main family calendar and is the one I really want/need to be integrated. I was able to get the calendar to load using the MMM-Googlecalendar module using a bearer token approach, but that limits me in other ways related to the display format (I think).
Any help in figuring out where this problem is coming from (can I identify the troublesome event[s]?) or how to fix it would be much appreciated. Thank you!