• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 6.1k 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.
  • O Offline
    oldrocker
    last edited by Nov 11, 2023, 2:54 PM

    Hello, I’m new and I’ve been pulling my hair out for days trying to get the default calendar to display recurring events. The .ics is verified to contain recurring events but the calendar will only display the first event of the set and no more.

    This is a critical function for me as I intend to use this to display recurring family activities and will heavily rely upon it. I have searched the Internet and cannot fine a solution but have seen other complaints about it here and there.

    Is MM capable of displaying these events?

    S 1 Reply Last reply Nov 11, 2023, 2:57 PM Reply Quote 0
    • S Offline
      sdetweil @oldrocker
      last edited by Nov 26, 2023, 3:21 PM

      @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 Feb 16, 2024, 12:18 AM Reply Quote 0
      • S Offline
        sdetweil @oldrocker
        last edited by Nov 11, 2023, 2:57 PM

        @oldrocker said in Calendar Not Displaying Recurring Events:

        Is MM capable of displaying these events?

        sure, as long as they are in the time and number of events limit…

        the default number of events is 10 events. (maximumEntries)

        https://docs.magicmirror.builders/modules/calendar.html#configuration-options

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        O 1 Reply Last reply Nov 11, 2023, 3:02 PM Reply Quote 0
        • O Offline
          oldrocker @sdetweil
          last edited by Nov 11, 2023, 3:02 PM

          @sdetweil Thanks for the reply.

          I have the maximumEntries: 100 but only the initial event displays and does not recur.

          Any other ideas?

          S 1 Reply Last reply Nov 11, 2023, 3:32 PM Reply Quote 0
          • S Offline
            sdetweil @oldrocker
            last edited by sdetweil Nov 11, 2023, 3:38 PM Nov 11, 2023, 3:32 PM

            @oldrocker can you show me the calendar config from config.js. just xxx out the url

            and can you show me the event from the ICS file

            to get the ICS file, open a terminal window and do

            curl -sL  the_url > somefile.txt
            

            the edit the somefile.txt and locate the event, and post it here
            change any text you are not willing to share

            BEGIN:VEVENT
            .
            .
            .
            END:VEVENT
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            O 1 Reply Last reply Nov 11, 2023, 3:44 PM Reply Quote 0
            • O Offline
              oldrocker @sdetweil
              last edited by sdetweil Nov 11, 2023, 4:36 PM Nov 11, 2023, 3:44 PM

              @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
              
              S M 2 Replies Last reply Nov 11, 2023, 4:39 PM Reply Quote 0
              • S Offline
                sdetweil @oldrocker
                last edited by sdetweil Nov 11, 2023, 4:42 PM Nov 11, 2023, 4:39 PM

                @oldrocker said in Calendar Not Displaying Recurring Events:

                broadcastPastEvents: true,
                maximumEntries: 100,
                maximumNumberOfDays: 365,

                these parms are not calendar specific, they need to be above the calendars:[] list
                and the first/last are the same as their default value

                in the config options doc,

                the first section applies to ALL calendars

                the later section applies to each calendar entry. { url:…}

                also

                the master event with the start:/dtend is not present in the list you showed

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                O 1 Reply Last reply Nov 11, 2023, 4:58 PM Reply Quote 0
                • O Offline
                  oldrocker @sdetweil
                  last edited by Nov 11, 2023, 4:58 PM

                  @sdetweil Sorry, I’ve made a mess out of my config file the past three days figuring this out. I used the CalDav 3rd party module to create ics file, so if it’s not correct, I suppose I should download the ics directly from my calendar to troubleshoot. Perhaps the problem is in CalDav and I’m asking the questions in the wrong forum.

                  For a work-around, I can use the public subscription to the calendar just fine but the recurrences are shifted over one day like in a previous post in this forum you participated in. I looked at the calendarutils.js you mention in that posting for modification but I don’t see the lines that should be modified. I would rather use the ics method but will use this export method if I can get the events to be in the correct day. Can you help me with that?

                  S 1 Reply Last reply Nov 11, 2023, 5:23 PM Reply Quote 0
                  • S Offline
                    sdetweil @oldrocker
                    last edited by Nov 11, 2023, 5:23 PM

                    @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 Nov 11, 2023, 5:49 PM Reply Quote 0
                    • O Offline
                      oldrocker @sdetweil
                      last edited by Nov 11, 2023, 5:49 PM

                      @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 Nov 11, 2023, 6:08 PM Reply Quote 0
                      • S Offline
                        sdetweil @oldrocker
                        last edited by Nov 11, 2023, 6:08 PM

                        @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 Nov 11, 2023, 6:16 PM Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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