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

MMM-CalendarExt2 filter

Scheduled Pinned Locked Moved Solved Troubleshooting
8 Posts 3 Posters 863 Views 3 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.
  • M Offline
    MarNog
    last edited by Jul 22, 2023, 6:26 PM

    My calendar sometimes displays no events, sometimes displays all events including what supposed to filtered, and sometimes display events all except the filtered events (This is what I would like to accomplish). after a refresh, i never know what it is going to display. Is my filter configuration correct?
    Thanks

    This picture shows all the events. It should filtered the events starting with “OUT”
    AllEventsShowing.jpg

    This picture shows the correct number of events. the “OUT” has been filtered
    EventsFIlteredCorrectly.jpg

    And finally, this one shows no events at all
    NOEventsShowing.jpg

    {
      module: 'MMM-CalendarExt2',
      config: {
        calendars : [
          {
    	name: "CTC Calendar",
            url: "hidden",
    	filter: (event) => {
                 if (event.title.startsWith("OUT")) {
                 	return false
                 	}
    	     return true
    	},
          },
        ],
        views: [
          {
    	name: "CTC Calendar",
    	title: "Computer Technology Center Schedule",
            mode: "daily",
    	slotCount: 1,
    	position: "top_left",
    	timeFormat: "h:mm A",
    	//maxItems: 1000,
    	hideOverflow: false,
          },
    	{
    	//title: "Computer Technology Center Schedule",
            mode: "daily",
    	slotCount: 1,
    	fromNow: 1,
    	position: "top_left",
    	timeFormat: "h:mm A",
    	//maxItems: 500,
          },
        ],
        scenes: [
          {
            name: "DEFAULT",
          },
        ],
      },
    },
    
    B M 2 Replies Last reply Jul 22, 2023, 10:05 PM Reply Quote 0
    • B Offline
      BKeyport Module Developer @MarNog
      last edited by Jul 22, 2023, 10:05 PM

      @MarNog It might not be the filter breaking things - it could be CX2’s calendar engine. CX3Agenda does retrieval through the built in Calendar app and just displays - I’d highly recommend going to that, as it’s fully supported, unlike CX2.

      The "E" in "Javascript" stands for "Easy"

      M 1 Reply Last reply Jul 26, 2023, 6:59 PM Reply Quote 0
      • M Offline
        MMRIZE @MarNog
        last edited by Jul 25, 2023, 7:35 AM

        @MarNog
        Config itself seems nothing wrong. I need more details to examine what happened. Could you send me the whole config and both frontend/backend logs when the symptom occurred?

        M 1 Reply Last reply Jul 27, 2023, 6:10 AM Reply Quote 0
        • M Offline
          MarNog @BKeyport
          last edited by Jul 26, 2023, 6:59 PM

          @BKeyport Is it possible to display an “agenda” style calendar like the first picture using MMM-CalendarEXT3? I have tried some configuration options, but I have not been able to replicate the first screen shot on the first post. Thank you.

          B 1 Reply Last reply Jul 28, 2023, 1:19 AM Reply Quote 0
          • M Offline
            MarNog @MMRIZE
            last edited by Jul 27, 2023, 6:10 AM

            @MMRIZE I am not sure what has happened, but it has been working beautifully for the last two days. I kept the configuration listed on the first post and I have also changed the filter to use the “search” option which also worked flawless. So, everything is working!
            You and BKeyport suggested to move on to CX3. Is it possible to create a calendar “Agenda” style like the ones on the screenshot on the first post? This style works really well for us. Thank you!

            M 1 Reply Last reply Jul 27, 2023, 3:55 PM Reply Quote 0
            • M Offline
              MMRIZE @MarNog
              last edited by Jul 27, 2023, 3:55 PM

              @MarNog
              If you possible, send me the URL of ics to me.
              (eouia0819@gmail.com)

              1 Reply Last reply Reply Quote 0
              • B Offline
                BKeyport Module Developer @MarNog
                last edited by Jul 28, 2023, 1:19 AM

                @MarNog @mmrize made CalExt3Agenda for that very purpose. Most people will want either one or the other, not both - or if they’re like me, run the two modules side by side.

                The "E" in "Javascript" stands for "Easy"

                M 1 Reply Last reply Jul 30, 2023, 7:33 PM Reply Quote 0
                • M Offline
                  MarNog @BKeyport
                  last edited by Jul 30, 2023, 7:33 PM

                  @BKeyport Thanks a lot for pointing it out. I just realized that the third-party module list on the magicmirror.buider is not complete and the forum is an must go place for information and support.
                  I have added MMM-CalendarEXT3Agenda and it is working. Of course it is not perfect, but I have posted a question related on the MMM-CalendarExt3Agenda main topic.
                  Thank you folks very much!

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    2/8
                    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