Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broadcastPastEvents not working #57

Open
Michael-132 opened this issue Feb 19, 2024 · 2 comments
Open

broadcastPastEvents not working #57

Michael-132 opened this issue Feb 19, 2024 · 2 comments

Comments

@Michael-132
Copy link

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.

@randomBrainstormer
Copy link
Owner

randomBrainstormer commented Mar 4, 2024

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!

@ajg0001
Copy link

ajg0001 commented May 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants