MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Calendar module events stop displaying before due time/date

    Scheduled Pinned Locked Moved Troubleshooting
    18 Posts 2 Posters 3.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      castletonroad
      last edited by castletonroad

      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.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @castletonroad
        last edited by sdetweil

        @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?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • C Offline
          castletonroad
          last edited by

          @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?

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @castletonroad
            last edited by

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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @castletonroad
              last edited by sdetweil

              @castletonroad what is wrong on cal display for lesson 2

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

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                castletonroad @sdetweil
                last edited by

                @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.

                S 1 Reply Last reply Reply Quote 0
                • C Offline
                  castletonroad @sdetweil
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @castletonroad
                    last edited by

                    @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

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      castletonroad @sdetweil
                      last edited by

                      @sdetweil

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

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @castletonroad
                        last edited by

                        @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?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        C 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy