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 834 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.
    • ankonaskiff17A Offline
      ankonaskiff17
      last edited by ankonaskiff17

      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 Reply Quote 0
      • S Offline
        sdetweil @ankonaskiff17
        last edited by sdetweil

        @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

        ankonaskiff17A 1 Reply Last reply Reply Quote 0
        • ankonaskiff17A Offline
          ankonaskiff17 @sdetweil
          last edited by

          @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 Reply Quote 0
          • S Offline
            sdetweil @ankonaskiff17
            last edited by

            @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

            ankonaskiff17A 1 Reply Last reply Reply Quote 0
            • ankonaskiff17A Offline
              ankonaskiff17 @sdetweil
              last edited by

              @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 Reply Quote 0
              • B Offline
                Babuccaneer @ankonaskiff17
                last edited by

                @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 Offline
                  sdetweil @ankonaskiff17
                  last edited by

                  @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