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.

    Auto populate events from MyCalendar to MyCommute?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 3 Posters 1.9k Views 4 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.
    • K Offline
      krouton
      last edited by krouton

      Hi,

      I’m playing around with a dashboard style setup. I’m using MyCalendar and MyCommute (both great modules - thanks J.E.F.F.) and trying to work out how to use MyCalendar’s event broadcast feature to send that information to MyCommute so it can automattically add new ‘commute events’ so I don’t have to go into config.js for one-off events.

      0_1541116725914_Mirror.PNG

      Is this possible to do?

      Thanks in advance.

      Mark.

      1 Reply Last reply Reply Quote 0
      • G Offline
        Groops
        last edited by

        You have a Google Free API?

        K 1 Reply Last reply Reply Quote 0
        • A Offline
          Aries1984 Module Developer
          last edited by Aries1984

          That’s a great idea. I’d roughly propose the following workflow:

          • MyCalendar sends a notification with an array of events with defined addresses in the payload
          • My Commute displays next 1/2/3 events (configurable)
          • in the config you should be able to configure which travel modes you want to have displayed (transport, driving, walking,…). Maybe even with thresholds (walking <2km, transport: >1km, <10km, driving >8km, …)
          1 Reply Last reply Reply Quote 0
          • K Offline
            krouton @Groops
            last edited by

            @groops

            A ‘Google Free API’?

            You mean a free API from Google?

            Then, yes.

            1 Reply Last reply Reply Quote 0
            • K Offline
              krouton
              last edited by krouton

              So it seems that this already exists with this module. Forum thread here.

              However I can’t get it to work. Have configured everything correctly. Have MMM-Notifications showing my calendar is broadcasting events and tested with a couple different ‘trip keys’.

              Anyone else get it working?

              Edit - TrafficCal also seems to break the calendar modules (both default calendar and MMM-MyCalendar).

              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