MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. mvrlogins
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 21
    • Groups 0

    Posts

    Recent Best Controversial
    • MMM-Traffic not hiding itself out of hours

      Hello,

      I’ve got it working fine, except for the part where it is supposed to hide during off hours (hideOffHours config). It doesn’t. It shows with a “–” for the time for the drive outside the start and end hours.

      Config is as follows.

       {
          module: 'MMM-Traffic',
          position: 'bottom_bar',
          classes: 'dimmed medium', 
          config: {
              api_key: 'xxxxxxxxxxxx',
              mode: 'driving',
              origin: 'xxxxxx',
              destination: 'xxxxx',
              route_name: 'Home to  office',
              prependText: 'Current drive time to  office is',
              changeColor: true,
              limitYellow: 5, //Greater than 5% of journey time due to traffic
              limitRed: 20, //Greater than 20% of journey time due to traffic
              interval: 120000, //2 minutes
              showWeekend: false,
              allTime: false,
              startHr: 6,
              endHr: 10,
              hideOffHours: true
          }
      

      Thanks for any help

      posted in Troubleshooting
      M
      mvrlogins
    • 1 / 1