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

AJAX Humidity Problem

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:

AJAX Humidity Problem

Post by William Grimsley »

Hi Ken,

For some reason the AJAX Humidity unit "%" doesn't flash like all the other units when the ajax-dashboard.php updates?

Why is this happening?

Thanks

Will
User avatar
saratogaWX
Posts: 1188
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: AJAX Humidity Problem

Post by saratogaWX »

Will Grimsley wrote:Hi Ken,

For some reason the AJAX Humidity unit "%" doesn't flash like all the other units when the ajax-dashboard.php updates?

Why is this happening?

Thanks

Will
Two reasons,
1) the % is outside the <span class="ajax" id="ajaxhumidity"> ... </span> and only things inside the span are replaced.
2) the AJAX update for ajaxhumidity doesn't include the units (%).

The other weather variables include the units because they are selectable based on settings in the ajaxCUwx.js script -- Humidity is always in % irrespective of other units choices.

It's not a bug, it's a feature.
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: AJAX Humidity Problem

Post by William Grimsley »

Hi Ken,

You haven't told me how to fix this...

Do I add something in the ajaxCUwx.js file?

Thanks for you help...

Will
User avatar
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: AJAX Humidity Problem

Post by beteljuice »

Leave it alone !

The figure will 'flash', if you change the script then any future updates will simply revert it back.
Image
......................Imagine, what you will KNOW tomorrow !
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: AJAX Humidity Problem

Post by William Grimsley »

I have...

I just can't understand why the "%" does not flash...
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: AJAX Humidity Problem

Post by William Grimsley »

Hi guys,

Ok, I've just been speaking to Steve.

It had to make some changes in the realtime.txt file.

I simply created a .txt file and named it "realtime.txt". Then, I put in all the realtime.txt tags and added a % after the tag <#hum>. Then, I used the "Files" tab in the Internet Settings to make Cumulus process, Realtime and FTP the file.

Then, after all that...it worked! :D

Thanks

Will
User avatar
saratogaWX
Posts: 1188
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: AJAX Humidity Problem

Post by saratogaWX »

Will Grimsley wrote:I have...

I just can't understand why the "%" does not flash...
Read (and understand) my first reply -- it has all the details of why the % unit doesn't 'flash'.

Read (and understand) BJ's comment - you can choose to change the behavior by altering both ajax-dashboard.php and ajaxCUwx.js, and afterwards, providing your own support for those mods as future releases of the two scripts occur.
Post Reply