Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Cumulis MX New Template

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: Cumulis MX New Template

Post by philpugh »

Hi griffo42

You seem to have some problems with:---

1/ Dayfile.txt - it is picking up format errors - I would suggest you perform the edits suggested in the logs - there is only a handful quite early in the file.

2/ You seem to have problems with your FTP and SQL connections - the FTP is not establishing a reliable working connection and the MySQL appears not to work. I would suggest that you check your FTP and MySQL credentials.

3/ It can't find some of your Extra Web Files - check they exist or disable them from the Extra Web Files page.

I would get these issues solved and get a 'base level' system working without any errors in the MXdiags log file then we can proceed from there.

To answer your specific question the LastRainTipISO is in the websitedata.json file which is part of the basic web file transfer done by CumulusMX. Also in this file is the (new?) tag LastRainTip which is formatted as "dd-mmm" .

EDIT: Just noticed that the latest web pages use the LastRainTip tag on the 'Now' page - looks better!
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulis MX New Template

Post by mcrossley »

As Phil says, you have lots of issues to sort out!
It's best to configure one item at a time, get it fully working then move on to the next.

The log shows the tip being detected, and the total count incrementing from 506.4 to 506.6 which is reflected in the monthly log entry you posted.

Whether this is counted as a rain event depends on a number of factors.
The first is the rain day threshold, which you have set at the default (-1), that is fine and should detect the 0.2mm.
The next is the tipper size, if you have left that at default (0.2mm for metric units), then that will be OK too. I'd have to check the effect of using an imperial tipper with metric units.

The last rain date is stored in today.ini, if that were overwritten by an older version you may lose the date.
griffo42
Posts: 247
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cumulis MX New Template

Post by griffo42 »

@philpugh

Thanks for getting involved Phil and your input to my problems. I think that I have fixed them all with the possible exception of that below:

I don't understand how to fix a line in the MXDiags file such as this example:
2021-06-03 09:32:49.864 Realtime[13]: Warning, a previous cycle is still trying to connect to FTP server, skip count = 4

All data seems to be uploaded to my server OK.

The zipped attachment is from today. I would appreciate advice, if you could help in this regard, as to anything else that I need to correct.

Thanks
Keith
You do not have the required permissions to view the files attached to this post.
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
griffo42
Posts: 247
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cumulis MX New Template

Post by griffo42 »

@mcrossley
Thanks Mark for your help.
mcrossley wrote: Wed 02 Jun 2021 9:27 am As Phil says, you have lots of issues to sort out!
It's best to configure one item at a time, get it fully working then move on to the next.

The log shows the tip being detected, and the total count incrementing from 506.4 to 506.6 which is reflected in the monthly log entry you posted.

Whether this is counted as a rain event depends on a number of factors.
The first is the rain day threshold, which you have set at the default (-1), that is fine and should detect the 0.2mm.
The next is the tipper size, if you have left that at default (0.2mm for metric units), then that will be OK too. I'd have to check the effect of using an imperial tipper with metric units.

The last rain date is stored in today.ini, if that were overwritten by an older version you may lose the date.
As you can see I have replied separately to Phil and requested some more help.

Rain is measured here in Australia in mm and the increments are at the default you mention. My problem seems to have been caused by "who knows what"!
It has now rained here and all seems to be working as it should.

best wishes

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulis MX New Template

Post by mcrossley »

You still have one error in your dayfile...

Code: Select all

LoadDayFile: Error at line 1561 of data\dayfile.txt : Error at record 39 = "00.01" - Input string was not in a correct format.
Your real time FTP errors are because your have a real time interval of 10 seconds, but it is taking 2 minutes 3 seconds to perform the uploads for each cycle!

You have added ALL your files as real time...

As part of the built-in real time you are uploading...

Code: Select all

public_html/cumx/realtime.txt
public_html/cumx/realtimegauges.txt
Then as Extra files you are uploading...

Code: Select all

public_html/CUtags.php
public_html/realtime.txt
public_html/CUHWS/realtime.txt
public_html/cumx/fire/IDQ10605.xml
public_html/mxtestv2/fire/IDQ10605.xml
public_html/mxtestv2/alldailywinddata.json
public_html/mxtestv2/alldailywinddata.json
public_html/mxtestv2/alldailyraindata.json
public_html/mxtestv2/alldailyhumdata.json
public_html/mxtestv2/alldailypressdata.json
public_html/mxtestv2/alldailytempdata.json
public_html/mxtestv2/realtime-x.txt
public_html/mxtestv2/realtimetags.php
public_html/mxtestv2/CUtags.php
public_html/mxtestv2/records.js
public_html/mxtestv2/tempdata.json
public_html/mxtestv2/graphconfig.json
public_html/mxtestv2/dailyrain.json
public_html/mxtestv2/raindata.json
public_html/mxtestv2/humdata.json
public_html/mxtestv2/wdirdata.json
public_html/mxtestv2/pressdata.json
public_html/mxtestv2/dailytemp.json
public_html/mxtestv2/winddata.json
public_html/mxtestv2/availabledata.json
public_html/cumx/websitedata.json
public_html/mxtestv2/websitedata.json
public_html/mxtestv2/realtimegauges.txt

Your interval upload then uploads... (which takes 1 min 7 secs)

Code: Select all

public_html/cumx/fire/IDQ10605.xml
public_html/cumx/websitedata.json
public_html/cumx/wxnow.txt
public_html/cumx/graphconfig.json
public_html/cumx/availabledata.json
public_html/cumx/tempdata.json
public_html/cumx/pressdata.json
public_html/cumx/winddata.json
public_html/cumx/wdirdata.json
public_html/cumx/humdata.json
public_html/cumx/raindata.json
public_html/cumx/dailyrain.json
public_html/cumx/dailytemp.json
public_html/cumx/solardata.json
public_html/cumx/sunhours.json
public_html/cumx/airquality.json
public_html/cumx/alldailytempdata.json
public_html/cumx/alldailypressdata.json
public_html/cumx/alldailywinddata.json
public_html/cumx/alldailyhumdata.json
public_html/cumx/alldailyraindata.json
public_html/cumx/alldailysolardata.json
public_html/cumx/alldailydegdaydata.json
public_html/cumx/alltempsumdata.json
public_html/cumx/images/moon.png
As note, if you want the same file in multiple folders, just upload it once, and create file links in the other folders to single upload.

The "/*.json" files only need to be done at your 5 min Interval.
The "/all*.json", "graphconfig.json", "availabledata.json" files only need uploading at EOD.

Your CUtags.php should be updated at Interval.
The records.js is the same.
griffo42
Posts: 247
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cumulis MX New Template

Post by griffo42 »

@mcrossley

Boy, have I made a mess of this! Thanks for your advice. I will follow your instructions to fix it up tomorrow. Bed time now for me.

Again many thanks for your advice and I like the dedication and expertise that you bring to and use for all of us. Be encouraged. :clap: :clap: :clap:

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
Post Reply