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

Issue with MX Graphs

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
Big Daddy
Posts: 265
Joined: Tue 10 Sep 2013 8:40 pm
Weather Station: Ecowitt GW1003 (GW1000)
Operating System: Raspbian 10 (Buster) / Mono 6.12
Location: Freiston, Lincolnshire, UK
Contact:

Issue with MX Graphs

Post by Big Daddy »

Hi All,
We had a power cut at the weekend and since then the "daily" graphs for rain and temperature have been displaying incorrectly showing a 100 year span. Everything else seems to have survived. This has obviously been caused by the incorrect shutdown of my Raspberry Pi so I am just wondering if anybody has any ided how to sort it out.
rain.png
.

Any help appreciated.

Andy
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Issue with MX Graphs

Post by steve »

Looks like some kind of corruption in dayfile.txt - the diags file may have some relevant error messages. Stop MX and open the file in a good text editor and look for anything obviously unusual. Also check that the date formats are all correct.
Steve
Big Daddy
Posts: 265
Joined: Tue 10 Sep 2013 8:40 pm
Weather Station: Ecowitt GW1003 (GW1000)
Operating System: Raspbian 10 (Buster) / Mono 6.12
Location: Freiston, Lincolnshire, UK
Contact:

Re: Issue with MX Graphs

Post by Big Daddy »

Hi Steve,
Many thanks for the quick response and the pointers.

In the dayfile I found entries (in the following order) for 30/6/18, 1/7/18, 31/12/99, 31/12/99, 31/12/99, 2/7/18, 3/7/18)

Also there is an MXdiag file created with this date - 20000101-001741 that contains this.
2000-01-01 00:17:45.399 Start Timers
2000-01-01 00:17:45.399 Starting 1-minute timer
2000-01-01 00:17:45.401 Attempting realtime FTP connect
2000-01-01 00:17:46.121 Starting Realtime timer, interval = 60 seconds
2018-07-02 18:11:41.318 Hour changed:18
2018-07-02 18:11:41.318 Calculating sunrise and sunset times
2018-07-02 18:11:41.319 Sunrise: 04:39:01

So I expect this is what you were referring to.

Question now is how do I correct it. My thoughts were either:

1) Remove the offending 31/12/99 dates from the dayfile

or

2) I backup my data at 3am every Monday, so load all, or some, of the data files back and let them re-read from the station.

Advice on correction would be helpful please.

I need to look elsewhere as well as the Pi has a RTC fitted so unless this was pure file corruption due to the abnormal shutdown or possibly a time issue I dont know.

Thanks
Andy
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Issue with MX Graphs

Post by steve »

Yes, looks like your clock went screwy. I can't really advise on which of the two approaches would be best, you could look at the lines with valid dates and assess whether they correctly represent those days, otherwise use your backup (or one the Cumulus backups, which are intended for this purpose) to reload the data from the end of June to date. Note that this data will typically not be as good as 'live' data.
Steve
Big Daddy
Posts: 265
Joined: Tue 10 Sep 2013 8:40 pm
Weather Station: Ecowitt GW1003 (GW1000)
Operating System: Raspbian 10 (Buster) / Mono 6.12
Location: Freiston, Lincolnshire, UK
Contact:

Re: Issue with MX Graphs

Post by Big Daddy »

Thanks Steve,

Took option 1 an removed the lines out of dayfile.txt. Graphs back to normal and all looking good.

Now to work on "did I install the RTC properly and is it working "issue.

Appreciate the help as always.

Andy
Locked