MMM-GoogleCalendar icon indicating copy to clipboard operation
MMM-GoogleCalendar copied to clipboard

broadcastPastEvents not working

Open Michael-132 opened this issue 2 years ago • 2 comments

for some reason broadcastPastEvents doesn't want to work for me with the MMM-GoogleCalendar Module. I can see future events fine, and when I revert back to the standard calendar module and use URL instead of CalendarID it shows past events no problem.

current code is this

using MMM-GoogleCalendar ->

//		{
//			module: "calendar",
//			position: "top_left",
//			config: {
//				broadcastEvents: true,
//				broadcastPastEvents: true,
//				maximumNumberOfDays: 32,
//				MaximumEntries: 150,
//				calendars: [
//					{
//					url: "<my code>@group.calendar.google.com/pricate..."
//					}
//				]
//			},
//		},
		{
			module: 'MMM-GoogleCalendar',
			header: "My Calendar",
			position: "top_left",
			config: {
				broadcastEvents: true,
				broadcastPastEvents: true,
				maximumNumberOfDays: 32,
				maxmimumEntries: 150,
				calendars: [
					{
						symbol: "calendar-week",
						calendarID: <my code>@group.calendar.google.com
					},
				],
			}
		},
//		{
//			module: "MMM-CalendarExt3",
//			position: "bottom_bar",
//			title: "",
//			config: {
//				mode: "month",
//				instanceId: "basicCalendar",
//				firstDayOfWeek: 1,
//				}
//		},
		{
		module: "MMM-MonthlyCalendar",
		position: "bottom_bar",
		config: {
			mode: "currentMonth"
			}
		}
	]
};

20240219_145448

Using Calendar ->

		{
			module: "calendar",
			position: "top_left",
			config: {
				broadcastEvents: true,
				broadcastPastEvents: true,
				maximumNumberOfDays: 32,
				MaximumEntries: 150,
				calendars: [
					{
					url: "<my code>@group.calendar.google.com/pricate..."
					}
				]
			},
		},
//		{
//			module: 'MMM-GoogleCalendar',
//			header: "My Calendar",
//			position: "top_left",
//			config: {
//				broadcastEvents: true,
//				broadcastPastEvents: true,
//				maximumNumberOfDays: 32,
//				maxmimumEntries: 150,
//				calendars: [
//					{
//						symbol: "calendar-week",
//						calendarID: <my code>@group.calendar.google.com
//					},
//				],
//			}
//		},
//		{
//			module: "MMM-CalendarExt3",
//			position: "bottom_bar",
//			title: "",
//			config: {
//				mode: "month",
//				instanceId: "basicCalendar",
//				firstDayOfWeek: 1,
//				}
//		},
		{
		module: "MMM-MonthlyCalendar",
		position: "bottom_bar",
		config: {
			mode: "currentMonth"
			}
		}
	]
};

20240219_145342

I have attempted to use this with both MMM-MonthlyCalendar and MMM-CalendarExt3 modules as you can see but screenshots are both based on the code provided in each case. I do see the same issue using MMM-CalendarExt3 as well.

Anyone else had similar issues and resolved it? Can't find anything in the forum about this currently.

Michael-132 avatar Feb 19 '24 15:02 Michael-132

Hi @Michael-132,

I wanted to let you know that I've released a new version of the plugin that should resolve the issue with past events not showing up.

I would appreciate it if you could check if it's working correctly in the latest version. If you still encounter any issues, please let me know so I can look into it further.

Thank you for your help and for using the plugin!

randomBrainstormer avatar Mar 04 '24 08:03 randomBrainstormer

Hi @randomBrainstormer I'm having this issue and just installed the module yesterday, here's my config:

		{
			module: "MMM-GoogleCalendar",
			position: "top_right",
			config: {
				maximumEntries: 40,
				broadcastEvents: true,
				broadcastPastEvents: true,
				calendars: [
					{
						color: "#ffff00",
						symbol: "calendar",
						calendarID: "[email protected]"
					},
					{
						color: "#6197d5",
						symbol: "calendar-days",
						calendarID: "[email protected]"
					},
				]
			}
		},

fixed: I had to add pastDaysCount. for whatever reason, before I started using this module I didn't have to set that value in the default calendar in order to see past events

ajg0001 avatar May 21 '24 00:05 ajg0001