• 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
  1. Home
  2. nicmoly
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
N
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 0
  • Posts 1
  • Groups 0

nicmoly

@nicmoly

0
Reputation
1
Profile views
1
Posts
0
Followers
0
Following
Joined Mar 15, 2024, 1:21 AM
Last Online Apr 3, 2024, 1:49 AM

nicmoly Unfollow Follow

Latest posts made by nicmoly

  • RE: MMM-CalendarExt3

    @MMRIZE Hi Im also having the exact same issue as @Lilleberg , I have however seen glimpses of this working as intended but it seems to be on a whim, either it restarts and works and then not again untill a further reboot or it just wont. I find it weird that using MMM-CalendarExt3Journal works perfect every time with similar settings. Any ideas on what may be going on? Weird thing is leaving the MMM running all the sudden it works like 20-30min later, so im wondering if theres some weirdness with how the data comes in from the GoogleCalendar module
    Heres my config for refrence:

    {
        		module: 'MMM-GoogleCalendar',
       			header: "My Google Private Cal",
      			position: "upper_third",
    			hiddenOnStartup: true,
     			config: {
    				broadcastEvents: true,
    				broadcastPastEvents: true,
    				calendars: [
    						{
    							symbol: "calendar-week",
    							calendarID: "***",
    							name: "1_cal", // <= RECOMMENDED to assign name
    							color: "yellow" // <= RECOMMENDED to assign color
    						},
    						{
    							symbol: "calendar-week",
    							calendarID: "***",
    							name: "2_cal", // <= RECOMMENDED to assign name
    							color: "red" // <= RECOMMENDED to assign color
    						},
    						{
    							symbol: "calendar-week",
    							calendarID: "en.canadian#holiday@group.v.calendar.google.com",
    							name: "holiday_cal", // <= RECOMMENDED to assign name
    							color: "green" // <= RECOMMENDED to assign color
    						},
    						
    				],
    			}
    		},
    		{
      			module: "MMM-CalendarExt3",
      			position: "lower_third",
    			title: "Family Calendar",
      			config: {
    				mode: "month",
    				instanceID: "I-calendar-month",
    				maxEventLines: 5,
    				firstDayOfWeek: 1,
    				preProcessor: (e) => {
    					if (e.start?.dateTime) {
    				  		e.startDate = new Date(e.start.dateTime).valueOf()
    					} else if (e.start?.date) {
    				  		e.startDate = new Date(`${e.start.date}T00:00:00`).valueOf()
    					}
    
    					if (e.end?.dateTime) {
    				  		e.endDate = new Date(e.end.dateTime).valueOf()
    					} else if (e.end?.date) {
    				  		e.endDate = new Date(`${e.end.date}T00:00:00`).valueOf()
    					}
    
    					e.title = e.summary
    					e.fullDayEvent = (e.start?.date) ? true : false
    					return e
    				},
      			}
    		},
    //		{
    //  			module: "MMM-CalendarExt3Journal",
    //  			position: "bottom_bar",
    //  			config: {
    //				height: '50vh',
    //   			 	width: '100%',
    //				//locale: 'en-GB',
    //				staticWeek: true,
    //				staticTime: true,
    //				hourLength: 14,
    //				beginHour:  8,
    //				preProcessor: (e) => {
    //					if (e.start?.dateTime) {
    //				  		e.startDate = new Date(e.start.dateTime).valueOf()
    //					} else if (e.start?.date) {
    //				  		e.startDate = new Date(`${e.start.date}T00:00:00`).valueOf()
    //					}
    //
    //					if (e.end?.dateTime) {
    //				  		e.endDate = new Date(e.end.dateTime).valueOf()
    //					} else if (e.end?.date) {
    //				  		e.endDate = new Date(`${e.end.date}T00:00:00`).valueOf()
    //					}
    //
    //					e.title = e.summary
    //					e.fullDayEvent = (e.start?.date) ? true : false
    //					return e
    //				}
    //  			}
    //		},
    
    posted in Utilities
    N
    nicmoly
    Mar 15, 2024, 1:37 AM
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