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 9.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.
    • S Do not disturb
      sdetweil @oldrocker
      last edited by

      @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 Reply Quote 0
      • O Offline
        oldrocker @sdetweil
        last edited by

        @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 Reply Quote 0
        • S Do not disturb
          sdetweil @oldrocker
          last edited by sdetweil

          @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 Reply Quote 0
          • O Offline
            oldrocker @sdetweil
            last edited by sdetweil

            @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 Reply Quote 0
            • S Do not disturb
              sdetweil @oldrocker
              last edited by sdetweil

              @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 Reply Quote 0
              • O Offline
                oldrocker @sdetweil
                last edited by

                @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 Reply Quote 0
                • 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
                        • 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