Read the statement by Michael Teeuw here.
Calendar not updating
-
@matt216 also try
cd ~/MagicMirror npm install electron@28.1.1
supposedly it has the fix for ipv6 vs 4
-
@sdetweil Thanks. Done. No change :(
Have you heard of others with this problem? No one else on this thread. I really appreciate your efforts, but don’t worry too much if it’s just me. Part of the fun with self-hosting calendars etc :)
-
@matt216 I have not had others with no updates, but others w missing events
-
I also had the problem with a Google calendar and an iCloud. for me the update to electronic@28.1.1 was the solution, now everything works as with the previous version of MM
-
@nechry thanks for the feedback
-
@sdetweil said in Calendar not updating:
@matt216 I have not had others with no updates, but others w missing events
Hi, I’m pretty new here, so sorry if I mess something up. I think I have the same problem. Installed MM yesterday (so pretty vanilla setup), the only module I added is the MMM-CalendarExt3.
I configured everything as it should be (I hope at least), but for some reason, my calendars are not beeing updated and one is not beeing show at all… I don’t know what to do anymore, maybe you guys have an idea.Here is my error: ```
0|MagicMirror | [09.01.2024 12:28.43.248] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/[MyCalendarNameHere]/basic.ics
TypeError: fetch failed
0|MagicMirror | at Object.fetch (node:internal/deps/undici/undici:11576:11) {
0|MagicMirror | cause: Error: write EPIPE
0|MagicMirror | at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
0|MagicMirror | at handleWriteReq (node:internal/stream_base_commons:58:21)
0|MagicMirror | at writeGeneric (node:internal/stream_base_commons:149:15)
0|MagicMirror | at TLSSocket._writeGeneric (node:net:931:11)
0|MagicMirror | at TLSSocket._write (node:net:943:8)
0|MagicMirror | at writeOrBuffer (node:internal/streams/writable:392:12)
0|MagicMirror | at _write (node:internal/streams/writable:333:10)
0|MagicMirror | at TLSSocket.write (node:internal/streams/writable:337:10)
0|MagicMirror | at write (node:internal/deps/undici/undici:10124:18)
0|MagicMirror | at _resume (node:internal/deps/undici/undici:10037:33)
0|MagicMirror | at resume (node:internal/deps/undici/undici:9938:7)
0|MagicMirror | at [dispatch] (node:internal/deps/undici/undici:9286:11)
0|MagicMirror | at Client.Intercept (node:internal/deps/undici/undici:9017:20)
0|MagicMirror | at Client.dispatch (node:internal/deps/undici/undici:7772:44)
0|MagicMirror | at [dispatch] (node:internal/deps/undici/undici:7991:32)
0|MagicMirror | at Pool.dispatch (node:internal/deps/undici/undici:7772:44) {
0|MagicMirror | errno: -32,
0|MagicMirror | code: ‘EPIPE’,
0|MagicMirror | syscall: ‘write’
0|MagicMirror | }
0|MagicMirror | }Thanks!
-
@mspk I think you have the wrong calendar url , you need the ical format url, not the embed url
mine is likehttps://calendar.google.com/calendar/ical/sdetweil%40gmail.com/private-fhkjsadfhsdflk'sdfk/basic.ics
-
@sdetweil said in Calendar not updating:
I think you have the wrong calendar url , you need the ical format url, not the embed url
mine is likeYou mean the public one? Because for some reason, 3 of the 5 calendars work just fine with the private ICal Format address.
-
@sdetweil I think you are potentially right. For baikal I have followed such advice as here: https://forum.magicmirror.builders/topic/434/caldav/4?_=1704811423495 where it was advised just adding ?export to the end of the cal URL to generate the ics file, but it is not an actual ics link.
I shall work along those lines… -
@matt216 i test others problems by building an ics FILE and using the url
http://localhost:mirror_port/modules/default/calendar/????.ics
so it doesn’t have to be ON a ‘server’… just has to be an ICS format file.
linking to google, the url returns that data when the calendar does a get request
same as for the local file. BUT we depend on the data changing…
the cal module does not know that ‘this’ fetch was or was not different than the last fetch.
we don’t keep a diff… we just get the current data and present it.if it didn’t change then nothing changes