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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Saratoga trends page update with Dew Point display

Discussion of Ken True's web site templates

Moderator: saratogaWX

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

Saratoga trends page update with Dew Point display

Post by saratogaWX »

It all started with a simple request to have the Dew Point trends displayed on the Weather-Display wxtrends.php page. After some discussion there, it was quite feasible to add, so I updated the Weather-Display WD-trends-inc.php and ajaxWDwx.js scripts to do that.

I got to thinking that both Cumulus and Meteobridge provide that data too, so why not do them as well?

So, the 30-Sep-2017 update (using the update tool) will give you updates for:

Base-* ajaxCUwx.js V3.05, ajaxMBwx.js V4.03, ajaxWDwx.js V2.25 to all provide an ajaxdewNoU AJAX variable and fix the Baro trends display to use consistent number of decimal places.

CU-plugin: CU-trends-inc.php V1.10
MB-plugin: MB-trends-inc.php V1.09
WD-plugin: WD-trends-inc.php V1.07

all provide a new DEW POINT column after HUMIDITY, and a note in small font to say
( Note: Only the 'Current' values may be updated in near-realtime, while the other values are current when the page is loaded. The other data was from {date} {time}. Reload this page for updated data.)
Internationalization is supported by adding

Code: Select all

langlookup|Note: Only the 'Current' values may be updated in near-realtime, while the other values are current when the page is loaded.|Note: Only the 'Current' values may be updated in near-realtime, while the other values are current when the page is loaded.|
langlookup|The other data was from |The other data was from |
langlookup|Reload this page for updated data|Reload this page for updated data|
langlookup|DEW POINT|DEW POINT|
to the language-LL.txt file(s) on your site.

Best regards,
Ken
User avatar
PaulMy
Posts: 3777
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: Saratoga trends page update with Dew Point display

Post by PaulMy »

Hi Ken,
I have updated and seems fine http://www.komokaweather.ca/wxtrends.php

However the small print shows:
Trends as of 09/30/17 at 23:55:23

( Note: Only the 'Current' values may be updated in near-realtime, while the other values are current when the page is loaded. The other data was from 31/12/1969 23:55. Reload this page for updated data.)
Is there something I may have done somewhere to show the date as 31/12/1969?

Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
PaulMy
Posts: 3777
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: Saratoga trends page update with Dew Point display

Post by PaulMy »

Hi Ken,
Forget my previous post. I had done a few Refresh and it still showed the 31/12/1969 date. We just changed at midnight a few minutes ago to 10/01/2017 and now that the date shown correct at 10/01/2017. My first check must have been while Cumulus was doing its midnight rollover. ALL GOOD NOW!

Regards,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
saratogaWX
Posts: 1170
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: Saratoga trends page update with Dew Point display

Post by saratogaWX »

Since the update also replaces the ajaxCUwx.js script, be sure to check the settings in there, especially for the realtime.txt location.

I changed the default from /realtime.txt to just realtime.txt to better help those who install in subdirectories :)
User avatar
PaulMy
Posts: 3777
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: Saratoga trends page update with Dew Point display

Post by PaulMy »

Thanks Ken,
I did have to change it to /weather/realtime.txt (which was my settings in the initial ajaxCUwx.js) and now the Current is updating with the Cumulus realtime.txt update and matches my console http://www.komokaweather.ca/wxtrends.php

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
Post Reply