Read the statement by Michael Teeuw here.
MMM-CalendarExt3Agenda not showing updates
-
We have been using the MMM-CalendarExt3Agenda module for several years, and we’ve recently noticed that updates made to our Google Calendar are not reflected automatically in the MMM-CalendarExt3Agenda display. The changes do appear after restarting MagicMirror, but not in real time.
I suspect this may be related to the number of entries in the Google Calendar. On a second calendar with only a few entries, updates are reflected immediately, whereas the primary calendar—with several years’ worth of events—does not update as expected.
Is it possible for the MMM-CalendarExt3Agenda module to read only the most recent entries instead of processing the entire Google Calendar?
-
@MarNog the Ext3 family of modules gets the events from the default calendar module
Are the calendars on the same fetch cycle?
We look back a year, and forward maxdays
But the entire calendar is presented
-
@sdetweil It looks like calendars that have lots of data take a little longer to update, while small calendars are updated immediately. So, after waiting long enough all calendars got updated. We are good. Thank you
-
@MarNog one thing about the ext3 family of modules.
They get the events from the default calendar module. But the events are broadcast by url separately.
Some will take longer than others.
Ext3 doesn’t want to flash the screen every time it receives a block of events. It doesn’t know when the events will come. So, it has its own refreshInterval time (10 mins default), then it draws whatever it has, and then waits again
But, you don’t want to wait 10 minutes for the first display , so it has a second timer
waitFetch:5000, 5 second wait before drawing any events
If the events arrive after 5 seconds, they dont get displayed til refreshInterval time.
So, you can adjust those two to improve your viewing experience
Note that longer waitFetch means more time after start before any events are displayed
If you use pm2 to launch MagicMirror, it captures the log messages about startup and events being broadcast.
You could examine those time stamps to determine how long each cal Might take, and use that as a guide to waitFetch time
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login