• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

New Default Weather Module.

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 783 Views 3 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.
  • A Offline
    ankonaskiff17
    last edited by ankonaskiff17 Jun 17, 2021, 1:50 PM Jun 17, 2021, 1:15 PM

    I have set up the new weather module for both forecast and current. As of right now I’ve gotten the 5 Day forecast to run but it appears that it won’t populate the data until AFTER the “updateInterval = X” times out then it loads data. As a practical matter there is no need to update a 5 day forecast that fast and I had it set for 60 minutes. So after sitting there with “Loading…” for 60 minutes it then loaded the module data.

    Is there a way to make module make a retrieve as soon as launched then start counting down, rather than after the interval times down to zero then load first batch of data?

    I have initialLoadDisplay = 0 in config file but doesn’t seem to impact initial loading of forecast data.

    S 1 Reply Last reply Jun 17, 2021, 1:57 PM Reply Quote 0
    • S Away
      sdetweil @ankonaskiff17
      last edited by sdetweil Jun 17, 2021, 1:59 PM Jun 17, 2021, 1:57 PM

      @ankonaskiff17 that’s

      initialLoadDelay : 0

      right?

      might want to make it 1000 (minimum milliseconds)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      A 1 Reply Last reply Jun 17, 2021, 8:16 PM Reply Quote 0
      • A Offline
        ankonaskiff17 @sdetweil
        last edited by Jun 17, 2021, 8:16 PM

        @sdetweil I tried that with the default zero but was kind of wondering about that when most of timer type units are in millisecond values larger than effectively “no milliseconds.”
        Just tested and that was the ticket.
        Seems like maybe default should be 1000 and not zero.
        After you set me straight about not editing modules directly I try and minimize duplicating configuration settings that are in module itself.
        Especially in a 5 day (default) forecast probably updating every 2 - 3 hours is overkill but with default load delay of 0 that means your first view of forecast is 2 - 3 hours after starting MM.
        Thanks for getting me straight.

        S 1 Reply Last reply Jun 17, 2021, 8:36 PM Reply Quote 0
        • S Away
          sdetweil @ankonaskiff17
          last edited by Jun 17, 2021, 8:36 PM

          @ankonaskiff17 default of 0 means no override of the initial update interval…

          and it needs to wait a LITTLE bit, due to the code design… so 1000ms is the minimum…
          better than waiting 15 MINUTES!!

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          A 1 Reply Last reply Jun 17, 2021, 9:46 PM Reply Quote 0
          • A Offline
            ankonaskiff17 @sdetweil
            last edited by Jun 17, 2021, 9:46 PM

            @sdetweil That’s all good now. Wrestling with another instance of module but for current weather and it is whipping me.

            B S 2 Replies Last reply Jul 12, 2021, 4:15 AM Reply Quote 0
            • B Offline
              Babuccaneer @ankonaskiff17
              last edited by Jul 12, 2021, 4:15 AM

              @ankonaskiff17 said in New Default Weather Module.:

              @sdetweil That’s all good now. Wrestling with another instance of module but for current weather and it is whipping me.

              I really like this post

              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @ankonaskiff17
                last edited by Jul 12, 2021, 11:29 AM

                @ankonaskiff17 what’s the problem?

                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