Orv, For me, adding <meta http-equiv="refresh" content="60"> under the
<head> section of index.html.tmpl for the Seasons skin does, indeed refresh
the page every 60 seconds. Not sure why it doesn't for you.
phil
On Wednesday, March 27, 2019 at 3:13:30 PM UTC-4, Orv Beach wrote:
>
> OK, Seasons skins use javascript. In order to make the Seasons page
> refresh every 5 minutes, I had to put this code at the end of seasons.js:
>
> <script>
> <!--
> function timedRefresh(timeoutPeriod) {
> setTimeout("location.reload(true);",timeoutPeriod);
> }
>
> window.onload = timedRefresh(300000);
>
> // -->
> </script>
>
> Orv
>
> On Wednesday, March 27, 2019 at 11:29:30 AM UTC-7, Orv Beach wrote:
>>
>> Nope still not working - still investigating...
>>
>> On Wednesday, March 27, 2019 at 11:24:55 AM UTC-7, Orv Beach wrote:
>>>
>>> I found the issue. This freshly installed version of weewx defaults to
>>> the Seasons skin rather than the Standard skin.
>>>
>>> So in order to refresh the main page every fine minutes the line
>>>
>>> <meta http-equiv="refresh" content="300" >
>>>
>>> had to go in to the file /etc/weewx/skins/Seasons/index.html.tmpl
>>>
>>> instead of the index template for the Standard skin.
>>>
>>> Orv
>>>
>>>
>>> On Sunday, March 24, 2019 at 5:32:21 AM UTC-7, Thomas Keffer wrote:
>>>>
>>>> We'll need more information than this. Please post your log. See the
>>>> wiki *Help!
>>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user>* for
>>>> how to post a good log.
>>>>
>>>> Also, what do you mean by "nor does the page source show that line as
>>>> it used to"?
>>>>
>>>> -tk
>>>>
>>>> On Sat, Mar 23, 2019 at 9:01 PM Orv Beach <[email protected]> wrote:
>>>>
>>>>> With this line in index.html.tmpl:
>>>>>
>>>>> <meta http-equiv="refresh" content="300" >
>>>>>
>>>>> my main weewx page (vers 3.9.1 running on Raspbian Stretch), Standard
>>>>> skin, updated just fine.
>>>>>
>>>>> After migrating to version 3.9.1 running under Debian Stretch, with
>>>>> that same line in /etc/weewx/skins/Standard/index.html.tmpl the main page
>>>>> no longer updates every 300 seconds, nor does the page source show that
>>>>> line as it used to. It's still the Standard skin, but it no longer looks
>>>>> like it did under Raspbian.
>>>>>
>>>>> Any suggestions?
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "weewx-user" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.