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.

    Google calendar loading, but not updating

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 3 Posters 1.1k Views 3 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.
    • J Offline
      jimmy_382837
      last edited by

      I spent the last couple weeks setting up my MM and everything is going well, but I noticed recently that my google calendar has stopped updating.

      When I restart MM or change the config.js file, it seems to fetch the calendar and everything loads properly. But as I make changes on the google calendar itself, the changes never seem to get pushed to the MM.

      Again, if I restart the MM or change the config.js, it seems to force a manual refresh of the calendar and everything looks up to date. But, when I leave it run, an automatic refresh never seems to happen.

      The section of my config.js is below. I made the fetch interval 30 seconds for testing purposes, but usually have it at the default of 5 min.

      Any thoughts?

      		{
      			module: "calendar",
      			position: "top_left",
      			config: {
      				calendars: [
      
      					{
      						symbol: "calendar-check",
      						fetchInterval: 30000,
      						url: "https://calendar.google.com/calendar/ical/<xxxxxx>/basic.ics",
      						name: "joint_calendar"
      					},
      					
      				{
      						symbol: "calendar-check",
      						fetchInterval: 30000,
      						url: "https://calendar.google.com/calendar/ical/<xxxxxx>/basic.ics",
      						name: "jimmy_calendar"
      					},
      	
      					
      				]
      			}
      		},
      
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @jimmy_382837
        last edited by

        @jimmy_382837 the fetchInterval setting is for all calendars, not each. so the default is 7 days now cause we were pounding on calendarlabs annual calendar every 30 minutes.

        so move the fetchInterval setting to right after the config:{ line in the module settings

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jimmy_382837 @sdetweil
          last edited by

          @sdetweil thanks - that seemed to have worked and makes sense!

          1 Reply Last reply Reply Quote 0
          • 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