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.

    Calendar Location

    Scheduled Pinned Locked Moved Requests
    2 Posts 2 Posters 1.4k Views 2 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.
    • T Offline
      thama
      last edited by

      Hello together,

      i want to add the location to my calendar.

      I managed to change the calendarfetcher.js to expand the “summary” with the location.

      var title = “Event”;
      if (event.summary) {
      title = (typeof event.summary.val !== “undefined”) ? event.summary.val : event.summary + " (" + event.location + “)”;
      } else if(event.description) {
      title = event.description;
      }

      Actually i would like to have the location in a second line under the summary.

      Barbeque with Tom______Tomorrow
      at Home
      Dentist___________________in 2 days
      Panoramastr. 1, 10178 Berlin

      Unfortunatelley my knoledge how the modueles work and the output is created is insufficient.

      Any chance this will make it into the module? Or some input where to start with changing.

      Another Idea would be to combine the Location with MMM-Traffic. E.g.

      • only for the next entry add the travel time behind the location
      • turning yello when time to leave
      • turning red when travel time is longer than time left to the event.

      Thama

      1 Reply Last reply Reply Quote 1
      • pugslyP Offline
        pugsly
        last edited by

        +1 for this idea, not sure how hard it would be to do but I believe its in the .ical file.

        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