Read the statement by Michael Teeuw here.
Default Calendar module frequently refreshes
-
@DarrenO-0 as MagicMirror is started by pm2 the command would be
pm2 logs —lines=xxxxTwo dashes in front of lines
Where xxxx is the number of most recent lines of output, default 15You can also examine the files the logs are collected in,
In the ~/.pm2/logs. Folder, notice the . in front of pm2The fact that you see it on other browsers confirms to
Me that this is fetch timing cycle related.
If you look at both displays at once, my guess is the refresh at the same time -
@sdetweil
I restored my MM from an image i took of it from prior to upgrading to Debian 13 and, so far, I am not experiencing the same refresh.
I’ll keep an eye on things over the next few hours and see if the issue re-occurs. -
@DarrenO-0 thx. Id really like to see the logs from both for the event broadcast cycle
There was a big calendar parser change in. 33 and another coming in. 34
-
I just made this github issue to track this issue.
-
@michaelarnauts I replied to it, but there you have a different complaint.
The system design is
Pull the iCal file via the URL
It’s whatever events the source calendar wants to send , we have no control , it’s all textWe convert that to a usable list
And then figure out the repeating events and get a list that could be displayed, expired and not , as of right this secondThen we send that list out to other modules to use
MMM-CalendarExt3 for example, which displays a wall cal view, using the events in view expired or notThen we process the not expired list and display the xx that you wanted
And repeat that whole process for the next fetchInterval
Once every xx minutes or whatever you have it set toFor each URL configured , we do the exact same process, each sending events when they are fetched. One URL processor doesn’t know about the next, they ALL run independently
-
@sdetweil said in Default Calendar module frequently refreshes:
@DarrenO-0 thx. Id really like to see the logs from both for the event broadcast cycle
There was a big calendar parser change in. 33 and another coming in. 34
I’d upgraded to .33 in mid-Oct and had only upgraded Debian from 12 to 13 earlier this month but don’t recall noticing the issue prior to the OS upgrade.
i’ll see how i go with it under Debian 12 over the weekend and probably re-upgrade to Debian 13 early next week to then see if the issue re-presents itself.
Interestingly, the calendar that contains the most events is the one that was listed in the pm2 logs when the host was issue under Debian 13.
Now that the system is back under Debian 12, I’ll recheck the logs to see if the same notification in the pm2 logs is listed.One item i also noted in the pm2 logs was it identified that pm2 was out of date and i need to upgrade.
I’m not 100% sure, but I think my MM is currently on 6.0.6, and 6.0.13 is the latest stable version available.
I did attempt to upgrade pm2 from the instructions at pm2.io using “npm install pm2@latest -g” or “sudo npm install pm2@latest -g” and though it appeared to upgrade, it always returned an error that “-g” was an unknown command or option.
When i then run pm2 --version, it still reported that i was running 6.0.6. -
@DarrenO-0 on the pm2 side there are two parts
the code on the disk
and the part runningto change the part running
you need to executesudo pm2 updatePM2
