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

Wind Gust

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
WoodburyMan
Posts: 166
Joined: Sun 04 Sep 2011 2:02 am
Weather Station: Ecowitt GW1000
Operating System: Windows 10 20H2
Location: Woodbury, Connecticut, U.S.A.
Contact:

Wind Gust

Post by WoodburyMan »

Unsure if this is a CumuluxMX issue, or a Saratoga Template issue.
On my main page, under "Gust Month:" it displays. 23.4 mph December 5. The speed, and day are correct, but the month is wrong. It should read January. (The correct gust for this month was January 5th at 23.4mph)
http://www.woodburyweather.com/wxindex.php

However, on my Trends page, it does display correctly under Records and status.
http://www.woodburyweather.com/wxtrends.php

Figure I would post it here first before the Saratoga thread.

This us running 3008 on my RasberryPi.

*EDIT*
On Cumulus' own "Records" page it is displayed correctly as well.
Wind
High gust 23.4 mph Monday, January 5, 2015 1:58 PM
High wind speed 11.4 mph Monday, January 5, 2015 2:39 PM
High daily windrun 121.4 miles Monday, January 5, 2015
Woodbury, CT Weather Ecowitt GW1100, Solar, Wind, Rain, Temp, Soil, Lightning
Southington, CT Weather Ecowitt GW2000 Wittboy Solar, Wind, Rain, Temp, Soil, Lightning, CO2/PM2.5/PM10

Running CumuluxMX 3.24.1 b3234 both sites on Windows 11 22H2
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Wind Gust

Post by steve »

I don't know how the Saratoga templates work, so I'd need to know where it gets that date from.
Steve
WoodburyMan
Posts: 166
Joined: Sun 04 Sep 2011 2:02 am
Weather Station: Ecowitt GW1000
Operating System: Windows 10 20H2
Location: Woodbury, Connecticut, U.S.A.
Contact:

Re: Wind Gust

Post by WoodburyMan »

I'm not sure where it's getting the data from.

CU-Tags.txt uploads to CUtags.php, that has the correct data. It uses this to load initial data on the page.
There is no high wind gust for the month in realtime.txt, it uses that to refresh via JavaScript.

As far as I know it doesn't use data from anywhere else.

I'll check in the Saratoga thread...
Woodbury, CT Weather Ecowitt GW1100, Solar, Wind, Rain, Temp, Soil, Lightning
Southington, CT Weather Ecowitt GW2000 Wittboy Solar, Wind, Rain, Temp, Soil, Lightning, CO2/PM2.5/PM10

Running CumuluxMX 3.24.1 b3234 both sites on Windows 11 22H2
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Wind Gust

Post by steve »

Perhaps MX is giving the date in a different format by default, which is confusing the code, if it parses it rather than using it directly? If that's the case, I should change it, rather than Ken having to change his code.
Steve
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Wind Gust

Post by BCJKiwi »

In Saratoga templates, CU-Tags gets converted into 'WD' names for consistent use. This is done by another process on the webserver - CU-defs.php. This also does a whole lot of other manipulation and creates various 'WD' style formatted variables.
Have attached my current CU-defs for you to look at. The
$varname = $WX['varname'];
is read from the array created by CUTags when it hits the webserver, so for your purposes you could consider it to be
$varname = <#varname>;
Have also attached my existing CUtags.php file so you can see both sides of the process.
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Wind Gust

Post by steve »

It seems that the problem is that the <#date> web tag is also giving a time - I'll fix that.
Steve
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Wind Gust

Post by BCJKiwi »

There is an extra line to the menu at the bottom of this http://silveracorn.co.nz/cumulusmx/ page which gives access to tables of the current output of realtime and tags.

I know you have direct access to this but it may be of use to others as well.

This site is a Work in progress so not yet finished but getting there.
WoodburyMan
Posts: 166
Joined: Sun 04 Sep 2011 2:02 am
Weather Station: Ecowitt GW1000
Operating System: Windows 10 20H2
Location: Woodbury, Connecticut, U.S.A.
Contact:

Re: Wind Gust

Post by WoodburyMan »

steve wrote:It seems that the problem is that the <#date> web tag is also giving a time - I'll fix that.
Thanks Steve!

Yea Ken explained it all out here https://cumulus.hosiene.co.uk/viewtopic.php?f=25&t=13097 I'm guessing that's where you got your conclusion from :)
Woodbury, CT Weather Ecowitt GW1100, Solar, Wind, Rain, Temp, Soil, Lightning
Southington, CT Weather Ecowitt GW2000 Wittboy Solar, Wind, Rain, Temp, Soil, Lightning, CO2/PM2.5/PM10

Running CumuluxMX 3.24.1 b3234 both sites on Windows 11 22H2
swyman18
Posts: 56
Joined: Fri 24 Apr 2009 5:27 am
Weather Station: Davis Vantage Pro2
Operating System: Ubuntu Server 14.04
Location: Honoka'a, HI

Re: Wind Gust

Post by swyman18 »

Confirmed this is fixed in build 3009.
WoodburyMan
Posts: 166
Joined: Sun 04 Sep 2011 2:02 am
Weather Station: Ecowitt GW1000
Operating System: Windows 10 20H2
Location: Woodbury, Connecticut, U.S.A.
Contact:

Re: Wind Gust

Post by WoodburyMan »

Confirmed fixed in 3009. Thanks!!
Woodbury, CT Weather Ecowitt GW1100, Solar, Wind, Rain, Temp, Soil, Lightning
Southington, CT Weather Ecowitt GW2000 Wittboy Solar, Wind, Rain, Temp, Soil, Lightning, CO2/PM2.5/PM10

Running CumuluxMX 3.24.1 b3234 both sites on Windows 11 22H2
Locked