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 Not Displaying Recurring Events

    Scheduled Pinned Locked Moved Solved Troubleshooting
    28 Posts 5 Posters 11.6k Views 5 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 Do not disturb
      sdetweil @oldrocker
      last edited by

      @oldrocker point me to the post you reference…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        oldrocker @sdetweil
        last edited by

        @sdetweil

        Here it is. I’d rather not have a public subscription out there but it is what it is.

        https://forum.magicmirror.builders/topic/17087/recurring-calendar-events-are-off-by-a-day?_=1699724623475

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @oldrocker
          last edited by

          @oldrocker yeh, I added that code already to attempt to fix this. but the rule lib keeps giving back junk. I haven’t found a way to fix this.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          O 1 Reply Last reply Reply Quote 0
          • O Offline
            oldrocker @sdetweil
            last edited by

            @sdetweil ok, then I’m stuck. Thanks for your help!

            1 Reply Last reply Reply Quote 0
            • M Offline
              MMRIZE @oldrocker
              last edited by

              @oldrocker said in Calendar Not Displaying Recurring Events:

              @sdetweil here is some information:

              config: {
                                              broadcastPastEvents: true,
                                              calendars: [
                                                      {
                                                              fetchInterval: 7 * 24 * 60 * 60 * 1000,
                                                              symbol: 'calendar-check',
                                                              broadcastPastEvents: true,
                                                              maximumEntries: 100,
                                                              maximumNumberOfDays: 365,
                                                              url: 'http://XXXXXXXXXXXXXXXXXX/Routine.ics',
                                                              name: 'Routine',
                                                              color: 'yellow',
                                                              auth: {
                                                                user: 'XXXXXXXXXXX',
                                                                pass: 'XXXXXXXXXXX',
                                                                method: 'basic'
                                                              },
                                                      },
              

              event

              BEGIN:VEVENT
              CREATED:20231111T124003Z
              DTSTAMP:20231111T124242Z
              LAST-MODIFIED:20231111T124242Z
              SEQUENCE:3
              UID:02d62d6f-74ff-48c2-aa7d-2682cb7e688c
              DTSTART;VALUE=DATE:20231111
              DTEND;VALUE=DATE:20231112
              STATUS:CONFIRMED
              SUMMARY:Test Event 1
              RECURRENCE-ID;VALUE=DATE:20231111
              END:VEVENT
              
              BEGIN:VEVENT
              CREATED:20231111T124003Z
              DTSTAMP:20231111T124242Z
              LAST-MODIFIED:20231111T124242Z
              SEQUENCE:3
              UID:02d62d6f-74ff-48c2-aa7d-2682cb7e688c
              DTSTART;VALUE=DATE:20231118
              DTEND;VALUE=DATE:20231119
              STATUS:CONFIRMED
              SUMMARY:Test Event 1
              RECURRENCE-ID;VALUE=DATE:20231118
              END:VEVENT
              

              There should be RRULES in the file. Could you find?

              O 1 Reply Last reply Reply Quote 0
              • O Offline
                oldrocker @MMRIZE
                last edited by

                @MMRIZE

                RRULES is not in the file that I could find. I also downloaded the ics directly from my Nextcloud instance and tried a manual static load like BasicUser did found here:

                https://forum.magicmirror.builders/topic/13488/default-calendar-and-nextcloud-caldav

                Effectively, I am cutting out the use of any 3rd party module and the recurrences are the same. The recurrences on Saturdays are correct while my recurrences on Wednesday shift to Thursdays after the first event. The ics loads just like when I pull it directly from the export url; SOME of the recurrences are a day ahead. This appears to be an issue with the default calendar and not the ics or the third party modules because the third party modules mirror what the default calendar sees and the ics file displays correctly in other applications and programs.

                Perhaps I will spend some time looking into learning more about JS this weekend so I can troubleshoot further.

                S 2 Replies Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @oldrocker
                  last edited by

                  @oldrocker its rrule

                  here is an event using it

                  DTSTART;TZID=America/Los_Angeles:20221013T173000
                  DTEND;TZID=America/Los_Angeles:20221013T203000
                  RRULE:FREQ=WEEKLY;BYDAY=TH  
                  EXDATE;TZID=America/Los_Angeles:20230907T173000
                  DTSTAMP:20231106T004837Z
                  UID:11ksg3ucn63ndd1034ht8mf0jr@google.com
                  CREATED:20221012T065054Z
                  LAST-MODIFIED:20230704T014529Z
                  SEQUENCE:3
                  STATUS:CONFIRMED
                  SUMMARY:hucklebucks trivia
                  TRANSP:TRANSPARENT
                  END:VEVENT
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  O 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @oldrocker
                    last edited by

                    @oldrocker said in Calendar Not Displaying Recurring Events:

                    Perhaps I will spend some time looking into learning more about JS this weekend so I can troubleshoot further.

                    see this post

                    https://forum.magicmirror.builders/topic/18148/calendar-shows-incorrect-time-for-a-single-changed-event-in-a-series/4?_=1699723461769

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    O 1 Reply Last reply Reply Quote 0
                    • O Offline
                      oldrocker @sdetweil
                      last edited by

                      @sdetweil

                      When I concatenate the ics, I don’t find any “RULE” using grep. I’ve re-downloaded and it’s simply not there. Perhaps Nextcloud doesn’t generate it that way?

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @oldrocker
                        last edited by

                        @oldrocker if RRULE isn’t there, then there are no repeating events

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        O 1 Reply Last reply Reply Quote 0
                        • O Offline
                          oldrocker @sdetweil
                          last edited by

                          @sdetweil

                          That’s interesting and my issue is really strange still. One series of my recurrences shifts from Wednesday to Thursday after the first one that displays. So, the first occurrence is on Wednesday, the next three are on Thursday. The other series starts on the second week of the month on a Saturday, and the recurrences are also on Saturday and nothing is wrong in that series.

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @oldrocker
                            last edited by

                            @oldrocker some may be corrected my the code I added and some may not, or may be corrected in the wrong direction…

                            read my other post, you’ll see the mess we have on our hands.

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • O Offline
                              oldrocker @sdetweil
                              last edited by

                              @sdetweil there are repeating events, just not on the proper days of the week.

                              I believe you when you say it’s messy. I don’t know JS but I know more about it now over the past three days than I ever thought I would. I’ve never really messed around with calendars and some of this stuff. Much of it is foreign to me.

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @oldrocker
                                last edited by sdetweil

                                @oldrocker I didn’t know anything about how calendar works til 3 or 4 years ago when I decided to fix a bug in this…

                                been a constant battle since then…

                                this one has me stumped… been looking at a reliable solution for nearly a year…
                                garbage in, garbage out

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                O 1 Reply Last reply Reply Quote 0
                                • O Offline
                                  oldrocker @sdetweil
                                  last edited by

                                  @sdetweil

                                  I’m not sure if that’s a challenge or a warning. I guess I’m going to setup a new dev environment.

                                  1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    oldrocker
                                    last edited by

                                    Here is something else. In my Nextcloud calendar, I created a weekly recurring event. Each time I created the event in the first week of November, the module shifted the subsequent events one day forward. If I create the event on the second week, there is no issue that I can see and all the events are on the correct days.

                                    The 1st week starts on Saturday, October 29 and ends on Sunday, November 4.

                                    S 2 Replies Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @oldrocker
                                      last edited by

                                      @oldrocker so much fun

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @oldrocker
                                        last edited by

                                        @oldrocker node-ical has just release a new version (0.17.0) which removes the luxon library which causes all the localdate/time issues…

                                        want to give it a try ? do

                                        cd ~/MagicMirror
                                        npm install node-ical@latest
                                        

                                        then start mm as usual

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

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

                                          @sdetweil Thank you for this information! This solved my problem completely! My calendar was only showing one-time events after the latest update and not showing repeating events. I installed this node-ical update and now it’s back to normal! Thanks again!

                                          S 1 Reply Last reply Reply Quote 1
                                          • S Do not disturb
                                            sdetweil @bk1guy
                                            last edited by

                                            @bk1guy awesome, glad you got it working

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 Reply Last reply Reply Quote 0

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