Page 1 of 1

Rain constantly missing (ignoring rollover)

Posted: Sun 28 May 2023 4:03 pm
by dany.spy
Hello everyone,

I'm running CumulusMX 3.25.1 b3244 on a Raspberry PI4 since a couple week, with a station configured as "Ecowitt" (Froggit WH3000SE PRO).
The communication between the station and the software is ok, but I keep having trouble with the rain.
It already happened twice: when it's raining from evening to the next morning, from midnight I see the total rain reset to 0. Even if there's a two-days pause and then it rains again, counter remains 0.
And it keeps going that way until I close the SW, delete the "data" folder content and restart the software.
That is frustrating.
Checking out the diag file, I keep seeing:

DoRain: A reading arrived at the start of a new day, but before we have done the roll-over. Ignoring it

What am I missing?

Re: Rain constantly missing (ignoring rollover)

Posted: Sun 28 May 2023 8:50 pm
by kletteroli
did you check that the time zone setting on the froggit is the same as on the Raspi?

Re: Rain constantly missing (ignoring rollover)

Posted: Mon 29 May 2023 6:45 am
by dany.spy
Yes, both Timezones are Europe-Rome

Re: Rain constantly missing (ignoring rollover)

Posted: Mon 29 May 2023 8:50 am
by dany.spy
Attached the DIAG file

Re: Rain constantly missing (ignoring rollover)

Posted: Mon 29 May 2023 9:27 am
by freddie
We could do with a DIAG file that covers the midnight rollover time.

I spotted this in the supplied DIAG file:

Code: Select all

2023-05-27 12:00:00.410 !!! Unhandled Exception !!!
2023-05-27 12:00:00.411 Current CPU temp = 49,7°C
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
So it looks as if you are having system resource shortages at times. Do you have anything else running on the same host as CumulusMX?

Re: Rain constantly missing (ignoring rollover)

Posted: Mon 29 May 2023 1:31 pm
by HansR
Increase the size of the swapfile to double the amount of physical ram and try again.

Re: Rain constantly missing (ignoring rollover)

Posted: Mon 29 May 2023 4:33 pm
by dany.spy
Sorry guys, I didn't notice the system exception. :groan:
As suggested, I increased the swap file... and I'll let you know how it will go. Of course now there are sunny days, so it might take a while! :D