MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.25.0 is available! For more information about this release, check out this topic.

    MMM-google-route interacting w/ Modscheduler

    Troubleshooting
    2
    2
    124
    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
      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
        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

        Create a working config
        How to add modules

        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy