Read the statement by Michael Teeuw here.
MMM-CalendarExt cant get the calendar to show
-
@Sean
U think i need to do an update of node?So u wanna hear a fun fact?
On my Mirror itself nothings shows up.
BUT, when i go to the MagicMirror website via browser or the MMM-RemoteControl it is right there!Can anyone explain that?
the config i test it:
{ module: 'MMM-CalendarExt', position: "bottom_bar", config: { system: { show: ['month'], }, views: { month: { position:'bottom_bar', }, }, calendars :[ { url: "https://ics.fixtur.es/v2/eintracht-frankfurt.ics" }, ] } },
-
I just ran an update this morning and I am having the exact problem.
Same error, and it works through a web browser…
Have you found a resolution?
Did updating node help? If so, how do you update it?
Thank you for your help,
Major -
I’m having the same issue for the past few days.
Updated to the latest release of MM today hoping it would solve it somehow but no luck.
-
Quick update. I hacked around some updates to Node, npm etc, but nothing seemed to work.
So I removed the async and the await from the addCalendars function so it looks something like this (file: MMM-CalendarExt.js)
addCalendars: function() { var self = this for (var c in this.CurrentConfigs.calendars) { self.addCalendar(self.CurrentConfigs.getCalConfig(c)) sleep(1000) } },
Seems to work for now. But looking back through github I don’t see that these are recent additions so I don’t know why this started failing now. Hopefully somebody smarter than I will figure it out.
-
Significantly Changes in the new update is the use of electron 1.4.15.
I used it already before the update, but i don’t want to update (cause of the CPU trouble thing…) to check if it is the reason.
but that is the only thing that comes to my mind, since you both got the problem when updating to the newest MM-Version -
I doubt MM has downgraded its node version of electron for some reason.
Unfortunately, ‘async function’ is not working on the lower version of node. I think that is the reason for this issue.
I’ll check and patch this for some time. Sorry, I should do my job first before this. Plz wait for a while. -
@Sean
If I read this right:
Changed
* Calender week is now handled with a variable translation in order to move number language specific. * Reverted the Electron dependency back to 1.4.15 since newer version don’t seem to work on the Raspberry Pi very well.
MM has indeed downgraded…
-
yeah, its all discussed in this thread: https://forum.magicmirror.builders/topic/4684/electron-cpu-usage?page=1
I had the problem, too. CPU Usage above 80%.
When i downgrade to electron 1.4.15 the CPU usage went to nearly 0% !But then i went to the Problem that the CalendarExt Module only shows in an external web browser and not on the MM itself.
Think we have to hope, that Sean will find a solution. :D
(Or the electron Problem is gone…) -
@cruunnerr Did you try the solution I suggested here? https://forum.magicmirror.builders/topic/6047/calendar-module-won-t-show-all-events/4
-
Yeah i saw this and tried it. Works great :) Thank you