MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Calendar module events stop displaying before due time/date



  • Hi,

    I export my calendars with recurring events (e.g. school timetable) from NextCloud 18.0.4, to .ICS files, which I then feed to the Calendar module of my MagicMirror.

    The day before events are due, they all show, e.g. a full school day of lessons shows for tomorrow. But when I wake up in the morning and look at the calendar (say, 6am-ish), the first two lessons/periods have already dropped-off the calendar view, and lesson 3 is showing as up next, say, in 4 hours time. I can then see the next day’s first 2 or 3 lessons showing. Throughout the day, as lessons come and go, new lessons for tomorrow correctly show, until in the evening, all of tomorrow’s lessons are showing.

    This happens everyday for all of my school timetable’s first two events (lessons) - these lessons all have different details. These events all show fine in NextCloud (and via all devices that view the calendar by CalDav).

    Every term I update the events by shifting forward by a couple of months all of the recurrent events that make up the school timetable. Each school year, I then change the details of the lessons.

    Is the ‘bug’ something in the exported .ICS file, noting that the other five lessons every day all show correct? OR is this an issue with the Calendar module.

    The MagicMirror is up-to-date, is running only one custom module (Spotify), and is running on an up-to-date build of raspberry pi OS (Buster).

    Any light anyone can shed on this issue would be greatly appreciated.

    Thanks very much.



  • @castletonroad when u look at the calendar on screen, do the events show time (8am) or relative (2 hours). And they line up correctly w expected start time?

    mm uses the system time
    cal should have a timezone value.

    if u edit the ics u should see the setting, does it match what u expect?



  • @sdetweil

    Hi, thanks for replying.

    On the MagicMirror, currently (7pm), the school timetable calendar events are showing with start times and correctly, e.g. ‘Tomorrow at 08.25’.

    Entries in the .ICS file include (e.g. for lesson 2, which is a problem):
    DTSTART;TZID=Australia/Sydney:20200720T092000
    DTEND;TZID=Australia/Sydney:20200720T101500

    …and for lesson 3 (a short one, and not a problem entry):
    DTSTART;TZID=Australia/Sydney:20200722T101500
    DTEND;TZID=Australia/Sydney:20200722T103000

    All seems fine, right?



  • @castletonroad and the pi is set to the same tz/location, correct?



  • @castletonroad what is wrong on cal display for lesson 2

    start July 22, 2020 09:20:00
    end July 22, 2020 10:15:00



  • @sdetweil

    The display on the MM is fine the day before.

    But every morning, lesson 2 (and lesson 1) is no longer showing on the MM.

    Next event showing on the MM is lesson 3, 10.30 to 11.25, even though it’s still only 6am.



  • @sdetweil

    Yes, correct.

    pi@raspberrypi2:~ $ date +"%Z %z"
    AEST +1000
    pi@raspberrypi2:~ $

    As I mentioned, the issue is just with the first two events each day in this timetable.

    I might delete one recurring event and replace it with a brand new one.



  • @castletonroad so, that means to me the pi is set to the wrong timezone, even tho displaying the right numbers for the time.

    what is the location setting under the operating system calendar, upper right, right click,
    locations



  • @sdetweil

    Sorry, I should have said - I’m in Australia, AEST is correct for me.



  • @castletonroad you tz said Australia.

    there have been a number of problems w calendar and recurring events. no fix yet that can see.

    I would try the redo of the event. where do u create it? PC, mobile, web?


Log in to reply