Read the statement by Michael Teeuw here.
ICS file events not displayed
-
I’ve just set up MM and have it mostly working. My configuration is that I’m pulling calendar events from a CalDAV server via the CalDAV module to host a local ICS file which is fully working based on my manual inspection of the hosted ICS file. The problem is that not all the events in that ICS file are displayed by the default Calendar module or by the CalendarEXT3 module that I’ve installed and configured.
Some of the events not displayed are recurring events, but I’m also not able to get any events from the past (prior to today when I set everything up) to show up. As mentioned above, I have manually inspected the ICS file and know that it’s correctly representing ALL the events from the CalDAV server, so that part of the process appears to be working. I’ve tried updating the node-ical module, but it was already at the latest version (0.20.1).
Does anyone have any suggestions or similar experience?
Thanks.
-
@pappastech can you show the config for the default calendar
Xxx out the url
-
@sdetweil here’s the config…
{ module: "calendar", header: "Header Text", position: "top_left", config: { broadcastPassEvents: true, calendars: [ { url: "http://localhost:8080/CALDAV/XXX.ics", name: "pappascaldav", color: "red", auth: { user: 'icsuser', pass: 'icspass', method: 'basic', } } ] } },
-
@pappastech in the startup messages we put out a message w how many events we are sending out, by url
-
@pappastech you have a typo
-
pastEvents
-
@sdetweil Yes and it says that there’s 28 events being broadcast currently while there are 119 instances of “BEGIN:VEVENT” in the ICS file though many are recurring events. Does the broadcast count represent unique events or would there be a single increment for 10 unique events that are part of a single recurring event?
-
@sdetweil Doh! Well, that fixed the past events not showing up. I looked at that line 20 times and missed that typo; curious that it didn’t show an error in the logs. Still trying to find a solution for the recurring events not showing up.
Thanks.
-
@pappastech we dont put out messages for unexpected properties
if you add
,"DEBUG"
to the logLevel property at the top of config.js
and run MagicMirror like this
npm start >somefile.txt
run til the cal appears
then quit and examine the somefile.txt
you can see the event processing -
@sdetweil I did that earlier and everything looks fine. The recurring events show up in the log and it shows them successfully processing just like the other events that show up on the display. I don’t see any difference between the ones that show up and ones that do not.
My wife likes to add images to event titles but they show up fine on the events that do display. Is there any limitation with respect to that? There’s no difference that I see otherwise.