Page 2 of 2

Re: Cumulis MX New Template

Posted: Wed 02 Jun 2021 8:35 am
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!

Re: Cumulis MX New Template

Posted: Wed 02 Jun 2021 9:27 am
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.

Re: Cumulis MX New Template

Posted: Thu 03 Jun 2021 2:33 am
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

Re: Cumulis MX New Template

Posted: Thu 03 Jun 2021 2:40 am
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

Re: Cumulis MX New Template

Posted: Thu 03 Jun 2021 10:13 am
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.

Re: Cumulis MX New Template

Posted: Thu 03 Jun 2021 10:42 am
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