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

Rain Yesterday won't flash when AJAX updates!

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Rain Yesterday won't flash when AJAX updates!

Post by William Grimsley »

Hi Ken,

For some reason the Rain Yesterday value doesn't flash like all the other rain values do when the ajax-dashboard.php updates!

Why is this happening?

Thanks

William
User avatar
saratogaWX
Posts: 1185
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: Rain Yesterday won't flash when AJAX updates!

Post by saratogaWX »

William Grimsley wrote:Hi Ken,

For some reason the Rain Yesterday value doesn't flash like all the other rain values do when the ajax-dashboard.php updates!

Why is this happening?

Thanks

William
That is by design .. data from yesterday is not AJAX updated as it is not going to change, and the AJAX updates are for some of the data that is offered on the dashboard (not all dashboard data actually appears in realtime.txt, so that is why some data is updated-- not all data). The reload of the page showing the dashboard is needed to get all the data correctly refreshed for yesterday data -- it's why I usually include a

<meta http-equiv="Refresh" content="300" />

in the <head></head> part of the index.php page so you don't get stale yesterday data on the display.
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: Rain Yesterday won't flash when AJAX updates!

Post by William Grimsley »

saratogaWX wrote:
William Grimsley wrote:Hi Ken,

For some reason the Rain Yesterday value doesn't flash like all the other rain values do when the ajax-dashboard.php updates!

Why is this happening?

Thanks

William
That is by design .. data from yesterday is not AJAX updated as it is not going to change, and the AJAX updates are for some of the data that is offered on the dashboard (not all dashboard data actually appears in realtime.txt, so that is why some data is updated-- not all data). The reload of the page showing the dashboard is needed to get all the data correctly refreshed for yesterday data -- it's why I usually include a

<meta http-equiv="Refresh" content="300" />

in the <head></head> part of the index.php page so you don't get stale yesterday data on the display.
Hi Ken,

Thanks for your reply.

Now, I see the logic in Yesterday not being updated as it never changes! Of course, I should of know beforehand! Yes, I have already put the code

Code: Select all

<meta http-equiv="Refresh" content="300" />
in my top.php so that ALL of my pages update every 5 minutes!

Thanks for you help,

William
Last edited by William Grimsley on Sat 26 Jan 2013 10:30 am, edited 1 time in total.
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: Rain Yesterday won't flash when AJAX updates!

Post by William Grimsley »

I'm just curious...how come all the units on the ajax-dashboard.php flash then? They don't change... :lol:
User avatar
saratogaWX
Posts: 1185
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: Rain Yesterday won't flash when AJAX updates!

Post by saratogaWX »

They might change units if Weather-Display is used along with the alternative ajax-dashboard (only supported by WD) so the AJAX-updated values include the units used.
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: Rain Yesterday won't flash when AJAX updates!

Post by William Grimsley »

Hmm, interesting! :D
Post Reply