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: Hide Duplicate Items

    Scheduled Pinned Locked Moved Requests
    calendarignoreeventsmodule
    4 Posts 2 Posters 1.3k 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.
    • J Offline
      JordanS
      last edited by

      Hi all, I’m new here and I’ll preface this by saying I have no prior knowledge or expereince with programming or MagicMirror specifically. I bought a Raspberry Pi specifically to use with Magic Mirror and I want to learn.

      My question is: Is it possible to hide duplicates of the same item on the Calendar module, such that it only displays the most recent?

      I have some weekly recurring events in my calendar and it fills up my list of upcoming events in the Calendar module very quickly. I don’t want to ignore them all together, I would still like to see the most recent instance of a recurring event, but then ignore any after that.

      Is this possible by modifying the Calendar module, and how complicated would it be? Thank you!

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

        @jordans so tell me more. I have spent the last 9 months working on calendar reading different ics files and schedules.

        the process is collect entries in a list and sort the by start date, then take the first maxEntries and show them

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          JordanS @sdetweil
          last edited by

          @sdetweil Thanks for the reply, Sam. So it would be possible to filter the list by checking if an entry with an identical name already exists, maybe? For instance, I have a weekly recurring reminder of when to put my waste/recycling out…

          if (!RecylcingCollection )
          {
          add to list
          } else
          {
          skip
          }

          Maybe easier if I got a seperate module all together that could just give me a reminder every week on a certain day…

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

            @jordans not possible w default calendar

            but displaying once a week for a weekly is what calendars do… (even tho u may ignore it in the what chart type view)

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