Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Not updating every 60s
Moderator: mcrossley
- ConligWX
- Posts: 1630
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Not updating every 60s
Also Richard
Your noaa reports years. from 2012-2015 dont seem to exist. I cannot load year or months from those dates
Your noaa reports years. from 2012-2015 dont seem to exist. I cannot load year or months from those dates
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- PaulMy
- Posts: 3848
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Not updating every 60s
Hi Simon,try updating your setpagedata.js file!!!! your using an old file!
If it is still showing an old file then presume it is a cache issue.
I had updated this morning after I saw Mark's post:
Should I be making a settings change as well?* setpagedata.js v:0.1.0 d:Mar 2021 a:Neil Thomas
* Last modified: 2021/03/22 14:06:42
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- ConligWX
- Posts: 1630
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Not updating every 60s
http://www.komokaweather.com/cumulusmxt ... edata.json is dated "update":"21/03/21 6:30:00 AM", and not updating. is cumulusMX running against this website - http://www.komokaweather.com/cumulusmxtest/ ?PaulMy wrote: ↑Mon 22 Mar 2021 10:43 pmHi Simon,try updating your setpagedata.js file!!!! your using an old file!
If it is still showing an old file then presume it is a cache issue.
I had updated this morning after I saw Mark's post:Should I be making a settings change as well?* setpagedata.js v:0.1.0 d:Mar 2021 a:Neil Thomas
* Last modified: 2021/03/22 14:06:42
Enjoy,
Paul
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- ConligWX
- Posts: 1630
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Not updating every 60s
http://www.komokaweather.com/cumulusmxt ... agedata.js still old file. are you updating the webserver /js/setpagedata.js or the CumulusMX install?
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Not updating every 60s
To see if the data from the JSON is being read every 60s, just <F12> console.
You should get an initial "Data success" message, then it should be repeated every 60s.
You should get an initial "Data success" message, then it should be repeated every 60s.
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 481
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: Not updating every 60s
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
-
- Posts: 481
- Joined: Tue 12 Apr 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Raspbian Bookworm & Debian 12
- Location: Leicester
- Contact:
Re: Not updating every 60s
I might use <meta http-equiv="refresh" content="60"> on index.htm its annoying me now.
Desford Weather (at parents)
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
https://desford-weather.co.uk
Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
- PaulMy
- Posts: 3848
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Not updating every 60s
Hi Simon,
That is my test site for v3.10.3 and I haven't used that since Mark released b3120. Active sites are:
komokaweather.com/cumulusmx
komokaweather.com/cumulusmxwll
@beteljuice An F12 Console shows Data success setpagedata.js:144 on one and setpagedata.js:147 on the other.
Watching them, nothing has changed for about 20 minutes.
A page reload makes them more current, sometimes.
Enjoy,
Paul
That is my test site for v3.10.3 and I haven't used that since Mark released b3120. Active sites are:
komokaweather.com/cumulusmx
komokaweather.com/cumulusmxwll
@beteljuice An F12 Console shows Data success setpagedata.js:144 on one and setpagedata.js:147 on the other.
Watching them, nothing has changed for about 20 minutes.
A page reload makes them more current, sometimes.
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Not updating every 60s
@Mark ...
I don't understand 'promises', but you still have references to getPageData() in the setTimeout(s)
I can't get the promise to re-fire - It says it isn't a function. (should it be a new promise ?)
If I remove the 'promise' and make it the function getPageData(), fired in $(document).ready(function() {
Then everything works as expected ...
Question ...
Isn't it false economy to do a page name check ? - what if they make them .php ??
I don't understand 'promises', but you still have references to getPageData() in the setTimeout(s)
I can't get the promise to re-fire - It says it isn't a function. (should it be a new promise ?)
If I remove the 'promise' and make it the function getPageData(), fired in $(document).ready(function() {
Then everything works as expected ...
Question ...
Isn't it false economy to do a page name check ? - what if they make them .php ??
......................Imagine, what you will KNOW tomorrow !
- ConligWX
- Posts: 1630
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Not updating every 60s
sounds more like a Apache/PHP cache issue.PaulMy wrote: ↑Tue 23 Mar 2021 12:08 am Hi Simon,
That is my test site for v3.10.3 and I haven't used that since Mark released b3120. Active sites are:
komokaweather.com/cumulusmx
komokaweather.com/cumulusmxwll
@beteljuice An F12 Console shows Data success setpagedata.js:144 on one and setpagedata.js:147 on the other.
Watching them, nothing has changed for about 20 minutes.
A page reload makes them more current, sometimes.
Enjoy,
Paul
however whats your interval set at? your websitedata.json hasnt updated in at least 5 minutes on both folders. 08:15 here yet your json file says "update":"23/03/21 4:05:00 AM", so ten minutes have past and no update.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- mcrossley
- Posts: 12763
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Not updating every 60s
That is the old script. The script I posted above (also - https://weather.wilmslowastro.com/test/ ... agedata.js), has been fixed. It extracts getPageData() to a separate function again with parameters that is included in the promise.beteljuice wrote: ↑Tue 23 Mar 2021 2:10 am @Mark ...
I don't understand 'promises', but you still have references to getPageData() in the setTimeout(s)
I could argue that then it is no longer the default web site and buyer beware - fiddle and you fix!beteljuice wrote: ↑Tue 23 Mar 2021 2:10 am Question ...
Isn't it false economy to do a page name check ? - what if they make them .php ??
Richards page is not updating because it does not have a page name. The href for the index page is just "http://desford-weather.co.uk/" so the test for index.htm fails
If you go to Today it does update, and back to Now, then the page href gets populated.
To get around that then the test at line 196 needs to change from...
Code: Select all
if (pageName == 'index.htm' || pageName == 'today.htm') {
Code: Select all
if (pageName == 'index.htm' || pageName == 'today.htm' || pageName == '') {
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Not updating every 60s
Doh ...That is the old script. The script I posted above ...
I saved that in a different place to the one I investigated
the beteljuice is overtired
......................Imagine, what you will KNOW tomorrow !
- PaulMy
- Posts: 3848
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Not updating every 60s
Hi Simon,
I must say the Brian's MXUI template usually shows current updated data.
Enjoy,
Paul
My interval is 5 minutes, and I often check my remote files and that part works great. Then when I go to my page it may display with the most recent update time, but not always, but then won't update until I close it, clear browser cache, and then maybe get a current page again.what's your interval set at? your websitedata.json hasn't updated in at least 5 minutes on both folders. 08:15 here yet your json file says "update":"23/03/21 4:05:00 AM", so ten minutes have past and no update.
I must say the Brian's MXUI template usually shows current updated data.
I really know nothing about Apache and very little about PHP. I contacted my host GoDaddy last week to see how I could turn of PHP caching but didn't get a good answer, just a link How to clear the LiteSpeed cache manully and with a plugin. Haven't figured that out yet...sounds more like a Apache/PHP cache issue.
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- mcrossley
- Posts: 12763
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Not updating every 60s
Paul, your pages are suffering from the same issue as Richard - because the initial link does not have the page filename.
This version will fix that - and be HTML/PHP agnostic (@beteljuice)
This version will fix that - and be HTML/PHP agnostic (@beteljuice)
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2475
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Not updating every 60s
Confirmed - see https://www.hosiene.co.uk/weather-mx-test/