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

Rainfall error

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
HansR
Posts: 5966
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Rainfall error

Post by HansR »

On the 5th of January at 9h00 - 9h02 something strange happens with the rainfall counters in the monthly logfile while no rain fell at all:

Code: Select all

05-01-20;09:00;5,0;96;4,4;1,3;4,8;263;0,0;0,0;1032,82;6,6;19,7;50;0,0;5,0;5,0;0,0;0;0,08;0,25;3,5;1;0,0;263;0,0;0,0
05-01-20;09:01;5,0;96;4,4;1,4;3,2;265;0,0;0,0;1032,78;0,0;19,7;50;3,2;5,0;5,0;0,0;0;0,00;0,00;3,5;1;0,0;270;0,0;0,0
05-01-20;09:02;5,0;96;4,4;0,4;3,2;264;0,0;6,6;1032,82;6,6;19,7;50;1,6;5,0;5,0;0,0;0;0,25;0,25;3,7;1;0,0;263;0,0;6,6
05-01-20;09:03;5,0;96;4,4;0,2;3,2;264;0,0;6,6;1032,88;6,6;19,8;50;0,0;5,0;5,0;0,0;0;0,25;0,25;3,7;2;0,0;263;0,0;6,6
05-01-20;09:04;5,0;96;4,4;0,1;3,2;264;0,0;6,6;1032,88;6,6;19,8;50;3,2;5,0;5,0;0,0;0;0,25;0,25;3,7;2;0,0;263;0,0;6,6
As a consequence may daily value was set to 6.6 and thus my record etc...
At 9h00 I do a shutdown for a daily backup of the whole CumulusMX directory tree to my NAS.
The MXdiags shows something strange while restarting.

Attached you find the monthly logfile and the MXdiags of the restart.
Let me know if you need more info.

I will restart with the backup prior to the problem so hopefully the problem will not reappear.
I did the restart and the rain does not appear so from my data point of view the problem is gone, from a code point of view this seems to be an error somewhere.
You do not have the required permissions to view the files attached to this post.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12767
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Rainfall error

Post by mcrossley »

Thanks for the report, I think I see the issue, but that bit of code at startup is convoluted...
User avatar
HansR
Posts: 5966
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Rainfall error

Post by HansR »

Guess you mean this sequence:

Code: Select all

			GetRainCounter();
			GetRainFallTotals();
:?: :?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12767
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Rainfall error

Post by mcrossley »

Yeah, it's what those functions do with the various counters though.

Could you email me the backup of the ini files that produced the error?
Post Reply