Force auto-update of web page?

68 views
Skip to first unread message

Timothy Buchanan

unread,
Oct 24, 2019, 12:47:24 PM10/24/19
to weewx-user
Now having a working weewx website (thanks to much help here), I am wondering if there is an easy way to force the loaded web page to update whenever weewx runs a report. I am using nginx server.

Andrew Milner

unread,
Oct 24, 2019, 1:00:13 PM10/24/19
to weewx-user
google for auto update html page and then change the html templates accordingly.  Autoupdating is not really a weewx issue, weewx creates the new pages every report cycle after that it is up to the browser and the server.

K Weaver

unread,
Oct 24, 2019, 1:11:35 PM10/24/19
to weewx...@googlegroups.com
I have been using ftp every 6 mins


On Thu, Oct 24, 2019, 12:47 PM Timothy Buchanan <timothye...@gmail.com> wrote:
Now having a working weewx website (thanks to much help here), I am wondering if there is an easy way to force the loaded web page to update whenever weewx runs a report. I am using nginx server.

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a3870dbd-1de8-4573-b186-edc58b0986f7%40googlegroups.com.

Les Niles

unread,
Oct 24, 2019, 2:33:49 PM10/24/19
to weewx-user
There’s a refresh tag that can be added to the html.  As Andrew said, google for it to find the correct syntax.

Or, use one of the AJAXy skins that does live weather feed — both MesoWX and Belchertown have worked well for me. Find them at https://github.com/weewx/weewx/wiki#skins. This is even better than refreshing the page because the data updates in real time, which is particularly interesting for winds.  

  -Les



On 24 Oct 2019, at 9:47, Timothy Buchanan <timothye...@gmail.com> wrote:

Now having a working weewx website (thanks to much help here), I am wondering if there is an easy way to force the loaded web page to update whenever weewx runs a report. I am using nginx server.

Sean Jahnig

unread,
Oct 24, 2019, 3:14:31 PM10/24/19
to weewx...@googlegroups.com
I used the below in the <head> tag of the html to force the browser to refresh every 2 minutes:

 <meta http-equiv="refresh" content="120">




Reply all
Reply to author
Forward
0 new messages