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

Calendar Events not displaying #20

Open
djshubs opened this issue Aug 25, 2020 · 4 comments
Open

Calendar Events not displaying #20

djshubs opened this issue Aug 25, 2020 · 4 comments

Comments

@djshubs
Copy link

djshubs commented Aug 25, 2020

I’m using Apple’s public iCal to broadcast events synced to my iCloud. However, when I add events with Location, it doesn’t provide me travel time to destination.

{ module: 'MMM-MyCommute', position: 'top_left', header: 'Commute', config: { apiKey: 'hidden', origin: 'hidden', startTime: '04:00', endTime: '22:00', maxCalendarEvents: 3, destinations: [ { destination: 'addr1', label: 'Study', mode: 'walking', color: '#ff1990', hideDays: [0,6] }, { destination: 'Addr2', label: 'Hidden', color: '#fa4848' } ] } },

@ger19wmu
Copy link

I'll add on to this one, I am seeing the same issue with my shared google calendar events, would love to have this feature work, but I don't think there is much I can do on the config.js side.....

{
module: 'MMM-MyCommute',
position: "top_center",
config: {
apiKey: 'private',
origin: 'location',
startTime: '06:45',
endTime: '18:30',
destinations: [
{
destination: 'location',
label: 'name',
mode: 'driving',
color: 'green'
},
{
destination: 'location',
label: 'name',
mode: 'driving',
color: 'yellow'
},
{
destination: 'location',
label: 'name',
mode: 'driving',
color: 'blue'
}
],
maxCalendarEvents: 5,
maxCalendarTime: 604800000
}
},

@yoh33zy
Copy link

yoh33zy commented Dec 10, 2020

I couldn't get my appointment locations from my google calendar either...

{
module: 'MMM-MyCommute',
position: 'top_left',
config: {
apiKey: 'APIKEY',
origin: 'Address1,
startTime: '00:00',
endTime: '23:59',
hideDays: [0,6],

		maxCalendarEvents: 3,
		maxCalendarTime: 24 * 60 * 60 * 1000 , 
		calendarOptions: [{mode: 'driving'}],
	
							
		destinations: [
		  {
			destination: 'address2',
			label: 'Work',
			mode: 'driving',
			avoid: 'tolls'
			
		  },
		  {
			destination: 'address3',
			label: "Condo",
			mode: 'driving'
		  },
		  {
			destination: 'address4',
			label: 'Pub',
			mode: 'walking'
		  }
		  
		],

Please help!!

@qistoph
Copy link
Owner

qistoph commented Feb 23, 2021

If you're having this issue, could you share the locations that are in the calendar module's events?

Running the following script in a JavaScript terminal on your mirror web interface should give the locations:

Object.values(MM.getModules().find(a=>a.name == "calendar").calendarData)[0].map(a=>a.location)

@silvannn
Copy link

Calendar events location not working for me as well.
I seen 2 entries only one time, but after 10min, when update happened, they have disappeared.

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

5 participants