Read the statement by Michael Teeuw here.
New Default Weather Module.
-
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.
-
-
@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. -
@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!! -
@sdetweil That’s all good now. Wrestling with another instance of module but for current weather and it is whipping me.
-
@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
-
@ankonaskiff17 what’s the problem?