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-google-route interacting w/ Modscheduler

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 2 Posters 593 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.
    • B Offline
      bazerka
      last edited by bazerka

      Does anyone know how to take advantage of MMM-google-route integration with MMM-ModuleScheduler? I have it set up to only refresh in between 8am - 10am, but it doesn’t seem to be following those rules. Instead it just pulls every 10 minutes (the base interval I set in MMM-google-route). Am I missing a link between google-route and ModuleScheduler?

      {
                  module: 'MMM-google-route',
                  position: 'bottom_left',
                  config: {
                      key: 'sdfasdfaw3efadsf', //hidden for privacy
                      height: '400px',
                      width: '400px',
                      refreshPeriod: 10,
                      directionsRequest:{
                          origin: ' California, US', //privacy
                          destination: 'California, US' //privacy
                      }
                  }
              },
              {
              module: 'MMM-ModuleScheduler',
              config: {
                  notification_schedule: [
                      { notification: 'MMM-google-route/refresh', schedule: '* 8-10 * * 1-5' }
                  ]
              }
          }, 
      
      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @bazerka
        last edited by

        @bazerka scheduler only controls when the module is shown. the actual module does not delay refresh while it is hidden

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        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