Read the statement by Michael Teeuw here.
Calendar not updating
-
@matt216 also another user having trouble… his url is a shared cal , the other person owns it, but has given the secret url to the spouse for MM cal usage
are any of the cals shared like this?
-
@sdetweil Hi Sam.
A newly created event is showing up in the debug logs, but not on the mirror display:[05.01.2024 13:22.18.330] [DEBUG] Event: {"type":"VEVENT","params":[],"created":"2024-01-05T13:20:05.000Z","end":"2024-01-06T10:00:00.000Z","dtstamp":"2024-01-05T13:20:06.000Z","start":"2024-01-06T09:00:00.000Z","datetype":"date-time","lastmodified":"2024-01-05T13:20:05.000Z","sequence":"0","summary":"test1234567","transparency":"OPAQUE","uid":"60E1B9F2-66C4-46ED-B98E-AD1A36FAB1EF","url":{"params":{"VALUE":"URI"},"val":""},"APPLE-CREATOR-IDENTITY":"com.apple.mobilecal","APPLE-CREATOR-TEAM-IDENTITY":"0000000000"} [05.01.2024 13:22.18.330] [DEBUG] start: Sat Jan 06 2024 09:00:00 GMT+0000 (Greenwich Mean Time) [05.01.2024 13:22.18.331] [DEBUG] end:: Sat Jan 06 2024 10:00:00 GMT+0000 (Greenwich Mean Time) [05.01.2024 13:22.18.331] [DEBUG] duration: 3600000 [05.01.2024 13:22.18.331] [DEBUG] title: test1234567 [05.01.2024 13:22.18.331] [DEBUG] initial tz=Europe/London [05.01.2024 13:22.18.332] [DEBUG] corrected tz=Europe/London [05.01.2024 13:22.18.332] [DEBUG] start date/time=Sat Jan 06 2024 09:00:00 GMT+0000 (Greenwich Mean Time) [05.01.2024 13:22.18.332] [DEBUG] start offset=0 [05.01.2024 13:22.18.333] [DEBUG] start date/time w tz =Sat Jan 06 2024 09:00:00 GMT+0000 (Greenwich Mean Time) [05.01.2024 13:22.18.333] [DEBUG] event date=Sat Jan 06 2024 09:00:00 GMT+0000 (Greenwich Mean Time) [05.01.2024 13:22.18.333] [DEBUG] event offset=0 hour=9 event date=Sat Jan 06 2024 09:00:00 GMT+0000 (Greenwich Mean Time) [05.01.2024 13:22.18.333] [DEBUG] adjustHours=0 [05.01.2024 13:22.18.334] [DEBUG] Processing entry... -
@sdetweil done
-
@sdetweil Not entirely sure what you mean here. This is a calendar that I own. It’s a locally hosted container service. Several devices read/write to it. It is a baikal server. I have seen several forum posts that suggest using the caldav URL adding ?export to the end to generate the ics file.
-
@matt216 ok… looking at the code
-
@matt216 can u show me that event from the ICS file?
does the rest of the debug output say
Calendar-Fetcher: Broadcasting xxx eventswhere xxx is not 0
-
@sdetweil from ics file:
BEGIN:VEVENT CREATED:20240105T132005Z DTEND;TZID=Europe/London:20240106T100000 DTSTAMP:20240105T132006Z DTSTART;TZID=Europe/London:20240106T090000 LAST-MODIFIED:20240105T132005Z SEQUENCE:0 SUMMARY:test1234567 TRANSP:OPAQUE UID:60E1B9F2-66C4-46ED-B98E-AD1A36FAB1EF URL;VALUE=URI: X-APPLE-CREATOR-IDENTITY:com.apple.mobilecal X-APPLE-CREATOR-TEAM-IDENTITY:0000000000 END:VEVENTBroadcasting 1000+ events, yes.
-
@matt216 and it works perfectly here…
could you try in config before the calendars list
broadcastPastEvents: false -
@sdetweil config now:
{ module: "calendar", header: "calendar", position: "top_left", config: { fetchInterval: 120000, timeFormat: 'absolute', maximumEntries: 5, broadcastPastEvents: false, calendars: [ { url: 'https://my.cal.url', auth: { user: 'user', pass: 'pass', method: 'basic' } } ], } },No change. Still not displaying newly created events. :(
-
@matt216 ok, i don’t know… lets get you back to running on the prior release
stop mm, shouldn’t be running as its not helpful
cd ~/MagicMirror git tag -lto see the list of tagged commits,
then
git checkout temp_branch -b tags/v???????where ??? is the number 2.25.0 or whatever u want to go back to
then
rm -rf node_modules npm installplease advise(we can get back to the current v2.26.0 branch too, very easily
-
-
@sdetweil commenting maximumEntries just shows the default 10 entries, but still does not include recently created events that should show within those 10.
Getting a git error (novice here, sorry):
fatal: 'temp_branch' is not a commit and a branch 'tags/v2.24.0' cannot be created from itAlthough this issue existed before I upgraded to 2.26.0…
-
I might have a go at spinning up another calendar server and see if the issue still exists there. This calendar is a newly self-hosted one so it could be an issue there (although the magicmirror is the only device having trouble with it).
Thanks for the help still.
Matt -
@matt216 also try
cd ~/MagicMirror npm install electron@28.1.1supposedly 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
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