MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Hepkat
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    H
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-CalendarExt2 calendar event filter and notifications no longer working

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

      Thanks again!

      posted in Troubleshooting
      H
      Hepkat
    • MMM-CalendarExt2 calendar event filter and notifications no longer working

      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}
      			}
        		}
      		},
      	},
      
      posted in Troubleshooting
      H
      Hepkat
    • 1 / 1