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

Annual and Monthly Rainfall not displaying correct values

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

Post Reply
User avatar
whitling2k
Posts: 45
Joined: Thu 22 Jul 2021 8:03 pm
Weather Station: Ecowitt GW1103
Operating System: Raspberry PiOS
Contact:

Annual and Monthly Rainfall not displaying correct values

Post by whitling2k »

Could anyone help me understand why my annual and monthly rainfall totals are not displaying correctly, and how I may go around fixing the issue?

It was working fine until Jan 2022 rollover, and seemed to be working fine until the last few days - although truth be told, I may have missed it if it stopped working over the last two days.

I have been starting and stopping CumulusMX a bit today to make some other tweaks, but it was wrong before that. I only noticed that the wrong value was being displayed this evening. I doubt it's a result of restarting CMX, but it *may*(?) correct itself during the midnight rollover?

As you can see from the screenshots, the current rain counter, start of day rain counter and Today's Rain in Today's Rain Editor doesn't match the dashboard (and my customised website's display). The values in Today's Rain Editor and the dayfiles/Jan22log.txt are spot on for this years & month's observed rainfall.

Nothing jumps out to me from the log files, I'm running Cumulus MX 3.13.3 b3148 (a bit old I know), but I see nothing in the update logs about such a rainfall issue.
Screenshot 2022-01-04 222236.jpg
Screenshot 2022-01-04 222705.jpg
Screenshot 2022-01-04 222209.jpg

My Dayfile and monthly logfile seem correct too.
Screenshot 2022-01-04 224412.jpg
Screenshot 2022-01-04 224238.jpg


Also, as a tangent - I attach some screenshots of my customised site I'm working on.. I'm aiming for a text-heavy streamlined site for a custom display unit on my Pi Logger. It still needs some further aesthetics work to the charts, but is live and functioning.
Custom Tiles.jpg
Rain Trends.jpg
Temp Trends.jpg
You do not have the required permissions to view the files attached to this post.
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: Annual and Monthly Rainfall not displaying correct values

Post by mcrossley »

Can you zip up and attach your MXdiags folder? Thanks
User avatar
whitling2k
Posts: 45
Joined: Thu 22 Jul 2021 8:03 pm
Weather Station: Ecowitt GW1103
Operating System: Raspberry PiOS
Contact:

Re: Annual and Monthly Rainfall not displaying correct values

Post by whitling2k »

Of course :-)
MXdiags.zip
You do not have the required permissions to view the files attached to this post.
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: Annual and Monthly Rainfall not displaying correct values

Post by mcrossley »

It looks like everything was working fine until your run of CMX starting at 2022-01-04 11:11:54

Then it could not read the values from dayfile.

Your screen shots show you have the dayfile open in spreadsheet package and that has changed the date formats. I suspect you have saved the dayfile from the spreadsheet and corrupted the previous entries so CMX can only read the rainfall from the last day (or two now) that have been added since.

Editing the dayfile in a spreadsheet and saving it back again is a REALLY BAD IDEA, please use a decent text editor instead.
User avatar
whitling2k
Posts: 45
Joined: Thu 22 Jul 2021 8:03 pm
Weather Station: Ecowitt GW1103
Operating System: Raspberry PiOS
Contact:

Re: Annual and Monthly Rainfall not displaying correct values

Post by whitling2k »

Spot on, thanks for your reply. :-)

I was changing the windspeed from m/s to mph, and did the calculations in the day file. Which I did in Excel.

A momentary lapse in concentration when extracting and saving the dayfile back to text meant I forgot to de-convert the year format back.

It's a rare error for me. I rarely work on live data, choosing to take a copy, make the changes, then recommit the changed files back once validated. But I took a shortcut today.

Thanks for your help - it's now all resolved.
Post Reply