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 calendar event filter and notifications no longer working

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 2 Posters 39 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.
    • H Offline
      Hepkat
      last edited by

      Hello-

      I recently updated to MM 2.35 and spent quite a bit of time troubleshooting issues and finally got all my modules running again.

      I’ve hit a roadblock with the CalendarExt2 module where my filter does not exclude events it should filter. I’ve also found that my notifications for changing scenes no longer changed when going from page to page (MMM-pages).

      I’m not sure if these issues are related, or if there is something I messed up when updating MM.

      Here’s my config for the CalendarExt2 module:

      {
        		module: 'MMM-CalendarExt2',
        		config: {
          		rotateInterval: 0,
      			updateInterval: refresh,
      			deduplicateEventsOn: 
      			[
      				"startDate", "endDate"
      			],
      			calendars : [
      		{	
      		name: "Patriots 10U",
      		url: "${PATRIOTS_CAL_URL}",
      		className: "patriots",
      		scanInterval: refresh,
      		icon: "cil:baseball",	
      		},
      		{
                      name: "Family Calendar",
      		url: "${FAMILY_CAL_URL}",
      		scanInterval: refresh,
      		filter: (event) => {
                          if (event.title.includes("Practice")) {
                              return false
                              }
      			return true
      	  		},
            },
      	  
          	],
          views: [
            {
              name: "MONTH",
      		mode: "week",
      		position: "fullscreen_below",
      		title: "Month Calendar",
      		hideOverflow: false,
      		hideFooter: true,
      		showAttendees: false,
      		weekStart: "0",
      		slotCount: "4",
      		slotMaxHeight: "180px",
      		slotSubTitleFormat: "ddd",
      		slotAltTitleFormat: "MMMM-D",
      		dateFormat: "MM/D",
      		timeFormat: "h:mm a",
      		dateTimeFormat: {
      			sameDay: "[Today] h:mm a",
      			nextDay: "[Tomorrow] h:mm a",
      			nextWeek: "dddd h:mm a",
      			lastDay: "[Yesterday] h:mm a",
      			lastWeek: "[Last] ddd h:mm a",
      			sameElse: "M/D h:mm a"
      		},
            },
      	  {
      		name: "WEEK",
      		mode: "daily",
      		position: "middle_center",
      		type: "row",
      		title: "Family Agenda",
      		hideOverflow: false,
      		hideFooter: true,
      		showAttendees: false,
      		fromNow: "-1",
      		slotCount: "5",
      		slotMaxHeight: "250px",
      		slotSubTitleFormat: "ddd",
      		slotAltTitleFormat: "MMMM-D",
      		dateFormat: "MM/D",
      		timeFormat: "h:mm a",
      		dateTimeFormat: {
      			sameDay: "[Today] h:mm a",
      			nextDay: "[Tomorrow] h:mm a",
      			nextWeek: "dddd h:mm a",
      			lastDay: "[Yesterday] h:mm a",
      			lastWeek: "[Last] ddd h:mm a",
      			sameElse: "M/D h:mm a"
      		},
      	  }
          ],
          scenes: [ 
      	  {
      		name: "Week Calendar",
      		views: ["WEEK"]
      	  },
      	  {
      		name: "Month Calendar",
      		views: ["MONTH"]
      	  },
      	  
          ],
      	notifications: {
      		"PAGE_SELECT": 
      			{
      				exec: "changeSceneById",
      				payload: (payload) => {return payload}
      			}
        		}
      		},
      	},
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Hepkat
        last edited by

        @Hepkat yes. We found and fixed this bug just yesterday.
        You will need to install the develop branch to get it

        See this topic
        https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          Hepkat @sdetweil
          last edited by

          @sdetweil Thanks for the fast response, I checked out the latest develop branch and everything is back to working order.

          Thanks again!

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Hepkat
            last edited by

            @Hepkat awesome. Thx for the feedback

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • H Hepkat has marked this topic as solved
            • H Hepkat has marked this topic as solved

            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