MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

MMM-google-route not getting the information from my calender



  • Hi,
    I have google route installed and its working when I have a destination set. But it’s not updating with any calendar entries. My API key is working on mmm-mycommute

    my code looks like

    	module: 'MMM-google-route',
                position: 'bottom_left',
                config: {
                    key: 'workingkey',
                    title: 'Next Location',
                    height: '700px',
                    width: '750px',
                    refreshPeriod: '30',
                    listen: "calender",
                    minimumRefreshPeriod: "5",
                    directionsRequest:{
                        origin: 'gold coast',
                        destination: 'Bond University'
    				}
    			}
    		}, 
    

    and my calender is

    			module: "calendar",
    			header: "Cains Calender",
    			position: "top_left",
    			config: {
    				maximumEntries: "5",
    				showLocation: true,
    				coloured: false,
    				coloredSymbolOnly: true,
                                    broadcastEvents: true,
    				calendars: [
    					{
    						symbol: "calendar-check",
    						url: "working calender"			
    								},
    					{
    						url: "https://www.officeholidays.com/ics-clean/australia/queensland",
    						symbol: "toilet-paper"
    					},
    								
    				]
    			}
    	},
    

    there is something said about notifications but i don’t understand.
    any help would be appreciated.
    thank you



  • problem solved I needed to put the broadcast events into the subheading of the calendar i wanted the event broadcasted from.

    and change MMM-Google-Route
    listen : ‘[CALENDAR_EVENTS]’,

    {
    			module: "calendar",
    			header: "CainsCalender",
    			position: "top_left",        
    			config: {
    				maximumEntries: "5",
    				showLocation: true,
    				coloured: true,
    				coloredSymbolOnly: true,
                    
                    tableClass: 'large',
    				calendars: [
    					{
    						symbol: "calendar-check",
    						url: "https://calendar.google.comsexyas/basic.ics",
                            **broadcastEvents: true,**			
    					},
    					{
    						symbol: "toilet-paper",
                            url: "https://www.officeholidays.com/ics-clean/australia/queensland",
    						
    					},
    								
    				]
    			}
    		},**bolded text**

Log in to reply