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-MyCommute module shows up a bit random

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 1 Posters 859 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.
    • F Offline
      fribse
      last edited by

      I’m not sure what is going on. I see the mmm-mycommute show the distance sometimes, and other times not.
      To save on API calls I’ve limited the showing of the module to mornings on workdays.

      {
            module: "MMM-MyCommute",
            position: "bottom_right",
            classes: "xsmall",
            config: {
              apiKey: "xxx",
              startTime: "05:00",
              endTime: "12:00",
              hideDays: [0,6],
              origin: "My road 1, 2670 Greve",
              destinations: [
                {
                  destination: "Borgergade 14, 1300 Koebenhavn K",
                  label: "Motorvej",
                  mode: "driving",
                  color: "#82E5AA"
                },
                {
                  destination: "Borgergade 14, 1300 København K",
                  label: "Landevej",
                  mode: "driving",
                  color: "#82E5AA",
                  avoid: "highways"
                }
              ]
            }
          },
      

      Sometimes it shows up, other times it doesn’t, I can figure out the pattern.
      Is it a timezone problem (so it’s not in local time, or is there an error somehow I don’t understand it.

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        fribse @fribse
        last edited by

        @fribse I wonder if this:
        https://forum.magicmirror.builders/topic/14835/calendar-only-all-day-events-showing-moment-timezone-issue
        is the same problem that I see here.
        If I remove all time/day restrictions on MMM-MyCommute then it works, but if I try to limit the time it is active, it shows up on weird hours (I’m CET).

        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