MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

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

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 1 Posters 329 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      Cain
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • C Offline
        Cain
        last edited by Cain

        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**
        1 Reply Last reply Reply Quote -1
        • 1 / 1
        • First post
          Last post
        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