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 5.9k 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.
    • 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
                      • C Offline
                        castletonroad @sdetweil
                        last edited by

                        @sdetweil

                        I created the appointments a couple of years ago in Google, then imported them and have been using them since. I edit them via the NextCloud web interface. I have a script that exports them to .ICS for MM to read.

                        I will recreate a couple (the whole things takes an age as the timetable runs on a two week cycle) and see how that turns out for tomorrow. I’ll report back.

                        (The Calendar module is literally the main reason for my MM!)

                        Thanks for taking the time to help out.

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

                          @sdetweil

                          I created a new event for tomorrow:

                          BEGIN:VEVENT
                          CREATED:20200806T005525Z
                          DTSTAMP:20200806T005659Z
                          LAST-MODIFIED:20200806T005659Z
                          SEQUENCE:3
                          UID:ffae8dff-cd39-4315-977c-762a0b47544c
                          DTSTART;TZID=Australia/Sydney:20200724T082500
                          DTEND;TZID=Australia/Sydney:20200724T092000
                          SUMMARY:NEW P1 - LESSON (ROOM No.)
                          RRULE:FREQ=WEEKLY;COUNT=5;INTERVAL=2;BYDAY=FR
                          LOCATION:XXXX
                          END:VEVENT

                          Look at CREATED:20200806T005525Z. This is 12.55am, right? I created this at about 10.55am, so a 10hr time diff - AEST <> GMT.

                          Is this relevant?

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

                            @castletonroad shouldn’t matter, in my opinion

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              @castletonroad I recommend opening an issue on the MagicMirror GitHub issue page. there is work going on the resolve calendar problems now

                              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

                                Will do.

                                BTW, I created two new recurring events (new lessons 1 and 2) on my iPhone, then edited the recurrence specifics on the NextCloud calendar app web page (as the iPhone is limited in the ‘custom’ options for events it offers). This morning, neither of the new events showed on the Mirror, so same problem.

                                I then created a new NON-recurring event on my iPhone (start at 09.20), and restarted the MM - the event showed.

                                I then used my iPhone to make the event RECURRING, and restarted the MM - the event DOES NOT show.

                                I THEN set the start to be 10.30 (vs. 09.20) - and the recurring event showed on the MM again!

                                10.05 - the recurring event shows.

                                10.00 - the recurring event shows.

                                09.55 - the recurring event DOES NOT show.

                                I then removed the recurrence - the event shows again.

                                So definitely something to do with event recurrence AND timezones. A recurring event starting within my TZ difference from midnight does not show.

                                What do you think?

                                Thanks for your help with this :)

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

                                  @castletonroad add that to the issue. make an ics for both with/without recurrence. add to the issue.

                                  guys are looking for recreatable things to test against.

                                  this is really my fault. I opened an issue last year, as we were have cal problems, but using old code. the team updated to the latest library code, which fixed some problems, but has caused more

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    @sdetweil

                                    Hi, issue created.

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

                                      @castletonroad awesome! thank you

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 1

                                      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
                                      • 1 / 1
                                      • 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