Read the statement by Michael Teeuw here.
Version 2.30.0 Calendar fix for clipping broadcast events
-
@angeliKITTYx there are events broadcast over almost 2 minutes. I think Ext3 tries to hold off updating exactly when events arrive
there is a properties on Ext3
waitFetch 5000 (ms) waiting the fetching of last calendar to prevent flickering view by too frequent fetching.
refreshInterval 1800000 (ms) refresh view by force if you need it. -
@angeliKITTYx can you go to the MMM-GoogleTasks module folder and do
ls node_modules/googleapis
it should display somethingthen
rm-rf node_modules npm install -
@angeliKITTYx ok, the module has a problem
it didn’t document NEEDING that library (it has no package.json file)
so do the general fix for missing dependencies
see here for the steps
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1 -
@sdetweil that link fixed the module, thank you! Now just the issue of the calendar. Here’s my config file - did I add those parameters correctly? My Ext3 refreshinterval used to be 105000. Once I changed that and added the fetch, the “all day” events are still showing wrong and I’m down to 2 of 7 calendars showing.
{ module: "calendar", header: "Family Calendar", hiddenOnStartup: "true", position: "top_left", config: { broadcastPastEvents: true, displaySymbol: false, showEnd: false, fetchInterval: 100000, calendars: [ { url: "https://calendar.google.com/calendar/ical/an.jusino%40gmail.com/private-74d08680c977c48e69171dadae3346d1/basic.ics", name: "family_cal", color: "mediumpurple" }, { url: "https://calendar.google.com/calendar/ical/omtoia6f8j37jran5mb17op4ds%40group.calendar.google.com/private-16234c84cba91dcd115a1520c7d4a6d1/basic.ics", name: "alecwork_cal", color: "darkgrey" }, { url: "https://calendar.google.com/calendar/ical/alec.ricks%40gmail.com/private-1057e398b749e4a4bd8d89428196701d/basic.ics", name: "alec_cal", color: "cyan" }, { url: "https://calendar.google.com/calendar/ical/0b6c8d6f8c3228633df24f5a2e1a82ee6e26fb2f83149c1e7f23db663a1723fc%40group.calendar.google.com/private-b27c85d7ac15b1b3720cbc02b5dc379c/basic.ics", name: "days_off", color: "black" }, { url: "https://calendar.google.com/calendar/ical/1edbd1beaf928e2704be3df763e9b319577876e1bcb207b7904a9c4f06ffb943%40group.calendar.google.com/private-76c28d9a0ee7ab9f1b64a9d566a850ed/basic.ics", name: "birthdays", color: "palevioletred" }, { url: "https://calendar.google.com/calendar/ical/0f7edded062436e88c439f02088314c458c640c02e562fb692933af418d0abc4%40group.calendar.google.com/private-e796d5dfb492112678768352ffc3fbb8/basic.ics", name: "Recycling", color: "blue" }, { url: "https://calendar.google.com/calendar/ical/f66c575019a70fc8b261642986e5db02b70a923eaa2c24ce3cef72adc9f500c2%40group.calendar.google.com/private-22e483fee9be4ff5c366069093ee2445/basic.ics", name: "Trash", color: "green" }, ] } }, { module: "MMM-CalendarExt3", position: "bottom_bar", config: { mode: "week", useSymbol: false, showMore: true, refreshInterval: "1800000", waitFetch: "5000", weekIndex: "0", instanceId: "basicCalendar", fontSize: "22px", maxEventLines: 5, firstDayOfWeek: 7, calendarSet: ['family_cal', 'alecwork_cal', 'alec_cal', 'days_off', 'birthdays', 'Recycling', 'Trash'], } }, -
@angeliKITTYx i think the refreshInterval you set is 30 minutes
just for grins , try
3*60*1000as your initial load is under that
-
@sdetweil I changed the Ext3 parameter to refreshInterval: “3601000”, and it still looks the same. Do I need to let it sit for an hour to refresh?
-
@angeliKITTYx I don’t know… I suggested trying shorter (quick) to prove the cals arrived…
-
@sdetweil I’m confused then…i was just using the values you provided. Do I need to go back to my refresh of 1.75min? Do I keep the fetch value at 5000?
-
@angeliKITTYx dang forum… they removed the * I fixed the post
3*60*100 3 minutes, * 60 seconds * 1000 ms -
@sdetweil I put the refresh interval back down to 100500, and the calendar refreshed. The 3rd calendar showed back up, but they’re all displaying at 5AM and going into the following day even though everything is an “all day” event in my Google calendar. It looks the same as the screenshot I shared earlier.
-
@angeliKITTYx sounds like your system timezone is incorrect
everything is based off the timezone -
@sdetweil how do I change the timezone in MM? This issue only came up once I did the fix clipping commands on this thread. And what about all the calendars that aren’t showing?
I also just noticed my weather module stopped working too.
-
@angeliKITTYx timezone, from desktop, click the calendar top right
change timezone under calendari don’t know in ext3 cals, not my module… but I use multi cals with it every day and don’t see this
ext3 is done all in browser
so maybe open the developer window (ctrl-shift-i) and select the console tab
and out a unique part of the module name in the filter field, ext3 for this -
@sdetweil my raspberry pi desktop has the correct timezone, my Google calendars are all set right, and the clock module is showing the right time. Would ext3 have a different time zone set?
-
@angeliKITTYx
i do not knowfor debug purposes
edit config.js and add
,"DEBUG"to the logLevel parms at the top
stop (if using pm2, pm2 stop all)
and MANUALLY start MM like this
cd ~/MagicMirror npm start >somefile.txt 2>&1wait til some time, and then ctrl-c on the command prompt where u did the manual start
edit the config.js back to remove the debug parm
the file will be large with all the calendars being processed
you can’t upload that here, and I would normally ask to email it to me.
I don’t know if email will take that large a file… you can try… my same userid as here at gmailbecause the FULL urls of the calendars are shown in the log, I don’t want that posted in clear text anywhere…
I suggest uploading somewhere and emailing or direct message me the url
I did extensive work on the calendar to fix these problems on this release.
so I am very interested in the problemyou can look thru the file, its just text and you will see the timezone reported as it processes calendar events.
-
-
@sdetweil so I decided to do a clean install of my MM, and the timezone thing fixed itself. However, it’s still not displaying all of my calendars. Two show up immediately, one shows up after the refreshinterval, and the rest don’t show up at all. I tried re-entering all of the private ical URLs, but those didn’t change anything. The log still shows it’s pulling x events from each URL, but they’re not displaying. Did you still want me to email you the logs?
-
@angeliKITTYx no you fixed the event date problem
so another test is to add a position to the default cal module and see if you see the events there
you did npm install in the ext3 module folder right?
he has a sub module that needs to be installed -
@angeliKITTYx and another question. how did you upgrade?
you on pi or windows or?
-
@sdetweil It’s on pi.
I used these instructions, and I also did the “Not Working?” section.
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